:root {
  --ink: #1c2a22;
  --ink-soft: #35453a;
  --green: #173d2c;
  --green-2: #245540;
  --green-3: #2f6a51;
  --paper: #f5f0e5;
  --paper-2: #efe7d8;
  --cream: #fbf7ee;
  --white: #fffdf8;
  --line: #ded5c5;
  --line-dark: rgba(255, 253, 248, .18);
  --muted: #747a72;
  --muted-2: #969a91;
  --accent: #b6442e;
  --gold: #b2884d;
  --gold-soft: #d9c19a;
  --ok: #2e6b4f;
  --warn: #a86a24;
  --shadow: 0 18px 50px rgba(42, 33, 22, .08);
  --shadow-lg: 0 30px 80px rgba(29, 25, 17, .16);
  --radius: 18px;
  --radius-sm: 12px;
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif SC", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  background:
    radial-gradient(900px 500px at 10% 0%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(700px 420px at 100% 20%, rgba(218,203,177,.22), transparent 60%),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.25; letter-spacing: -.03em; }
h1 { font-size: clamp(38px, 5vw, 62px); }
h2 { font-size: clamp(28px, 3.2vw, 42px); }
h3 { font-size: 21px; }
p { color: var(--ink-soft); }
::selection { background: var(--green); color: var(--cream); }
.container { width: min(1180px, calc(100% - 56px)); margin: 0 auto; }
.muted { color: var(--muted); }
.block { display: block; }
.eyebrow {
  font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.eyebrow.light { color: var(--gold-soft); }
.icon { width: 19px; height: 19px; flex: 0 0 auto; vertical-align: -3px; }
.skip-link { position: absolute; left: -999px; top: 10px; z-index: 99; background: var(--green); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 10px; }

/* announcement + header */
.announcement { background: var(--green); color: rgba(255,253,248,.78); font-size: 12.5px; letter-spacing: .02em; }
.announcement-inner { display: flex; justify-content: space-between; align-items: center; min-height: 34px; gap: 20px; }
.announcement a { color: var(--cream); border-bottom: 1px solid rgba(255,253,248,.28); }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-soft); margin-right: 7px; vertical-align: 1px; }
.site-header {
  position: sticky; top: 0; z-index: 40; background: rgba(245,240,229,.9);
  border-bottom: 1px solid rgba(222,213,197,.8); backdrop-filter: blur(16px);
}
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--serif); font-size: 21px; letter-spacing: .06em; }
.brand-text small { font-size: 8.5px; letter-spacing: .16em; color: var(--muted); margin-top: 3px; }
.brand.light .brand-text strong, .brand.light { color: var(--cream); }
.brand.light .brand-text small { color: rgba(255,253,248,.55); }
.main-nav { display: flex; gap: 26px; margin-left: auto; font-size: 14px; }
.main-nav a { position: relative; color: var(--ink-soft); padding: 8px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: 2px; width: 0; height: 1px; background: var(--accent); transition: width .25s ease; }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--ink); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: 10px; }
.icon-btn { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--ink-soft); transition: background .2s; }
.icon-btn:hover { background: rgba(23,61,44,.08); }
.cart-btn { display: inline-flex; align-items: center; gap: 5px; height: 38px; padding: 0 13px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; background: rgba(255,253,248,.55); }
.cart-btn span { min-width: 17px; height: 17px; display: inline-flex; align-items: center; justify-content: center; background: var(--green); color: var(--cream); border-radius: 50%; font-size: 10px; }
.user-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; padding: 8px 12px; border-radius: 999px; background: rgba(23,61,44,.07); }
.login-link { font-size: 13px; color: var(--ink-soft); padding: 8px 4px; }
.menu-toggle { display: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px;
  font-size: 13.5px; font-weight: 650; letter-spacing: .01em; white-space: nowrap;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 17px; height: 17px; }
.btn-dark { background: var(--green); color: var(--cream); box-shadow: 0 8px 20px rgba(23,61,44,.16); }
.btn-dark:hover { background: var(--green-2); }
.btn-outline { border-color: var(--line); background: rgba(255,253,248,.45); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); background: var(--white); }
.btn-light { background: var(--cream); color: var(--green); }
.btn-light:hover { background: #fff; }
.btn-ghost { background: transparent; color: var(--ink-soft); border-color: transparent; }
.btn-ghost:hover { background: rgba(23,61,44,.06); }
.btn-sm { min-height: 34px; padding: 0 13px; font-size: 12px; }
.btn-lg { min-height: 52px; padding: 0 27px; font-size: 14.5px; }
.btn-block { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-weight: 650; font-size: 13.5px; border-bottom: 1px solid rgba(23,61,44,.22); padding-bottom: 2px; }
.text-link .icon { width: 16px; height: 16px; transition: transform .2s; }
.text-link:hover .icon { transform: translateX(3px); }

/* footer */
.site-footer { margin-top: 0; background: #132f23; color: rgba(255,253,248,.74); padding-top: 64px; }
.footer-main { display: grid; grid-template-columns: 1.6fr .75fr .9fr 1.1fr; gap: 46px; padding-bottom: 48px; }
.footer-brand p { color: rgba(255,253,248,.58); max-width: 320px; margin: 18px 0; font-size: 13px; }
.footer-badges { display: flex; gap: 15px; flex-wrap: wrap; font-size: 11.5px; color: rgba(255,253,248,.62); }
.footer-badges span { display: inline-flex; align-items: center; gap: 5px; }
.footer-badges .icon { width: 14px; height: 14px; color: var(--gold-soft); }
.footer-col h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .12em; color: var(--cream); margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; color: rgba(255,253,248,.58); font-size: 12.5px; margin: 0 0 10px; }
.footer-col a:hover { color: var(--cream); }
.footer-contact p { display: flex; gap: 8px; align-items: flex-start; line-height: 1.6; }
.footer-contact .icon { width: 15px; height: 15px; margin-top: 2px; color: var(--gold-soft); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0 26px; border-top: 1px solid rgba(255,253,248,.12); font-size: 11px; color: rgba(255,253,248,.4); }
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-end; }
.footer-legal a:hover { color: var(--cream); }

/* common sections */
.section { padding: 88px 0; }
.section-soft { background: rgba(233,224,207,.52); border-top: 1px solid rgba(222,213,197,.55); border-bottom: 1px solid rgba(222,213,197,.55); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.section-head h2 { margin-bottom: 0; max-width: 740px; }
.section-head.center { text-align: center; justify-content: center; }
.section-head.center p { max-width: 650px; margin: 14px auto 0; }
.page-hero { padding: 74px 0 56px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,253,248,.35), transparent); }
.page-hero h1 { max-width: 900px; margin-bottom: 16px; }
.page-hero p { max-width: 700px; font-size: 16px; color: var(--muted); }
.page-hero-actions { margin-top: 24px; }

/* home hero */
.home-hero { padding: 76px 0 70px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 54px; align-items: center; }
.hero-copy h1 { font-size: clamp(44px, 5.8vw, 72px); margin: 12px 0 24px; }
.hero-copy h1 em { font-style: normal; color: var(--accent); position: relative; }
.hero-copy h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 8px; background: rgba(182,68,46,.12); z-index: -1; }
.hero-lede { max-width: 590px; font-size: 16.5px; line-height: 1.85; color: #4d5a50; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 28px; font-size: 11.5px; color: var(--muted); }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust .icon { width: 15px; height: 15px; color: var(--green-3); }
.hero-visual { position: relative; }
.board-card { background: linear-gradient(145deg, #1c4935, #102c21 70%); color: var(--cream); border-radius: 26px; padding: 26px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.1); }
.board-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; letter-spacing: .04em; color: rgba(255,253,248,.66); }
.live-dot { width: 7px; height: 7px; background: #8fc7a4; border-radius: 50%; display: inline-block; margin-right: 7px; box-shadow: 0 0 0 4px rgba(143,199,164,.13); }
.board-date { font-family: var(--serif); color: var(--gold-soft); font-size: 13px; }
.board-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 26px 0 22px; border-bottom: 1px solid rgba(255,253,248,.14); }
.board-stats strong { display: block; font-family: var(--serif); font-size: 36px; line-height: 1.1; font-weight: 500; }
.board-stats span { font-size: 10.5px; color: rgba(255,253,248,.55); }
.board-label { margin: 18px 0 8px; font-size: 10px; letter-spacing: .18em; color: rgba(255,253,248,.4); text-transform: uppercase; }
.board-orders { display: grid; gap: 8px; }
.board-order { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(255,253,248,.08); }
.order-avatar { width: 30px; height: 30px; border-radius: 9px; background: rgba(255,253,248,.1); display: grid; place-items: center; font-family: var(--serif); font-size: 13px; color: var(--gold-soft); }
.board-order strong { display: block; font-size: 11.5px; font-weight: 500; }
.board-order small { display: block; font-size: 9.5px; color: rgba(255,253,248,.45); margin-top: 2px; }
.board-order-right { text-align: right; }
.board-order-right strong { font-family: var(--sans); font-size: 12px; }
.board-order-right .badge { margin-top: 4px; font-size: 9px; padding: 2px 7px; }
.board-foot { display: flex; align-items: center; gap: 7px; margin-top: 16px; font-size: 9.5px; color: rgba(255,253,248,.42); }
.board-foot .icon { width: 14px; height: 14px; color: #8fc7a4; }
.float-note { position: absolute; display: flex; align-items: center; gap: 9px; background: rgba(255,253,248,.94); border: 1px solid rgba(222,213,197,.8); border-radius: 12px; padding: 10px 13px; box-shadow: var(--shadow); backdrop-filter: blur(8px); animation: float 5s ease-in-out infinite; }
.float-note-a { left: -38px; top: 42px; }
.float-note-b { right: -26px; bottom: 34px; animation-delay: 1.4s; }
.float-note > span { width: 28px; height: 28px; border-radius: 50%; background: rgba(23,61,44,.08); display: grid; place-items: center; color: var(--green); }
.float-note .icon { width: 14px; height: 14px; }
.float-note strong { display: block; font-size: 11px; }
.float-note small { font-size: 9.5px; color: var(--muted); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,253,248,.34); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.trust-grid > div { display: grid; grid-template-columns: 30px 1fr; column-gap: 10px; padding: 22px 24px; border-right: 1px solid var(--line); align-items: center; }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid .icon { width: 22px; height: 22px; color: var(--green-3); grid-row: span 2; }
.trust-grid strong { font-size: 12.5px; }
.trust-grid span { font-size: 10.5px; color: var(--muted); }

/* categories */
.category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.category-card { background: rgba(255,253,248,.6); border: 1px solid var(--line); border-radius: 14px; padding: 22px 18px; display: flex; flex-direction: column; gap: 6px; transition: background .2s, transform .2s, border-color .2s; min-height: 170px; }
.category-card:hover { background: var(--white); transform: translateY(-3px); border-color: #c8bba6; }
.category-icon { width: 38px; height: 38px; border-radius: 50%; background: rgba(23,61,44,.07); color: var(--green); display: grid; place-items: center; margin-bottom: 8px; }
.category-icon .icon { width: 19px; height: 19px; }
.category-name { font-family: var(--serif); font-size: 20px; font-weight: 600; }
.category-desc { font-size: 11px; color: var(--muted); }
.category-count { margin-top: auto; display: flex; align-items: center; gap: 5px; font-size: 10.5px; color: var(--gold); }
.category-count .icon { width: 13px; height: 13px; }

/* product cards */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card { background: rgba(255,253,248,.76); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: transform .25s, box-shadow .25s, background .25s; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); background: var(--white); }
.product-media { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #e8e1d3; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-media img { transform: scale(1.035); }
.product-cat { position: absolute; left: 12px; top: 12px; background: rgba(255,253,248,.9); backdrop-filter: blur(6px); color: var(--green); border-radius: 999px; padding: 4px 9px; font-size: 10px; letter-spacing: .04em; }
.product-body { padding: 17px 18px 18px; }
.product-meta { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); margin-bottom: 6px; }
.product-body h3 { font-size: 18px; margin-bottom: 7px; }
.product-body h3 a:hover { color: var(--green-2); }
.product-body p { font-size: 12px; line-height: 1.65; color: var(--muted); min-height: 40px; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(222,213,197,.65); padding-top: 12px; }
.price { font-family: var(--serif); font-size: 23px; font-weight: 600; color: var(--ink); }
.price small { font-family: var(--sans); font-size: 10px; color: var(--muted); font-weight: 400; }
.round-link { width: 33px; height: 33px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--green); transition: background .2s, color .2s; }
.round-link:hover { background: var(--green); color: var(--cream); }
.round-link .icon { width: 15px; height: 15px; }

/* steps + merchant band */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card { border-top: 1px solid var(--ink); padding-top: 18px; }
.step-no { font-family: var(--serif); font-size: 12px; color: var(--gold); letter-spacing: .08em; }
.step-card h3 { font-size: 18px; margin: 12px 0 8px; }
.step-card p { font-size: 12.5px; line-height: 1.7; color: var(--muted); }
.merchant-band { background: linear-gradient(120deg, #133125, #1d4936); color: var(--cream); padding: 78px 0; }
.merchant-band-inner { display: grid; grid-template-columns: 1.25fr .75fr; gap: 60px; align-items: center; }
.merchant-band h2 { color: var(--cream); margin-bottom: 18px; }
.merchant-band p { color: rgba(255,253,248,.62); max-width: 650px; }
.merchant-points { display: flex; gap: 18px; flex-wrap: wrap; margin: 20px 0 26px; font-size: 11.5px; color: rgba(255,253,248,.72); }
.merchant-points span { display: inline-flex; align-items: center; gap: 5px; }
.merchant-points .icon { width: 14px; height: 14px; color: #9fceb1; }
.merchant-quote { border-left: 1px solid rgba(255,253,248,.2); padding-left: 40px; }
.quote-mark { font-family: var(--serif); font-size: 70px; line-height: .7; color: var(--gold-soft); opacity: .5; }
.merchant-quote p { font-family: var(--serif); font-size: 22px; line-height: 1.6; color: rgba(255,253,248,.86); }
.merchant-quote span { font-size: 11px; color: rgba(255,253,248,.45); }

/* compliance */
.compliance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.compliance-card { display: block; background: rgba(255,253,248,.55); border: 1px solid var(--line); border-radius: 16px; padding: 26px; transition: background .2s, transform .2s; }
.compliance-card:hover { background: var(--white); transform: translateY(-3px); }
.compliance-card > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(23,61,44,.07); color: var(--green); margin-bottom: 20px; }
.compliance-card h3 { font-size: 19px; }
.compliance-card p { font-size: 12px; color: var(--muted); line-height: 1.7; min-height: 62px; }
.compliance-card em { display: inline-flex; align-items: center; gap: 5px; font-style: normal; font-size: 11px; color: var(--green); border-bottom: 1px solid rgba(23,61,44,.2); padding-bottom: 2px; }

/* market */
.market-section { padding-top: 42px; }
.market-toolbar { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.search-form { display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 16px; width: min(520px, 100%); }
.search-form .icon { color: var(--muted); width: 18px; height: 18px; }
.search-form input { flex: 1; border: 0; background: transparent; outline: none; font-size: 13px; min-width: 0; }
.sort-form select { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 11px 15px; font-size: 12px; }
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0 18px; }
.filter-pill { border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 12px; color: var(--muted); background: rgba(255,253,248,.4); }
.filter-pill span { font-size: 10px; opacity: .6; margin-left: 3px; }
.filter-pill.active { background: var(--green); color: var(--cream); border-color: var(--green); }
.result-meta { display: flex; gap: 12px; align-items: center; font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.result-meta strong { color: var(--ink); }
.empty-state { text-align: center; padding: 80px 20px; border: 1px dashed var(--line); border-radius: 18px; background: rgba(255,253,248,.4); }
.empty-state > span { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: rgba(23,61,44,.07); color: var(--green); }
.empty-state h3 { font-size: 22px; }
.empty-state p { color: var(--muted); font-size: 13px; }
.empty-state.small { padding: 30px; border: 0; background: transparent; }

/* product detail */
.product-page { padding: 34px 0 90px; }
.breadcrumbs { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 11px; color: var(--muted); margin-bottom: 24px; }
.breadcrumbs a:hover { color: var(--ink); }
.product-detail { display: grid; grid-template-columns: 1.02fr .98fr; gap: 50px; align-items: start; }
.product-gallery { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--white); }
.product-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-caption { display: flex; align-items: center; gap: 6px; font-size: 10px; color: var(--muted); padding: 11px 15px; border-top: 1px solid var(--line); }
.gallery-caption .icon { width: 14px; height: 14px; color: var(--green-3); }
.product-kicker { font-size: 11px; letter-spacing: .08em; color: var(--gold); text-transform: uppercase; margin-bottom: 12px; }
.product-info h1 { font-size: clamp(30px, 3.4vw, 46px); margin-bottom: 14px; }
.product-summary { font-size: 14px; color: var(--muted); line-height: 1.8; margin-bottom: 20px; }
.detail-price { font-family: var(--serif); font-size: 40px; color: var(--accent); font-weight: 600; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-price small { font-family: var(--sans); font-size: 11px; color: var(--muted); font-weight: 400; }
.detail-meta { display: flex; gap: 18px; flex-wrap: wrap; padding: 14px 0; font-size: 11px; color: var(--muted); }
.buy-panel { display: flex; gap: 10px; align-items: center; margin: 12px 0 16px; flex-wrap: wrap; }
.qty-control { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; height: 50px; background: var(--white); }
.qty-control button { width: 36px; height: 100%; border: 0; background: transparent; font-size: 18px; color: var(--muted); }
.qty-control input { width: 42px; border: 0; text-align: center; background: transparent; outline: none; font-size: 13px; }
.buy-assurance { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 10.5px; color: var(--muted); }
.buy-assurance span { display: inline-flex; align-items: center; gap: 5px; }
.buy-assurance .icon { width: 14px; height: 14px; color: var(--green-3); }
.detail-grid { display: grid; grid-template-columns: 1fr 300px; gap: 40px; margin-top: 64px; }
.tab-head { display: flex; gap: 24px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.tab-btn { border: 0; background: transparent; padding: 12px 0; font-size: 13.5px; color: var(--muted); position: relative; }
.tab-btn.active { color: var(--ink); font-weight: 650; }
.tab-btn.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--green); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel h2 { font-size: 26px; }
.tab-panel h3 { font-size: 17px; margin-top: 26px; }
.tab-panel p { font-size: 13.5px; line-height: 1.9; }
.check-list { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 22px; font-size: 13px; color: var(--ink-soft); line-height: 1.75; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.check-list.large li { font-size: 13.5px; margin-bottom: 4px; }
.merchant-facts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; font-size: 11px; color: var(--muted); }
.aside-card { border: 1px solid var(--line); background: rgba(255,253,248,.55); border-radius: 16px; padding: 22px; margin-bottom: 14px; }
.aside-card h3 { font-size: 18px; }
.aside-card p { font-size: 12px; color: var(--muted); line-height: 1.7; }
.aside-card.soft { background: rgba(233,224,207,.5); }
.mini-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 9px; }
.mini-list li { display: flex; gap: 7px; align-items: flex-start; font-size: 11.5px; color: var(--ink-soft); }
.mini-list .icon { width: 15px; height: 15px; color: var(--green-3); margin-top: 2px; }
.related-head { margin-top: 70px; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: start; }
.about-copy h2 { margin-bottom: 20px; }
.about-copy p { font-size: 14px; line-height: 1.95; color: #4e5b51; }
.about-actions { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.about-facts { border: 1px solid var(--line); background: rgba(255,253,248,.56); border-radius: 16px; padding: 8px 24px; }
.about-facts > div { display: grid; grid-template-columns: 100px 1fr; gap: 15px; padding: 15px 0; border-bottom: 1px solid rgba(222,213,197,.7); font-size: 12px; }
.about-facts > div:last-child { border-bottom: 0; }
.about-facts span { color: var(--muted); }
.about-facts strong { font-weight: 600; line-height: 1.6; }
.model-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.model-card { border-top: 1px solid var(--ink); padding-top: 18px; }
.model-card > span { font-family: var(--serif); color: var(--gold); font-size: 12px; }
.model-card h3 { font-size: 18px; margin: 12px 0 8px; }
.model-card p { font-size: 12px; color: var(--muted); line-height: 1.75; }
.muted-card { opacity: .72; }
.split-contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; }
.contact-card { border: 1px solid var(--line); border-radius: 16px; background: rgba(255,253,248,.58); padding: 10px 24px; }
.contact-card > div { display: flex; gap: 12px; align-items: flex-start; padding: 15px 0; border-bottom: 1px solid rgba(222,213,197,.7); }
.contact-card > div:last-child { border-bottom: 0; }
.contact-card > div > .icon { width: 18px; height: 18px; color: var(--green-3); margin-top: 3px; }
.contact-card small { display: block; font-size: 10px; color: var(--muted); }
.contact-card strong, .contact-card a { font-size: 12.5px; font-weight: 500; line-height: 1.6; }

/* qualifications */
.qual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.qual-card { border: 1px solid var(--line); background: rgba(255,253,248,.55); border-radius: 16px; padding: 20px; }
.qual-head { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.qual-head > span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(23,61,44,.07); color: var(--green); }
.qual-head h3 { font-size: 18px; margin: 0 0 2px; }
.qual-head p { font-size: 11px; color: var(--muted); margin: 0; }
.qual-image { display: block; border: 1px solid var(--line); background: #e9e3d6; border-radius: 10px; overflow: hidden; }
.qual-image img { width: 100%; height: 260px; object-fit: contain; object-position: center; }
.qual-meta { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; font-size: 10.5px; color: var(--muted); }
.qual-meta strong { color: var(--ink); font-weight: 500; }
.license-list { border: 1px solid var(--line); border-radius: 14px; margin-top: 26px; background: rgba(255,253,248,.45); }
.license-row { display: grid; grid-template-columns: 230px 1fr auto; gap: 16px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 12px; }
.license-row:last-child { border-bottom: 0; }
.license-row > span:first-child { color: var(--muted); }
.license-row strong { font-weight: 600; }
.license-row a { display: inline-flex; align-items: center; gap: 4px; color: var(--green); font-size: 11px; }
.notice-card { margin-top: 26px; border-left: 3px solid var(--gold); background: rgba(233,224,207,.5); padding: 20px 22px; border-radius: 0 10px 10px 0; }
.notice-card strong { display: flex; align-items: center; gap: 7px; font-size: 13px; }
.notice-card p { margin: 8px 0 0; font-size: 12px; color: var(--muted); line-height: 1.8; }
.notice-card.compact { margin-top: 22px; }
.cert-mark { display: flex; gap: 26px; align-items: center; margin-top: 30px; border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: rgba(255,253,248,.5); }
.cert-mark img { width: 120px; height: 120px; object-fit: contain; }
.cert-mark h3 { font-size: 20px; margin-bottom: 6px; }
.cert-mark p { font-size: 12px; color: var(--muted); margin: 0; }

/* legal */
.legal-page { padding: 50px 0 90px; }
.legal-layout { display: grid; grid-template-columns: 245px 1fr; gap: 60px; align-items: start; }
.legal-nav { position: sticky; top: 110px; }
.legal-nav h2 { font-size: 27px; margin-bottom: 20px; }
.legal-nav nav { display: grid; }
.legal-nav nav a { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.legal-nav nav a.active { color: var(--ink); font-weight: 650; }
.legal-nav nav a .icon { width: 14px; height: 14px; opacity: .5; }
.legal-help { margin-top: 26px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,253,248,.5); }
.legal-help p { font-size: 11px; color: var(--muted); margin: 0 0 8px; }
.legal-help a { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--green); }
.legal-doc { max-width: 780px; }
.legal-head h1 { font-size: 44px; margin: 0 0 8px; }
.legal-head p { font-size: 11px; color: var(--muted); }
.legal-intro { font-size: 14px; line-height: 1.9; padding: 18px 0 24px; border-bottom: 1px solid var(--line); }
.legal-doc section { padding: 20px 0 0; }
.legal-doc section h2 { font-family: var(--sans); font-size: 16px; letter-spacing: 0; margin-bottom: 8px; }
.legal-doc section p { font-size: 13px; line-height: 1.95; color: #4e5b51; }
.legal-foot { margin-top: 30px; padding: 18px 20px; border-left: 3px solid var(--gold); background: rgba(233,224,207,.45); font-size: 11.5px; color: var(--muted); }

/* auth */
.auth-page { padding: 42px 0 70px; }
.auth-shell { width: min(1080px, calc(100% - 56px)); margin: 0 auto; display: grid; grid-template-columns: .92fr 1.08fr; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.auth-aside { background: linear-gradient(145deg, #173d2c, #0f2a1f); color: var(--cream); padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.auth-aside .brand { margin-bottom: 50px; }
.auth-aside h1 { font-size: 39px; color: var(--cream); margin-bottom: 18px; }
.auth-aside p { color: rgba(255,253,248,.62); font-size: 13px; line-height: 1.8; }
.auth-aside ul { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 12px; }
.auth-aside li { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: rgba(255,253,248,.7); }
.auth-aside li .icon { width: 15px; height: 15px; color: #9fceb1; }
.auth-main { padding: 46px 54px 40px; }
.auth-tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.auth-tabs a { padding: 0 0 12px; font-size: 14px; color: var(--muted); position: relative; }
.auth-tabs a.active { color: var(--ink); font-weight: 650; }
.auth-tabs a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--green); }
.auth-main h2 { font-size: 29px; margin-bottom: 4px; }
.auth-sub { font-size: 12px; color: var(--muted); margin-bottom: 24px; }
.form { display: grid; gap: 15px; }
.form label { display: grid; gap: 6px; font-size: 11.5px; color: var(--muted); }
.form label > span { display: flex; align-items: center; gap: 4px; }
.form label em { font-style: normal; font-size: 9px; opacity: .6; }
.form input, .form select, .form textarea {
  width: 100%; border: 1px solid var(--line); background: rgba(255,253,248,.7); border-radius: 9px;
  padding: 11px 13px; font-size: 13px; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--green-3); box-shadow: 0 0 0 3px rgba(47,106,81,.1); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-grid .span-2 { grid-column: span 2; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check-label { display: flex !important; grid-template-columns: none !important; flex-direction: row; align-items: flex-start; gap: 8px !important; font-size: 10.5px !important; line-height: 1.65; color: var(--muted); }
.check-label input { width: 14px; height: 14px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--green); }
.check-label a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.form-error { background: rgba(182,68,46,.09); border: 1px solid rgba(182,68,46,.2); color: #87301f; border-radius: 8px; padding: 10px 12px; font-size: 11.5px; margin-bottom: 4px; }
.form-success { display: flex; align-items: center; gap: 7px; background: rgba(46,107,79,.09); border: 1px solid rgba(46,107,79,.2); color: var(--ok); border-radius: 8px; padding: 10px 12px; font-size: 11.5px; margin-bottom: 14px; }
.auth-foot { text-align: center; margin-top: 18px; font-size: 11px; color: var(--muted); }
.auth-foot a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }

/* account */
.account-page { padding: 46px 0 90px; }
.account-layout { display: grid; grid-template-columns: 230px 1fr; gap: 38px; align-items: start; }
.account-side { border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: rgba(255,253,248,.52); position: sticky; top: 100px; }
.account-person { display: flex; gap: 11px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: var(--cream); display: grid; place-items: center; font-family: var(--serif); font-size: 18px; }
.account-person strong { display: block; font-size: 13px; }
.account-person small { display: block; font-size: 10px; color: var(--muted); margin-top: 2px; }
.account-side nav { display: grid; margin: 14px 0; }
.account-side nav a { padding: 9px 0; font-size: 12px; color: var(--muted); border-bottom: 1px solid rgba(222,213,197,.55); }
.account-side nav a.active, .account-side nav a:hover { color: var(--ink); }
.link-button { border: 0; background: transparent; padding: 8px 0; font-size: 11px; color: var(--muted); text-align: left; }
.account-main { min-width: 0; }
.account-head, .page-title-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 26px; }
.account-head h1, .page-title-row h1 { font-size: 40px; margin: 0 0 4px; }
.account-head p, .page-title-row p { font-size: 12px; color: var(--muted); margin: 0; }
.account-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.account-stats > div { background: rgba(255,253,248,.6); border: 1px solid var(--line); border-radius: 13px; padding: 17px 18px; }
.account-stats strong { display: block; font-family: var(--serif); font-size: 28px; font-weight: 600; line-height: 1.2; }
.account-stats span { font-size: 10.5px; color: var(--muted); }
.panel { background: rgba(255,253,248,.6); border: 1px solid var(--line); border-radius: 15px; padding: 22px; margin-bottom: 18px; min-width: 0; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.panel-head h2 { font-size: 22px; margin: 0; }
.panel-head h3 { margin: 0; }
.panel > p { font-size: 12px; color: var(--muted); }

/* tables */
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.data-table th { text-align: left; font-weight: 500; color: var(--muted); padding: 9px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.data-table td { padding: 12px 10px; border-bottom: 1px solid rgba(222,213,197,.55); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tr:hover td { background: rgba(23,61,44,.025); }
.mono-link { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10.5px; color: var(--green); }
.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 3px 8px; font-size: 9.5px; line-height: 1.4; white-space: nowrap; }
.badge-ok { background: rgba(46,107,79,.1); color: var(--ok); }
.badge-warn { background: rgba(168,106,36,.11); color: var(--warn); }
.badge-info { background: rgba(44,92,126,.1); color: #2c5c7e; }
.badge-muted { background: rgba(116,122,114,.12); color: var(--muted); }
.inline-form { display: inline-flex; gap: 6px; align-items: center; }
.inline-form select { border: 1px solid var(--line); border-radius: 7px; padding: 5px 6px; background: var(--white); font-size: 10px; }

/* cart */
.cart-page { padding: 54px 0 90px; }
.cart-layout { display: grid; grid-template-columns: 1fr 350px; gap: 26px; align-items: start; }
.cart-items { display: grid; gap: 10px; }
.cart-item { display: grid; grid-template-columns: 92px 1fr auto; gap: 16px; padding: 16px; background: rgba(255,253,248,.6); border: 1px solid var(--line); border-radius: 13px; align-items: center; }
.cart-item img { width: 92px; height: 76px; object-fit: cover; border-radius: 8px; background: #e9e1d3; }
.cart-item-info h3 { font-size: 16px; margin: 0 0 3px; }
.cart-item-info small { font-size: 10px; color: var(--muted); }
.cart-item-actions { display: flex; align-items: center; gap: 14px; }
.cart-qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.cart-qty button { width: 27px; height: 27px; border: 0; background: transparent; font-size: 14px; }
.cart-qty span { width: 28px; text-align: center; font-size: 11px; }
.cart-remove { border: 0; background: transparent; color: var(--muted); font-size: 10px; }
.cart-summary { position: sticky; top: 100px; background: var(--white); border: 1px solid var(--line); border-radius: 15px; padding: 24px; }
.cart-summary h2 { font-size: 23px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: 12px; color: var(--muted); }
.summary-row strong { color: var(--ink); font-weight: 600; }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 15px; font-size: 13px; }
.summary-row.total strong { font-family: var(--serif); font-size: 26px; color: var(--accent); }
.cart-empty { padding: 60px; text-align: center; border: 1px dashed var(--line); border-radius: 15px; background: rgba(255,253,248,.4); }
.cart-empty h2 { font-size: 25px; }
.cart-loading { padding: 40px; text-align: center; color: var(--muted); font-size: 12px; }
.fine { font-size: 10px; color: var(--muted); line-height: 1.7; }
.cart-summary .btn { margin-top: 12px; }
.cart-summary .checkout-back { display: block; text-align: center; margin-top: 12px; font-size: 11px; color: var(--muted); }

/* checkout */
.checkout-page { padding: 46px 0 90px; }
.checkout-layout { display: grid; grid-template-columns: 1fr 345px; gap: 26px; align-items: start; }
.checkout-main { min-width: 0; }
.checkout-items { display: grid; gap: 10px; }
.checkout-item { display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; align-items: center; }
.checkout-item img { width: 60px; height: 50px; object-fit: cover; border-radius: 7px; }
.checkout-item strong { font-size: 12px; display: block; }
.checkout-item small { font-size: 10px; color: var(--muted); }
.checkout-item > span { font-size: 12px; }
.checkout-aside { position: sticky; top: 100px; }
.summary-card { background: var(--white); border: 1px solid var(--line); border-radius: 15px; padding: 24px; }
.summary-card h2 { font-size: 23px; }
.pay-options { display: grid; gap: 10px; }
.pay-option { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; padding: 13px; cursor: pointer; }
.pay-option:has(input:checked) { border-color: var(--green-3); background: rgba(47,106,81,.04); }
.pay-option input { margin-top: 3px; accent-color: var(--green); }
.pay-option strong { display: block; font-size: 12px; }
.pay-option small { font-size: 10px; color: var(--muted); }

/* order */
.order-page { padding: 36px 0 90px; }
.order-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 24px; }
.order-head h1 { font-size: 34px; margin: 0 0 4px; }
.order-head p { font-size: 11px; color: var(--muted); margin: 0; }
.order-layout { display: grid; grid-template-columns: 1fr 310px; gap: 24px; align-items: start; }
.order-aside { position: sticky; top: 100px; }
.timeline { display: flex; gap: 0; flex-wrap: wrap; }
.timeline-item { display: flex; align-items: flex-start; gap: 9px; flex: 1; min-width: 130px; opacity: .45; }
.timeline-item.done { opacity: 1; }
.timeline-dot { width: 25px; height: 25px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 9px; flex: 0 0 auto; }
.timeline-item.done .timeline-dot { background: var(--green); color: var(--cream); border-color: var(--green); }
.timeline-dot .icon { width: 12px; height: 12px; }
.timeline-item strong { display: block; font-size: 11px; }
.timeline-item small { font-size: 9px; color: var(--muted); }
.order-items { display: grid; gap: 10px; }
.order-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid rgba(222,213,197,.55); }
.order-item img { width: 56px; height: 46px; border-radius: 6px; object-fit: cover; }
.order-item strong { font-size: 12px; display: block; }
.order-item small { font-size: 10px; color: var(--muted); }
.order-total { display: flex; justify-content: flex-end; gap: 15px; align-items: baseline; padding-top: 14px; font-size: 12px; }
.order-total strong { font-family: var(--serif); font-size: 26px; color: var(--accent); }
.address-block strong { font-size: 13px; margin-right: 10px; }
.address-block span { font-size: 11px; color: var(--muted); }
.address-block p { font-size: 12px; margin: 5px 0 0; }
.after-note { margin: 14px 0; padding: 12px; background: rgba(168,106,36,.06); border-radius: 8px; }
.after-note strong { font-size: 11px; }
.after-note p { font-size: 11px; margin: 4px 0 6px; }
.summary-card .btn { margin-bottom: 8px; }
.summary-card.soft { background: rgba(233,224,207,.5); margin-top: 12px; }

/* merchant page */
.merchant-value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.merchant-value { border-top: 1px solid var(--ink); padding-top: 20px; }
.merchant-value > span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(23,61,44,.07); color: var(--green); margin-bottom: 16px; }
.merchant-value h3 { font-size: 20px; }
.merchant-value p { font-size: 12px; color: var(--muted); line-height: 1.75; }
.merchant-apply-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: start; }
.apply-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); }
.apply-card h2 { font-size: 26px; margin-bottom: 18px; }
.apply-login { display: grid; gap: 12px; justify-items: start; padding: 18px 0; }
.application-status h3 { font-size: 20px; }
.application-status p { font-size: 12px; color: var(--muted); }
.merchant-apply-grid .notice-card { margin-top: 24px; }

/* help */
.help-layout { display: grid; grid-template-columns: 1fr 430px; gap: 60px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); padding: 17px 0; }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; cursor: pointer; list-style: none; font-size: 13.5px; font-weight: 550; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { width: 15px; height: 15px; color: var(--muted); transition: transform .2s; }
.faq-list details[open] summary .icon { transform: rotate(45deg); }
.faq-list p { font-size: 12.5px; color: var(--muted); line-height: 1.85; margin: 10px 30px 0 0; }
.help-contact { margin-top: 30px; display: grid; gap: 14px; }
.help-contact > div { display: flex; gap: 10px; align-items: flex-start; font-size: 11.5px; }
.help-contact .icon { width: 17px; height: 17px; color: var(--green-3); margin-top: 2px; }
.help-contact small { display: block; color: var(--muted); font-size: 10px; }
.support-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 28px; position: sticky; top: 100px; }
.support-card h2 { font-size: 26px; }
.support-card > p { font-size: 12px; color: var(--muted); margin-bottom: 18px; }

/* admin */
.admin-page { padding: 40px 0 90px; }
.admin-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 18px; }
.admin-head h1 { font-size: 36px; margin: 0; }
.admin-user { font-size: 11px; color: var(--muted); background: rgba(23,61,44,.06); border-radius: 999px; padding: 7px 12px; }
.admin-tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.admin-tabs a { padding: 10px 15px; font-size: 12px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.admin-tabs a.active { color: var(--ink); border-color: var(--green); font-weight: 600; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-bottom: 20px; }
.admin-stats > div { background: var(--white); border: 1px solid var(--line); border-radius: 13px; padding: 18px 20px; }
.admin-stats span { display: block; font-size: 10.5px; color: var(--muted); }
.admin-stats strong { display: block; font-family: var(--serif); font-size: 28px; line-height: 1.3; }
.admin-stats small { font-size: 9.5px; color: var(--muted-2); }
.admin-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 18px; }
.admin-list-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(222,213,197,.55); }
.admin-list-row:last-child { border-bottom: 0; }
.admin-list-row strong { display: block; font-size: 12px; }
.admin-list-row small { display: block; font-size: 9.5px; color: var(--muted); }
.cell-product { display: flex; align-items: center; gap: 9px; }
.cell-product img { width: 38px; height: 30px; object-fit: cover; border-radius: 5px; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--green); color: var(--cream); padding: 11px 18px; border-radius: 999px; font-size: 12px; opacity: 0; pointer-events: none; transition: all .3s ease; z-index: 100; box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* misc */
.notice-line { font-size: 11px; color: var(--muted); }
.form-section-title { font-size: 11px; letter-spacing: .1em; color: var(--gold); text-transform: uppercase; margin: 6px 0 2px; }
details > summary { outline: none; }
:focus-visible { outline: 2px solid var(--green-3); outline-offset: 3px; }

@media (max-width: 1060px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { gap: 34px; }
  .float-note-a { left: -12px; }
  .float-note-b { right: -8px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1.3fr .8fr .8fr; }
  .footer-contact { grid-column: span 2; }
  .admin-grid { grid-template-columns: 1fr; }
  .product-detail { gap: 30px; }
  .help-layout { grid-template-columns: 1fr 380px; gap: 34px; }
}

@media (max-width: 860px) {
  .container { width: min(100% - 36px, 720px); }
  .announcement-right { display: none; }
  .header-inner { min-height: 68px; gap: 10px; }
  .main-nav {
    display: none; position: absolute; left: 18px; right: 18px; top: 68px; background: var(--cream);
    border: 1px solid var(--line); border-radius: 14px; padding: 12px 18px; box-shadow: var(--shadow); flex-direction: column; gap: 0;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px 0; border-bottom: 1px solid rgba(222,213,197,.6); }
  .main-nav a:last-child { border-bottom: 0; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; gap: 4px; }
  .header-actions .login-link, .header-actions .btn { display: none; }
  .hero-grid, .about-grid, .split-contact, .merchant-band-inner, .merchant-apply-grid, .help-layout,
  .product-detail, .detail-grid, .legal-layout, .account-layout, .cart-layout, .checkout-layout,
  .order-layout, .auth-shell, .footer-main, .admin-grid { grid-template-columns: 1fr; }
  .home-hero { padding: 50px 0 40px; }
  .hero-copy h1 { font-size: clamp(38px, 10vw, 56px); }
  .hero-visual { margin-top: 20px; }
  .float-note-a { left: 6px; top: 14px; }
  .float-note-b { right: 6px; bottom: 14px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid > div:nth-child(2) { border-right: 0; }
  .trust-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid, .compliance-grid, .model-grid, .merchant-value-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 58px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .merchant-quote { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,253,248,.2); padding-top: 30px; }
  .legal-nav { position: static; }
  .legal-layout { gap: 28px; }
  .account-side { position: static; }
  .cart-summary, .checkout-aside, .order-aside, .support-card { position: static; }
  .footer-bottom { flex-direction: column; }
  .footer-legal { justify-content: flex-start; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .auth-aside { padding: 32px; }
  .auth-aside .brand { margin-bottom: 26px; }
  .auth-main { padding: 34px 30px; }
  .qual-grid { grid-template-columns: 1fr; }
  .license-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 16px; }
  .page-hero { padding: 50px 0 38px; }
  .product-page { padding-top: 22px; }
  .market-toolbar { flex-direction: column; align-items: stretch; }
  .search-form { width: 100%; }
  .sort-form select { width: 100%; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 28px); }
  .brand-text small { display: none; }
  .cart-btn { padding: 0 9px; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { gap: 10px 14px; }
  .board-card { padding: 20px; }
  .board-stats strong { font-size: 30px; }
  .float-note { display: none; }
  .trust-grid, .category-grid, .product-grid, .steps-grid, .compliance-grid, .model-grid,
  .merchant-value-grid, .account-stats, .form-grid, .form-row { grid-template-columns: 1fr; }
  .trust-grid > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-grid > div:last-child { border-bottom: 0; }
  .form-grid .span-2 { grid-column: auto; }
  .section-head h2 { font-size: 30px; }
  .product-grid { gap: 14px; }
  .account-head, .page-title-row, .order-head { flex-direction: column; align-items: flex-start; }
  .account-head h1, .page-title-row h1 { font-size: 32px; }
  .cart-item { grid-template-columns: 70px 1fr; }
  .cart-item img { width: 70px; height: 60px; }
  .cart-item-actions { grid-column: span 2; justify-content: space-between; }
  .timeline-item { flex: 0 0 50%; margin-bottom: 12px; }
  .merchant-band { padding: 50px 0; }
  .legal-head h1 { font-size: 34px; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .data-table { min-width: 620px; }
  .cert-mark { flex-direction: column; align-items: flex-start; }
  .auth-main { padding: 28px 20px; }
  .auth-aside h1 { font-size: 30px; }
}
