:root {
  --ink: #1d2b22;
  --ink-soft: #435348;
  --muted: #7c887e;
  --green: #1f3d2c;
  --green-deep: #172f22;
  --green-soft: #3d624b;
  --cream: #f7f1e6;
  --cream-deep: #efe5d4;
  --paper: #fffaf2;
  --white: #ffffff;
  --gold: #d9a441;
  --gold-deep: #b7822b;
  --orange: #e8843f;
  --line: #e6dccb;
  --line-dark: rgba(255, 255, 255, .14);
  --danger: #b64b3d;
  --success: #2e6a49;
  --shadow-sm: 0 6px 20px rgba(31, 46, 34, .06);
  --shadow-md: 0 18px 50px rgba(31, 46, 34, .10);
  --shadow-lg: 0 28px 80px rgba(24, 38, 28, .16);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --serif: "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(217, 164, 65, .28); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 999;
  background: var(--green); color: #fff; padding: 12px 18px; border-radius: 10px;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border: 1px solid transparent; border-radius: 999px;
  font-size: 14px; font-weight: 600; letter-spacing: .01em; line-height: 1;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 10px 24px rgba(31, 61, 44, .18); }
.btn-primary:hover { background: var(--green-deep); box-shadow: 0 14px 30px rgba(31, 61, 44, .25); }
.btn-ghost { border-color: rgba(31, 61, 44, .22); color: var(--green); background: transparent; }
.btn-ghost:hover { background: rgba(31, 61, 44, .06); border-color: rgba(31, 61, 44, .36); }
.btn-text { background: transparent; color: var(--ink-soft); padding-inline: 8px; }
.btn-text:hover { color: var(--green); }
.btn-lg { min-height: 52px; padding-inline: 26px; font-size: 15px; }
.btn-sm { min-height: 36px; padding-inline: 14px; font-size: 13px; }
.btn-xs { min-height: 32px; padding-inline: 12px; font-size: 12px; }
.btn-block { width: 100%; }
.btn-card { min-height: 40px; padding-inline: 18px; background: var(--ink); color: #fff; }
.btn-card:hover { background: var(--green); }
.text-link { color: var(--green); font-size: 13px; font-weight: 600; border-bottom: 1px solid rgba(31, 61, 44, .24); padding-bottom: 2px; }
.text-link:hover { border-color: var(--green); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* Shared type */
.section-kicker, .mini-kicker {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold-deep);
}
.section-kicker-light { color: #e4bd72; }
.section-kicker { margin-bottom: 12px; }
.mini-kicker { font-size: 10px; letter-spacing: .12em; }
.section-heading {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 48px;
  padding-bottom: 34px; border-bottom: 1px solid var(--line);
}
.section-heading h2, .service-head h2, .contact-inner h2 {
  font-family: var(--serif); font-size: clamp(28px, 3.2vw, 44px); line-height: 1.2;
  font-weight: 600; letter-spacing: -.02em; color: var(--green-deep);
}
.section-heading > p { max-width: 400px; color: var(--muted); font-size: 14px; line-height: 1.8; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; padding: 14px 0;
  background: rgba(247, 241, 230, .86); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(230, 220, 203, .7);
  transition: padding .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { padding: 8px 0; box-shadow: 0 10px 30px rgba(31, 46, 34, .07); }
.header-inner { display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  background: var(--green); color: #f1c46c; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.brand-mark svg { width: 30px; height: 30px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 20px; font-weight: 700; letter-spacing: .01em; color: var(--green-deep); }
.brand-sub { font-size: 9px; letter-spacing: .22em; color: var(--gold-deep); text-transform: uppercase; margin-top: 5px; }
.main-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.main-nav a { font-size: 14px; color: var(--ink-soft); position: relative; padding: 6px 0; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--green); transition: right .22s ease;
}
.main-nav a:hover::after { right: 0; }
.nav-mobile-admin { display: none; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-order-link {
  border: 1px solid rgba(31, 61, 44, .25); border-radius: 999px; padding: 9px 20px;
  font-size: 13px; font-weight: 600; color: var(--green); transition: background .2s, color .2s;
}
.header-order-link:hover { background: var(--green); color: #fff; }
.menu-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid rgba(31, 61, 44, .2);
  border-radius: 50%; background: transparent; padding: 11px;
}
.menu-toggle span { display: block; height: 1.5px; background: var(--green); margin: 4px 0; transition: transform .2s, opacity .2s; }

/* Flash */
.flash-stack { position: relative; z-index: 20; padding-top: 18px; }
.admin-flash { padding-top: 0; margin-bottom: 18px; }
.flash {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 13px 18px; border-radius: 12px; margin-bottom: 10px; font-size: 14px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.flash-success { border-color: rgba(46, 106, 73, .25); background: #f2f8f3; color: var(--success); }
.flash-error { border-color: rgba(182, 75, 61, .25); background: #fcf3f1; color: var(--danger); }
.flash-close { border: 0; background: transparent; font-size: 20px; line-height: 1; color: currentColor; opacity: .55; padding: 0 4px; }
.flash-close:hover { opacity: 1; }

/* Hero */
.hero {
  position: relative; overflow: hidden; padding: 86px 0 76px;
  background:
    radial-gradient(circle at 80% 10%, rgba(232, 132, 63, .12), transparent 34%),
    radial-gradient(circle at 12% 86%, rgba(217, 164, 65, .10), transparent 38%),
    linear-gradient(180deg, #faf5eb 0%, var(--cream) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(31, 61, 44, .11) .7px, transparent .7px);
  background-size: 26px 26px; opacity: .25;
  mask-image: linear-gradient(90deg, transparent, #000 40%, transparent);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.hero-copy { max-width: 560px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 10px;
  border: 1px solid rgba(31, 61, 44, .18); border-radius: 999px;
  font-size: 11px; letter-spacing: .12em; color: var(--green-soft); background: rgba(255, 250, 242, .6);
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(217, 164, 65, .16); }
.hero h1 {
  margin: 24px 0 22px; font-family: var(--serif); font-weight: 600;
  font-size: clamp(48px, 6.4vw, 82px); line-height: 1.06; letter-spacing: -.045em; color: var(--green-deep);
}
.hero h1 em { font-style: normal; color: var(--gold-deep); position: relative; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 9px;
  background: rgba(217, 164, 65, .18); z-index: -1; border-radius: 2px;
}
.hero-lead { max-width: 470px; color: var(--ink-soft); font-size: 16px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-points span { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-soft); letter-spacing: .02em; }
.icon-check { width: 16px; height: 16px; border-radius: 50%; background: rgba(31, 61, 44, .09); position: relative; }
.icon-check::after {
  content: ""; position: absolute; width: 7px; height: 4px; border-left: 1.4px solid var(--green); border-bottom: 1.4px solid var(--green);
  transform: rotate(-45deg); left: 4px; top: 4px;
}

.hero-art { position: relative; min-height: 470px; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(10px); opacity: .7; }
.hero-glow-a { width: 300px; height: 300px; background: radial-gradient(circle, rgba(217, 164, 65, .28), transparent 68%); top: 8%; right: 0; }
.hero-glow-b { width: 260px; height: 260px; background: radial-gradient(circle, rgba(232, 132, 63, .18), transparent 70%); bottom: 0; left: 2%; }
.fruit-orbit { position: absolute; border: 1px solid rgba(31, 61, 44, .10); border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.orbit-1 { width: 410px; height: 410px; }
.orbit-2 { width: 330px; height: 330px; border-style: dashed; opacity: .7; }
.orbit-3 { width: 240px; height: 240px; }
.citrus {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffd27e, #e99438 48%, #c96d23 100%);
  box-shadow: inset -12px -14px 24px rgba(154, 76, 17, .22), 0 18px 36px rgba(174, 103, 35, .18);
}
.citrus::before {
  content: ""; position: absolute; inset: 15%; border-radius: 50%;
  border: 1px dashed rgba(255, 244, 214, .35);
}
.citrus span {
  position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 50%;
  background: rgba(122, 60, 13, .25); transform: translate(-50%, -50%);
}
.citrus-a { width: 112px; height: 112px; top: 12%; left: 8%; animation: float 7s ease-in-out infinite; }
.citrus-b { width: 66px; height: 66px; bottom: 10%; right: 5%; animation: float 9s ease-in-out infinite reverse; }
.leaf { position: absolute; width: 74px; height: 34px; background: linear-gradient(135deg, #567b5d, #2e573b); border-radius: 100% 0 100% 0; opacity: .9; }
.leaf-a { top: 15%; left: 21%; transform: rotate(-24deg); }
.leaf-b { bottom: 16%; right: 18%; transform: rotate(155deg); width: 54px; height: 26px; opacity: .7; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-14px) rotate(4deg); } }

.delivery-slip {
  position: relative; z-index: 3; width: min(390px, 84%); margin: 54px auto 0;
  padding: 24px 26px 20px; border-radius: 20px;
  background: linear-gradient(160deg, #fffdf8, #fbf4e6);
  border: 1px solid rgba(31, 61, 44, .10);
  box-shadow: var(--shadow-lg); transform: rotate(-2.5deg);
}
.delivery-slip::before {
  content: ""; position: absolute; inset: 10px; border: 1px dashed rgba(31, 61, 44, .14); border-radius: 13px; pointer-events: none;
}
.slip-head { display: flex; justify-content: space-between; align-items: center; font-size: 10px; letter-spacing: .12em; color: var(--muted); }
.slip-brand { font-weight: 700; color: var(--green); }
.slip-status { background: rgba(217, 164, 65, .16); color: var(--gold-deep); padding: 4px 9px; border-radius: 999px; letter-spacing: .06em; }
.slip-code { font-family: ui-monospace, "Cascadia Code", monospace; font-size: 14px; color: var(--ink); margin: 14px 0 18px; letter-spacing: .06em; }
.slip-rows { display: grid; gap: 11px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.slip-rows div { display: flex; justify-content: space-between; gap: 20px; font-size: 12px; }
.slip-rows span { color: var(--muted); }
.slip-rows strong { font-weight: 600; text-align: right; }
.slip-price { font-family: var(--serif); font-size: 23px; color: var(--green-deep); }
.slip-foot { display: flex; align-items: center; gap: 10px; margin-top: 15px; font-size: 10px; color: var(--muted); letter-spacing: .05em; }
.slip-line { flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--line) 0 4px, transparent 4px 8px); }
.floating-note {
  position: absolute; z-index: 4; display: flex; flex-direction: column; gap: 2px;
  padding: 10px 14px; border-radius: 12px; background: rgba(255, 253, 248, .92);
  border: 1px solid var(--line); box-shadow: var(--shadow-md); font-size: 11px; color: var(--ink-soft);
}
.note-kicker { font-size: 9px; letter-spacing: .12em; color: var(--gold-deep); font-weight: 700; }
.note-a { top: 23%; right: 1%; transform: rotate(4deg); }
.note-b { bottom: 15%; left: 0; transform: rotate(-5deg); }

/* Ticker */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 250, 242, .55); }
.ticker-inner { min-height: 68px; display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap; }
.ticker-inner span { font-size: 12px; color: var(--ink-soft); letter-spacing: .05em; }
.ticker-inner strong { font-family: var(--serif); font-size: 21px; color: var(--green); margin-right: 5px; }
.ticker-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

/* Catalog */
.catalog { padding: 90px 0 110px; }
.category-tabs { display: flex; gap: 8px; margin: 30px 0 12px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.category-tabs::-webkit-scrollbar { display: none; }
.category-tab {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 17px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 250, 242, .7); font-size: 13px; color: var(--ink-soft);
  white-space: nowrap; transition: background .2s, color .2s, border-color .2s;
}
.category-tab:hover, .category-tab.is-active { background: var(--green); border-color: var(--green); color: #fff; }
.tab-index { font-family: ui-monospace, monospace; font-size: 9px; opacity: .55; }
.category-block { padding: 56px 0 10px; border-bottom: 1px solid var(--line); }
.category-block:last-child { border-bottom: 0; }
.category-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.category-title { display: flex; align-items: center; gap: 18px; }
.category-index { font-family: var(--serif); font-size: 14px; color: var(--gold-deep); display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--gold); border-radius: 50%; flex-shrink: 0; }
.category-title h3 { font-family: var(--serif); font-size: 28px; font-weight: 600; line-height: 1.2; color: var(--green-deep); }
.category-title p { font-size: 12px; color: var(--muted); margin-top: 5px; letter-spacing: .04em; }
.category-count { font-size: 12px; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.product-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(31, 61, 44, .18); }
.product-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #efe4d2; }
.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-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(23, 47, 34, .28));
}
.media-weight {
  position: absolute; z-index: 2; left: 14px; top: 14px; padding: 5px 10px; border-radius: 999px;
  background: rgba(255, 250, 242, .92); color: var(--green); font-size: 11px; font-weight: 600; letter-spacing: .03em;
}
.media-type {
  position: absolute; z-index: 2; right: 14px; bottom: 12px; color: rgba(255, 255, 255, .9);
  font-size: 10px; letter-spacing: .1em;
}
.media-placeholder-tag {
  position: absolute; z-index: 2; left: 14px; bottom: 12px; color: rgba(255, 255, 255, .8);
  font-size: 9px; letter-spacing: .08em; border: 1px solid rgba(255, 255, 255, .25); padding: 3px 7px; border-radius: 999px;
}
.product-body { padding: 20px 20px 18px; }
.product-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-title-row h4 { font-family: var(--serif); font-size: 21px; font-weight: 600; letter-spacing: -.01em; color: var(--green-deep); }
.grade-chip { font-size: 9px; color: var(--gold-deep); letter-spacing: .05em; border: 1px solid rgba(217, 164, 65, .35); background: rgba(217, 164, 65, .08); padding: 3px 7px; border-radius: 999px; white-space: nowrap; }
.product-spec { font-size: 11px; color: var(--muted); margin-top: 5px; letter-spacing: .03em; }
.product-desc { font-size: 12px; line-height: 1.7; color: var(--ink-soft); margin-top: 10px; min-height: 40px; }
.product-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); }
.price-block { display: flex; flex-direction: column; gap: 2px; }
.price-label { font-size: 9px; color: var(--muted); letter-spacing: .08em; }
.price { font-family: var(--serif); font-size: 29px; line-height: 1; font-weight: 600; color: var(--green-deep); letter-spacing: -.02em; }
.price small { font-family: var(--sans); font-size: 13px; font-weight: 500; margin-right: 1px; color: var(--green-soft); }

/* Service */
.service-band { background: var(--green-deep); color: #fff; padding: 86px 0 90px; position: relative; overflow: hidden; }
.service-band::before {
  content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .06); right: -180px; top: -260px;
}
.service-head { max-width: 660px; margin-bottom: 44px; }
.service-head h2 { color: #fff; margin-top: 6px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-dark); }
.service-card { padding: 30px 28px 10px 0; border-right: 1px solid var(--line-dark); }
.service-card:last-child { border-right: 0; padding-right: 0; }
.service-card + .service-card { padding-left: 28px; }
.service-no { font-family: var(--serif); font-size: 12px; color: #d9b46b; }
.service-card h3 { font-family: var(--serif); font-size: 22px; margin: 16px 0 10px; font-weight: 500; }
.service-card p { font-size: 12px; line-height: 1.9; color: rgba(255, 255, 255, .62); }

/* Contact */
.contact-band { padding: 80px 0; background: linear-gradient(180deg, var(--cream), #f2e8d7); }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.contact-inner > div:first-child { max-width: 700px; }
.contact-inner h2 { margin: 6px 0 14px; }
.contact-inner p { color: var(--ink-soft); font-size: 13px; line-height: 1.8; max-width: 620px; }
.contact-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* Footer */
.site-footer { background: #142a1e; color: rgba(255, 255, 255, .65); padding: 58px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr 1fr; gap: 60px; padding-bottom: 42px; }
.brand-light .brand-name { color: #fff; }
.brand-light .brand-sub { color: #d9b46b; }
.footer-brand p { margin-top: 18px; font-size: 12px; line-height: 1.9; max-width: 380px; }
.footer-col h3 { color: #fff; font-size: 12px; letter-spacing: .1em; margin-bottom: 16px; font-weight: 600; }
.footer-col a, .footer-col p { display: block; font-size: 12px; line-height: 2; color: rgba(255, 255, 255, .55); }
.footer-col a:hover { color: #e4bd72; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 10px; color: rgba(255, 255, 255, .38); }

/* Generic page hero */
.page-hero.compact { padding: 42px 0 38px; background: linear-gradient(180deg, #faf5eb, var(--cream)); border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; align-items: center; gap: 9px; font-size: 11px; color: var(--muted); margin-bottom: 30px; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb span:last-child { color: var(--ink-soft); }
.page-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.page-title-row h1 { font-family: var(--serif); font-size: clamp(32px, 4vw, 48px); line-height: 1.16; font-weight: 600; color: var(--green-deep); letter-spacing: -.02em; }
.page-title-row p { color: var(--muted); font-size: 13px; margin-top: 10px; }
.page-title-row .text-link { margin-bottom: 6px; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span:first-child { font-size: 12px; font-weight: 600; color: var(--ink-soft); letter-spacing: .02em; }
.field > span i { color: var(--danger); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; background: #fffdf9;
  padding: 11px 13px; font-size: 14px; color: var(--ink); outline: none;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.field input::placeholder, .field textarea::placeholder { color: #aeb6ac; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--green-soft); box-shadow: 0 0 0 3px rgba(61, 98, 75, .10); background: #fff;
}
.field textarea { resize: vertical; min-height: 84px; }
.field-help { font-size: 10px; color: var(--muted); line-height: 1.5; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-full { grid-column: 1 / -1; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.inline-error { background: #fcf3f1; border: 1px solid rgba(182, 75, 61, .22); color: var(--danger); padding: 11px 14px; border-radius: 10px; font-size: 13px; margin-bottom: 16px; }
.inline-alert { padding: 11px 14px; border-radius: 10px; font-size: 13px; margin-bottom: 14px; }
.inline-alert-success { background: #f2f8f3; border: 1px solid rgba(46, 106, 73, .22); color: var(--success); }
.inline-alert-error { background: #fcf3f1; border: 1px solid rgba(182, 75, 61, .22); color: var(--danger); }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }

/* Checkout */
.checkout-section { padding: 42px 0 90px; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.checkout-main { display: grid; gap: 20px; }
.product-summary { display: grid; grid-template-columns: 118px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px; }
.summary-media { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--cream-deep); }
.summary-media img { width: 100%; height: 100%; object-fit: cover; }
.summary-copy h2 { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--green-deep); margin: 3px 0 2px; }
.summary-copy > p { font-size: 12px; color: var(--muted); }
.summary-desc { margin-top: 7px; line-height: 1.6; max-width: 500px; }
.summary-unit { text-align: right; padding-right: 8px; }
.summary-unit span { display: block; font-size: 10px; color: var(--muted); }
.summary-unit strong { font-family: var(--serif); font-size: 28px; color: var(--green-deep); }
.summary-unit small { font-family: var(--sans); font-size: 13px; color: var(--green-soft); }
.checkout-form { padding: 30px 32px; }
.form-section { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.form-section:last-of-type { border-bottom: 0; }
.form-section-head { display: flex; gap: 14px; margin-bottom: 20px; }
.form-step { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(31, 61, 44, .07); color: var(--green); font-family: ui-monospace, monospace; font-size: 10px; flex-shrink: 0; }
.form-section-head h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--green-deep); }
.form-section-head p { font-size: 11px; color: var(--muted); margin-top: 3px; }
.quantity-row { display: flex; align-items: center; gap: 16px; }
.quantity-control { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fffdf9; overflow: hidden; }
.qty-btn { width: 42px; height: 42px; border: 0; background: transparent; font-size: 18px; color: var(--green); }
.qty-btn:hover { background: rgba(31, 61, 44, .06); }
.quantity-control input { width: 58px; height: 42px; border: 0; text-align: center; background: transparent; font-size: 15px; font-weight: 600; outline: none; -moz-appearance: textfield; }
.quantity-control input::-webkit-outer-spin-button, .quantity-control input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.quantity-hint { font-size: 11px; color: var(--muted); }
.form-submit { padding-top: 4px; }
.form-submit .btn { font-size: 15px; }
.submit-amount { margin-left: 6px; font-family: var(--serif); font-size: 20px; }
.form-submit p { font-size: 10px; color: var(--muted); text-align: center; margin-top: 12px; line-height: 1.7; }
.checkout-side { display: grid; gap: 16px; position: sticky; top: 92px; }
.order-preview { padding: 24px; }
.order-preview h2 { font-family: var(--serif); font-size: 24px; font-weight: 600; margin: 2px 0 18px; color: var(--green-deep); }
.order-preview dl { display: grid; gap: 10px; }
.order-preview dl div { display: flex; justify-content: space-between; gap: 20px; font-size: 12px; }
.order-preview dt { color: var(--muted); }
.order-preview dd { text-align: right; color: var(--ink-soft); }
.preview-total { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.preview-total span { font-size: 12px; color: var(--ink-soft); }
.preview-total strong { font-family: var(--serif); font-size: 28px; color: var(--green-deep); letter-spacing: -.02em; }
.preview-note { font-size: 10px; color: var(--muted); margin-top: 8px; line-height: 1.6; }
.side-note { background: rgba(255, 250, 242, .7); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.side-note h3 { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--green-deep); margin-bottom: 14px; }
.side-note ol { display: grid; gap: 10px; }
.side-note li { display: flex; gap: 10px; font-size: 11px; line-height: 1.6; color: var(--ink-soft); }
.side-note li span { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(31, 61, 44, .08); color: var(--green); font-size: 9px; flex-shrink: 0; }
.side-help { padding: 4px 6px; font-size: 11px; color: var(--muted); }
.side-help span { display: block; margin-bottom: 5px; }
.side-help a { color: var(--green); font-weight: 600; font-size: 13px; }
.side-help p { line-height: 1.7; }

/* Success */
.success-section { padding: 52px 0 90px; background: radial-gradient(circle at 50% 0, rgba(217, 164, 65, .09), transparent 50%); }
.success-wrap { max-width: 920px; }
.success-card { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 44px 48px; box-shadow: var(--shadow-md); text-align: center; }
.success-mark { width: 72px; height: 72px; margin: 0 auto 18px; color: var(--success); }
.success-mark svg { width: 100%; height: 100%; }
.success-card h1 { font-family: var(--serif); font-size: clamp(34px, 4.4vw, 52px); font-weight: 600; color: var(--green-deep); letter-spacing: -.03em; line-height: 1.1; }
.success-lead { max-width: 540px; margin: 14px auto 26px; color: var(--ink-soft); font-size: 13px; line-height: 1.9; }
.order-number-box { display: inline-flex; align-items: center; gap: 14px; padding: 11px 12px 11px 18px; border: 1px dashed var(--gold); border-radius: 999px; background: rgba(217, 164, 65, .06); }
.order-number-box > span { font-size: 10px; color: var(--muted); letter-spacing: .08em; }
.order-number-box strong { font-family: ui-monospace, "Cascadia Code", monospace; font-size: 15px; letter-spacing: .07em; color: var(--green-deep); }
.copy-btn { border: 0; background: var(--green); color: #fff; border-radius: 999px; padding: 6px 12px; font-size: 10px; }
.copy-btn:hover { background: var(--green-deep); }
.success-summary { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 30px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; }
.success-product { display: flex; align-items: center; gap: 14px; }
.success-thumb { width: 60px; height: 60px; border-radius: 12px; overflow: hidden; background: var(--cream-deep); }
.success-thumb img { width: 100%; height: 100%; object-fit: cover; }
.success-product h2 { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--green-deep); margin: 1px 0; }
.success-product p { font-size: 11px; color: var(--muted); }
.success-numbers { display: flex; gap: 26px; align-items: flex-end; }
.success-numbers dt { font-size: 9px; color: var(--muted); }
.success-numbers dd { font-size: 13px; font-weight: 600; }
.success-total dt { color: var(--gold-deep); }
.success-total dd { font-family: var(--serif); font-size: 31px; color: var(--green-deep); line-height: 1; }
.success-total dd small { font-family: var(--sans); font-size: 13px; }
.payment-box { display: flex; justify-content: space-between; gap: 28px; margin-top: 24px; padding: 26px; border-radius: 18px; background: var(--green-deep); color: #fff; text-align: left; }
.payment-copy { max-width: 560px; }
.payment-copy h2 { font-family: var(--serif); font-size: 28px; color: #fff; margin: 3px 0 8px; }
.payment-copy p { font-size: 11px; line-height: 1.8; color: rgba(255, 255, 255, .62); }
.payment-contact { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; font-size: 11px; color: #e4bd72; }
.payment-qr { width: 128px; flex-shrink: 0; text-align: center; }
.payment-qr img { width: 112px; height: 112px; object-fit: contain; background: #fff; border-radius: 10px; padding: 5px; margin: 0 auto 6px; }
.payment-qr > span { font-size: 9px; color: rgba(255, 255, 255, .55); }
.payment-qr-empty { display: flex; flex-direction: column; justify-content: center; align-items: center; border: 1px dashed rgba(255, 255, 255, .22); border-radius: 12px; padding: 10px; }
.qr-placeholder { font-size: 10px; line-height: 1.6; color: rgba(255, 255, 255, .5); }
.success-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.success-actions .btn-ghost { border-color: var(--line); }
.success-tip { margin-top: 18px; font-size: 10px; color: var(--muted); }
.success-next { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 22px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.success-next > div { background: rgba(255, 250, 242, .78); padding: 20px 24px; }
.next-no { font-family: var(--serif); font-size: 11px; color: var(--gold-deep); }
.success-next h3 { font-size: 13px; font-weight: 600; margin: 6px 0 3px; }
.success-next p { font-size: 10px; color: var(--muted); }

/* Track */
.track-section { padding: 42px 0 90px; }
.track-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; align-items: start; }
.track-main { min-width: 0; }
.track-form-panel { padding: 34px; max-width: 620px; }
.track-form-head { display: flex; gap: 16px; align-items: center; margin-bottom: 22px; }
.track-icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(31, 61, 44, .06); display: grid; place-items: center; color: var(--green); flex-shrink: 0; }
.track-icon svg { width: 30px; height: 30px; }
.track-form-head h2 { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.track-form-head p { font-size: 11px; color: var(--muted); margin-top: 3px; }
.track-form { display: grid; gap: 15px; }
.form-footnote { font-size: 10px; color: var(--muted); margin-top: 16px; line-height: 1.8; }
.order-track-card { padding: 30px; }
.track-card-head { display: flex; justify-content: space-between; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.track-order-no { font-family: ui-monospace, "Cascadia Code", monospace; font-size: 25px; letter-spacing: .03em; color: var(--green-deep); margin: 3px 0; }
.track-card-head p { font-size: 10px; color: var(--muted); }
.status-stack { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.status-badge { display: inline-flex; align-items: center; justify-content: center; padding: 4px 9px; border-radius: 999px; font-size: 10px; font-weight: 600; white-space: nowrap; }
.status-pending { background: #fbf0d9; color: #94651c; }
.status-confirmed { background: #e9f1ec; color: #336149; }
.status-printed { background: #e7eef7; color: #3b5e86; }
.status-shipped { background: #e6f0ef; color: #2f6864; }
.status-completed { background: #e9f4ea; color: #2e6a49; }
.status-cancelled { background: #f3eeee; color: #8c6b67; }
.payment-unpaid { background: #fcf0ed; color: #ae5847; }
.payment-paid { background: #e9f4ea; color: #2e6a49; }
.payment-refunded { background: #f1eeee; color: #7c6d69; }
.track-timeline { display: flex; justify-content: space-between; gap: 4px; padding: 30px 4px 16px; position: relative; }
.track-timeline::before { content: ""; position: absolute; left: 9%; right: 9%; top: 46px; height: 1px; background: var(--line); }
.track-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; text-align: center; }
.track-dot { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); border: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.track-step.is-done .track-dot { background: var(--green); border-color: var(--green); color: #fff; }
.track-step.is-current .track-dot { box-shadow: 0 0 0 5px rgba(31, 61, 44, .10); }
.track-label { font-size: 10px; color: var(--muted); }
.track-step.is-done .track-label { color: var(--green); font-weight: 600; }
.track-hint { font-size: 11px; color: var(--ink-soft); background: rgba(31, 61, 44, .04); padding: 9px 13px; border-radius: 8px; margin-bottom: 20px; }
.track-timeline.compact { padding: 20px 0 24px; }
.track-timeline.compact::before { top: 36px; }
.track-timeline.compact .track-dot { width: 26px; height: 26px; font-size: 9px; }
.track-timeline.compact .track-label { font-size: 9px; }
.cancelled-note { background: #f7eeee; border: 1px solid #ead6d2; color: #8c5d55; padding: 12px 14px; border-radius: 10px; font-size: 12px; margin: 18px 0; }
.tracking-box { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 12px; background: #f2f8f3; border: 1px solid rgba(46, 106, 73, .16); margin-bottom: 20px; }
.tracking-box span:first-child { display: block; font-size: 9px; color: var(--muted); }
.tracking-box strong { font-size: 13px; color: var(--success); }
.tracking-badge { font-size: 9px; background: rgba(46, 106, 73, .12); color: var(--success); padding: 4px 8px; border-radius: 999px; white-space: nowrap; }
.track-product { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fffdf9; }
.track-product-thumb { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--cream-deep); flex-shrink: 0; }
.track-product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.track-product-copy { flex: 1; }
.track-product-copy h3 { font-family: var(--serif); font-size: 19px; font-weight: 600; }
.track-product-copy p { font-size: 10px; color: var(--muted); }
.track-product-price { text-align: right; }
.track-product-price span { display: block; font-size: 9px; color: var(--muted); }
.track-product-price strong { font-family: var(--serif); font-size: 22px; color: var(--green-deep); }
.track-details { display: grid; gap: 11px; margin-top: 20px; }
.track-details div { display: grid; grid-template-columns: 82px 1fr; gap: 14px; font-size: 11px; }
.track-details dt { color: var(--muted); }
.track-details dd { color: var(--ink-soft); }
.track-actions { display: flex; gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.track-side { display: grid; gap: 16px; position: sticky; top: 92px; }
.side-note ul { display: grid; gap: 9px; }
.side-note li { font-size: 11px; line-height: 1.7; color: var(--ink-soft); padding-left: 12px; position: relative; }
.side-note li::before { content: ""; position: absolute; left: 0; top: 8px; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

/* Error */
.error-section { padding: 90px 0 120px; }
.error-wrap { max-width: 720px; }
.error-card { text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 60px 40px; box-shadow: var(--shadow-sm); }
.error-code { font-family: var(--serif); font-size: 76px; color: rgba(31, 61, 44, .16); line-height: 1; }
.error-card h1 { font-family: var(--serif); font-size: 36px; font-weight: 600; margin: 12px 0; color: var(--green-deep); }
.error-card p { color: var(--muted); font-size: 13px; }
.error-actions { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }

/* Admin login */
.login-body { min-height: 100vh; background: var(--cream); }
.login-shell { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; }
.login-brand-panel { position: relative; overflow: hidden; background: var(--green-deep); color: #fff; padding: 54px 64px; display: flex; flex-direction: column; justify-content: space-between; }
.login-brand-panel::before { content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .08); right: -220px; top: -180px; }
.login-brand-panel::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(217, 164, 65, .18), transparent 66%); left: -100px; bottom: -120px; }
.login-brand-top { display: flex; align-items: center; gap: 13px; position: relative; z-index: 1; }
.admin-brand-mark { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #d9a441; color: var(--green-deep); font-family: var(--serif); font-size: 20px; font-weight: 700; flex-shrink: 0; }
.login-brand-top strong { display: block; font-family: var(--serif); font-size: 20px; }
.login-brand-top small { font-size: 9px; letter-spacing: .16em; color: #d9b46b; }
.login-copy { position: relative; z-index: 1; max-width: 500px; }
.login-copy h1 { font-family: var(--serif); font-size: clamp(40px, 5vw, 68px); font-weight: 500; line-height: 1.12; letter-spacing: -.03em; margin: 12px 0 20px; }
.login-copy p { font-size: 13px; line-height: 1.9; color: rgba(255, 255, 255, .62); max-width: 420px; }
.login-meta { display: flex; gap: 22px; font-size: 10px; letter-spacing: .1em; color: rgba(255, 255, 255, .42); position: relative; z-index: 1; }
.login-form-panel { display: flex; align-items: center; justify-content: center; padding: 40px; background: linear-gradient(180deg, #fbf7ef, var(--cream)); }
.login-form-wrap { width: min(380px, 100%); }
.login-back { display: block; width: fit-content; font-size: 11px; color: var(--muted); margin-bottom: 30px; }
.login-back:hover { color: var(--green); }
.login-form-wrap > .section-kicker { display: block; }
.login-form-wrap h2 { font-family: var(--serif); font-size: 32px; font-weight: 600; color: var(--green-deep); }
.login-sub { font-size: 12px; color: var(--muted); margin: 6px 0 24px; }
.login-form { display: grid; gap: 16px; }
.login-foot { font-size: 10px; color: var(--muted); line-height: 1.8; margin-top: 26px; }

/* Admin shell */
.admin-body { background: #f3f0e8; }
.admin-shell { min-height: 100vh; display: flex; }
.admin-sidebar { width: 248px; flex-shrink: 0; background: var(--green-deep); color: #fff; padding: 24px 18px 20px; display: flex; flex-direction: column; position: fixed; inset: 0 auto 0 0; z-index: 60; }
.admin-brand { display: flex; align-items: center; gap: 11px; padding: 4px 8px 26px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.admin-brand strong { display: block; font-family: var(--serif); font-size: 16px; font-weight: 600; }
.admin-brand small { font-size: 9px; letter-spacing: .12em; color: #d9b46b; }
.admin-nav { display: grid; gap: 4px; margin-top: 24px; }
.admin-nav-label { font-size: 9px; letter-spacing: .16em; color: rgba(255, 255, 255, .32); padding: 0 12px 8px; }
.admin-nav a { display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 9px; font-size: 13px; color: rgba(255, 255, 255, .64); transition: background .18s, color .18s; }
.admin-nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.admin-nav a.is-active { background: rgba(217, 164, 65, .14); color: #f1d194; }
.admin-nav-ico { width: 18px; text-align: center; font-size: 15px; opacity: .8; }
.admin-side-foot { margin-top: auto; padding: 16px 10px 0; border-top: 1px solid rgba(255, 255, 255, .1); display: grid; gap: 9px; }
.admin-side-foot a, .admin-side-foot button { font-size: 11px; color: rgba(255, 255, 255, .52); background: none; border: 0; padding: 0; text-align: left; }
.admin-side-foot a:hover, .admin-side-foot button:hover { color: #f1d194; }
.admin-main { margin-left: 248px; width: calc(100% - 248px); min-width: 0; }
.admin-topbar { height: 70px; background: rgba(255, 253, 248, .9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 16px; padding: 0 32px; position: sticky; top: 0; z-index: 40; }
.admin-menu-btn { display: none; border: 1px solid var(--line); background: #fff; border-radius: 8px; width: 36px; height: 36px; }
.admin-topbar-title span { display: block; font-size: 9px; letter-spacing: .13em; color: var(--muted); }
.admin-topbar-title strong { font-size: 15px; font-family: var(--serif); font-weight: 600; color: var(--green-deep); }
.admin-topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.admin-user { font-size: 11px; color: var(--muted); }
.admin-top-link { font-size: 11px; color: var(--green); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; background: #fff; }
.admin-content { padding: 30px 32px 50px; max-width: 1440px; }
.admin-overlay { position: fixed; inset: 0; background: rgba(17, 31, 22, .45); z-index: 55; }
.admin-overlay[hidden] { display: none; }
.admin-page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 24px; }
.admin-page-head h1 { font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--green-deep); line-height: 1.2; }
.admin-page-head p { font-size: 11px; color: var(--muted); margin-top: 5px; }
.admin-head-actions { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; }
.back-link { display: block; width: fit-content; font-size: 11px; color: var(--muted); margin-bottom: 10px; }
.back-link:hover { color: var(--green); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.stat-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.stat-accent { background: var(--green-deep); color: #fff; border-color: var(--green-deep); }
.stat-top { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--muted); }
.stat-accent .stat-top { color: rgba(255, 255, 255, .58); }
.stat-ico { font-size: 13px; opacity: .7; }
.stat-card > strong { display: block; font-family: var(--serif); font-size: 40px; line-height: 1.2; margin: 7px 0 2px; color: var(--green-deep); font-weight: 500; }
.stat-accent > strong { color: #fff; }
.stat-card > p { font-size: 10px; color: var(--muted); }
.stat-accent > p { color: rgba(255, 255, 255, .52); }
.admin-grid-2 { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .85fr); gap: 18px; align-items: start; }
.admin-side-col { display: grid; gap: 16px; min-width: 0; }
.admin-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; min-width: 0; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.panel-head h2 { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--green-deep); }
.panel-head p { font-size: 10px; color: var(--muted); margin-top: 3px; }
.panel-title-row { display: flex; align-items: center; gap: 10px; }
.panel-title-row .category-index { width: 30px; height: 30px; font-size: 10px; }
.panel-note { font-size: 10px; color: var(--muted); line-height: 1.7; margin-top: 8px; }
.table-wrap { overflow-x: auto; margin: 0 -4px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 12px; min-width: 680px; }
.data-table th { text-align: left; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 9px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.data-table td { padding: 12px 8px; border-bottom: 1px solid rgba(230, 220, 203, .6); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tr:hover td { background: rgba(247, 241, 230, .5); }
.data-table small { display: block; font-size: 9px; color: var(--muted); margin-top: 2px; }
.order-link { color: var(--green); font-weight: 600; font-family: ui-monospace, monospace; font-size: 11px; }
.order-link:hover { text-decoration: underline; }
.amount-cell { font-family: var(--serif); font-size: 15px; color: var(--green-deep); white-space: nowrap; }
.row-arrow { font-size: 10px; color: var(--gold-deep); white-space: nowrap; }
.row-arrow:hover { text-decoration: underline; }
.tracking-mini { font-size: 10px; color: var(--ink-soft); }
.tracking-mini small { font-family: ui-monospace, monospace; }
.muted { color: var(--muted); }
.admin-empty { text-align: center; padding: 46px 20px; }
.empty-ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: rgba(31, 61, 44, .06); color: var(--green-soft); margin: 0 auto 14px; font-size: 20px; }
.admin-empty h3 { font-family: var(--serif); font-size: 18px; color: var(--green-deep); }
.admin-empty p { font-size: 11px; color: var(--muted); margin: 5px 0 14px; }
.month-amount { font-family: var(--serif); font-size: 38px; color: var(--green-deep); line-height: 1.2; margin: 10px 0 3px; }
.month-amount small { font-family: var(--sans); font-size: 15px; color: var(--green-soft); }
.status-bars { display: grid; gap: 10px; }
.status-bar-row { display: grid; grid-template-columns: 56px 1fr 24px; gap: 9px; align-items: center; font-size: 10px; color: var(--muted); }
.status-bar-track { height: 6px; border-radius: 999px; background: var(--cream-deep); overflow: hidden; }
.status-bar-track i { display: block; height: 100%; border-radius: 999px; background: var(--green-soft); min-width: 0; }
.status-bar-row strong { text-align: right; color: var(--ink-soft); font-size: 10px; }
.admin-tip-panel { background: linear-gradient(150deg, #fbf4e6, #fffaf2); border-color: #eadcc3; }
.admin-tip-panel h2 { font-family: var(--serif); font-size: 17px; margin-bottom: 7px; }
.admin-tip-panel p { font-size: 11px; color: var(--ink-soft); line-height: 1.8; }
.admin-tip-panel .text-link { display: inline-block; margin-top: 8px; }
.filter-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.filter-search { flex: 1; min-width: 210px; }
.filter-search input { width: 100%; border: 1px solid var(--line); background: #fffdf9; border-radius: 9px; padding: 10px 13px; font-size: 12px; outline: none; }
.filter-search input:focus { border-color: var(--green-soft); }
.filter-select { display: flex; align-items: center; gap: 7px; font-size: 10px; color: var(--muted); }
.filter-select select { border: 1px solid var(--line); background: #fffdf9; border-radius: 9px; padding: 9px 30px 9px 11px; font-size: 11px; outline: none; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 18px; padding-top: 18px; font-size: 11px; }
.pagination a { color: var(--green); }
.pagination a:hover { text-decoration: underline; }
.pagination .is-disabled { color: #b7beb6; }
.pagination-info { color: var(--muted); }
.order-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.order-heading h1 { font-size: 26px; margin-right: 4px; }
.order-detail-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.order-amount-panel { background: var(--green-deep); color: #fff; border-color: var(--green-deep); }
.order-amount-panel > p { font-size: 11px; color: rgba(255, 255, 255, .55); margin-top: 8px; }
.order-amount { font-family: var(--serif); font-size: 52px; line-height: 1.1; color: #fff; margin: 4px 0; }
.order-amount small { font-family: var(--sans); font-size: 20px; color: #e4bd72; }
.amount-formula { font-size: 10px; color: rgba(255, 255, 255, .5); margin-bottom: 12px; }
.detail-list { display: grid; gap: 13px; }
.detail-list div { display: grid; grid-template-columns: 64px 1fr; gap: 12px; font-size: 11px; }
.detail-list dt { color: var(--muted); }
.detail-list dd { color: var(--ink-soft); line-height: 1.7; }
.detail-list a { color: var(--green); }
.detail-product { display: flex; gap: 12px; align-items: center; }
.detail-thumb { width: 56px; height: 56px; border-radius: 9px; display: grid; place-items: center; background: var(--cream-deep); font-size: 9px; color: var(--muted); flex-shrink: 0; }
.detail-product strong { display: block; font-size: 13px; }
.detail-product span { display: block; font-size: 10px; color: var(--muted); }
.admin-form .btn-block { margin-top: 16px; }
.catalog-admin-block { margin-bottom: 18px; }
.product-admin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.product-admin-card { display: flex; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #fffdf9; min-width: 0; }
.product-admin-card.is-inactive { opacity: .6; }
.product-admin-media { position: relative; width: 78px; height: 78px; border-radius: 9px; overflow: hidden; background: var(--cream-deep); flex-shrink: 0; }
.product-admin-media img { width: 100%; height: 100%; object-fit: cover; }
.product-admin-copy { flex: 1; min-width: 0; }
.product-admin-title { display: flex; align-items: flex-start; gap: 6px; }
.product-admin-title h3 { font-family: var(--serif); font-size: 15px; font-weight: 600; line-height: 1.3; flex: 1; }
.product-admin-copy > p { font-size: 9px; color: var(--muted); margin: 3px 0 8px; }
.product-admin-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.admin-price { font-family: var(--serif); font-size: 17px; color: var(--green-deep); }
.tiny-tag { font-size: 8px; padding: 2px 6px; border-radius: 999px; white-space: nowrap; }
.tiny-on { background: #e9f4ea; color: #2e6a49; }
.tiny-off { background: #f1eeee; color: #7c6d69; }
.admin-note-bar { display: flex; justify-content: space-between; gap: 22px; align-items: center; padding: 14px 18px; border: 1px dashed var(--line); border-radius: 10px; font-size: 10px; color: var(--muted); }
.admin-note-bar a { color: var(--green); white-space: nowrap; }
.product-edit-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; }
.image-upload-zone { display: grid; gap: 14px; }
.image-preview { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--cream-deep); border: 1px solid var(--line); }
.image-preview img { width: 100%; height: 100%; object-fit: cover; }
.file-drop { display: block; border: 1px dashed #cbbd9f; border-radius: 10px; padding: 16px; text-align: center; background: #fdf9f1; cursor: pointer; transition: border-color .18s, background .18s; }
.file-drop:hover { border-color: var(--green-soft); background: #fbf5e9; }
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.file-drop-title { display: block; font-size: 12px; font-weight: 600; color: var(--green); }
.file-drop-sub { display: block; font-size: 9px; color: var(--muted); margin-top: 3px; }
.file-drop-sm { padding: 12px; }
.check-row { display: flex; align-items: center; gap: 8px; font-size: 10px; color: var(--ink-soft); cursor: pointer; }
.check-row input { accent-color: var(--green); }
.check-row-inline { padding: 10px 0; }
.remove-image-row { color: var(--danger); }
.form-actions { display: flex; gap: 10px; align-items: center; padding-top: 2px; }
.qr-upload { display: flex; gap: 18px; align-items: flex-start; }
.qr-preview { width: 132px; height: 132px; border: 1px dashed var(--line); border-radius: 12px; background: #fffdf9; display: grid; place-items: center; overflow: hidden; flex-shrink: 0; }
.qr-preview img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.qr-preview span { font-size: 10px; color: var(--muted); }
.qr-upload-copy { flex: 1; display: grid; gap: 10px; }
.settings-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; }

/* Print */
.print-body { background: #eee9df; color: #1d2b22; }
.print-toolbar { display: flex; justify-content: center; gap: 10px; padding: 18px; }
.print-sheet { width: 210mm; min-height: 260mm; margin: 0 auto 30px; background: #fff; padding: 18mm 16mm; box-shadow: 0 12px 40px rgba(0, 0, 0, .12); }
.print-head { display: flex; justify-content: space-between; gap: 30px; padding-bottom: 16px; border-bottom: 2px solid #1f3d2c; }
.print-brand { font-size: 10px; letter-spacing: .12em; color: #7c887e; }
.print-head h1 { font-family: var(--serif); font-size: 30px; font-weight: 600; margin-top: 4px; }
.print-no { text-align: right; font-size: 10px; color: #7c887e; }
.print-no strong { display: block; font-family: ui-monospace, monospace; font-size: 15px; color: #1f3d2c; margin: 3px 0; }
.print-block { padding: 18px 0; border-bottom: 1px solid #e6dccb; }
.print-block h2 { font-family: var(--serif); font-size: 15px; margin-bottom: 12px; }
.print-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 30px; font-size: 11px; }
.print-grid span { display: block; font-size: 9px; color: #7c887e; }
.print-grid strong { font-weight: 500; }
.print-full { grid-column: 1 / -1; }
.print-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.print-table th, .print-table td { border: 1px solid #e6dccb; padding: 9px 10px; text-align: left; }
.print-table th { background: #f7f1e6; font-size: 9px; }
.print-total { text-align: right; margin-top: 12px; font-size: 11px; }
.print-total strong { font-family: var(--serif); font-size: 22px; color: #1f3d2c; margin-left: 4px; }
.print-foot { display: flex; justify-content: space-between; font-size: 9px; color: #7c887e; margin-top: 24px; }

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .hero h1 { font-size: 60px; }
  .hero-art { min-height: 420px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { border-right: 0; border-bottom: 1px solid var(--line-dark); padding: 26px 20px 24px 0; }
  .service-card + .service-card { padding-left: 0; }
  .service-card:nth-child(even) { padding-left: 28px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-admin-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-grid-2 { grid-template-columns: minmax(0, 1fr) 320px; }
  .checkout-grid { grid-template-columns: minmax(0, 1fr) 320px; }
  .track-grid { grid-template-columns: minmax(0, 1fr) 280px; }
}

@media (max-width: 860px) {
  .wrap { width: calc(100% - 34px); }
  .main-nav {
    display: none; position: absolute; left: 17px; right: 17px; top: calc(100% + 8px);
    background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-md);
    padding: 12px; flex-direction: column; align-items: stretch; gap: 2px;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 11px 12px; border-radius: 8px; }
  .main-nav a:hover { background: rgba(31, 61, 44, .05); }
  .main-nav a::after { display: none; }
  .nav-mobile-admin { display: block; border-top: 1px solid var(--line); margin-top: 5px; color: var(--muted) !important; font-size: 12px !important; }
  .menu-toggle { display: block; }
  .header-order-link { display: none; }
  .site-header { padding: 10px 0; }
  .hero { padding: 55px 0 50px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 600px; }
  .hero h1 { font-size: clamp(46px, 10vw, 64px); }
  .hero-art { min-height: 390px; max-width: 500px; margin: 0 auto; width: 100%; }
  .delivery-slip { margin-top: 30px; }
  .ticker-inner { padding: 14px 0; gap: 12px 18px; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 16px; }
  .catalog { padding: 62px 0 72px; }
  .contact-inner { flex-direction: column; align-items: flex-start; gap: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .checkout-grid, .track-grid { grid-template-columns: 1fr; }
  .checkout-side, .track-side { position: static; grid-row: auto; }
  .checkout-side { grid-template-columns: 1fr 1fr; }
  .side-help { display: none; }
  .product-summary { grid-template-columns: 90px 1fr; }
  .summary-unit { grid-column: 2; text-align: left; padding-right: 0; }
  .success-card { padding: 34px 24px; }
  .success-summary { flex-direction: column; align-items: flex-start; gap: 18px; }
  .success-numbers { width: 100%; justify-content: space-between; }
  .payment-box { flex-direction: column; }
  .payment-qr { width: auto; display: flex; align-items: center; gap: 12px; }
  .payment-qr img { margin: 0; }
  .login-shell { grid-template-columns: 1fr; }
  .login-brand-panel { min-height: 280px; padding: 32px; }
  .login-copy h1 { font-size: 42px; }
  .login-meta { display: none; }
  .login-form-panel { padding: 32px 22px 50px; }
  .login-back { margin-bottom: 22px; }
  .admin-sidebar { transform: translateX(-100%); transition: transform .22s ease; }
  .admin-sidebar.is-open { transform: translateX(0); }
  .admin-main { margin-left: 0; width: 100%; }
  .admin-menu-btn { display: block; }
  .admin-topbar { padding: 0 18px; height: 62px; }
  .admin-content { padding: 22px 18px 40px; }
  .admin-grid-2, .order-detail-grid, .product-edit-grid, .settings-grid { grid-template-columns: 1fr; }
  .stat-grid { gap: 12px; }
  .admin-page-head { align-items: flex-start; flex-direction: column; gap: 14px; }
  .admin-head-actions { width: 100%; }
  .product-admin-grid { grid-template-columns: 1fr; }
  .admin-note-bar { flex-direction: column; align-items: flex-start; gap: 8px; }
  .print-sheet { width: 100%; padding: 24px; }
}

@media (max-width: 620px) {
  body { font-size: 14px; }
  .wrap { width: calc(100% - 28px); }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 18px; }
  .hero { padding: 40px 0 42px; }
  .hero h1 { font-size: 46px; }
  .hero-lead { font-size: 14px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-points { gap: 12px 16px; }
  .hero-points span { font-size: 10px; }
  .hero-art { min-height: 340px; }
  .orbit-1 { width: 300px; height: 300px; }
  .orbit-2 { width: 250px; height: 250px; }
  .orbit-3 { width: 190px; height: 190px; }
  .citrus-a { width: 76px; height: 76px; }
  .citrus-b { width: 48px; height: 48px; }
  .delivery-slip { width: 94%; padding: 20px; }
  .floating-note { display: none; }
  .ticker-inner span { font-size: 10px; }
  .ticker-inner strong { font-size: 17px; }
  .ticker-sep { display: none; }
  .product-grid { grid-template-columns: 1fr; gap: 16px; }
  .category-tabs { margin-top: 22px; }
  .category-title { gap: 12px; }
  .category-index { width: 34px; height: 34px; font-size: 11px; }
  .category-title h3 { font-size: 23px; }
  .product-body { padding: 18px; }
  .product-desc { min-height: 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:nth-child(even) { padding: 22px 0; }
  .service-head { margin-bottom: 26px; }
  .contact-actions { width: 100%; flex-direction: column; }
  .contact-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 4px; }
  .page-hero.compact { padding: 28px 0 30px; }
  .breadcrumb { margin-bottom: 18px; }
  .page-title-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .page-title-row .text-link { margin-bottom: 0; }
  .product-summary { grid-template-columns: 72px 1fr; gap: 12px; padding: 12px; }
  .summary-copy h2 { font-size: 19px; }
  .checkout-form { padding: 22px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-section { padding-bottom: 22px; margin-bottom: 22px; }
  .form-section-head h3 { font-size: 18px; }
  .checkout-side { grid-template-columns: 1fr; }
  .success-card { padding: 28px 18px; border-radius: 20px; }
  .success-card h1 { font-size: 34px; }
  .order-number-box { gap: 8px; padding-left: 12px; max-width: 100%; }
  .order-number-box strong { font-size: 12px; }
  .success-numbers { gap: 12px; }
  .success-total dd { font-size: 24px; }
  .payment-box { padding: 20px; }
  .success-next { grid-template-columns: 1fr; }
  .order-track-card { padding: 20px 16px; }
  .track-card-head { flex-direction: column; }
  .status-stack { flex-direction: row; }
  .track-order-no { font-size: 19px; }
  .track-timeline { padding-top: 22px; }
  .track-timeline::before { top: 38px; }
  .track-dot { width: 28px; height: 28px; }
  .track-label { font-size: 9px; }
  .track-product { align-items: flex-start; }
  .track-product-thumb { width: 52px; height: 52px; }
  .track-product-price { display: none; }
  .track-details div { grid-template-columns: 70px 1fr; }
  .track-actions { flex-direction: column; }
  .track-actions .btn { width: 100%; }
  .error-card { padding: 40px 20px; }
  .login-brand-panel { min-height: 230px; padding: 24px; }
  .login-copy h1 { font-size: 34px; }
  .login-copy p { font-size: 11px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat-card { padding: 15px; }
  .stat-card > strong { font-size: 31px; }
  .stat-card > p { font-size: 9px; }
  .admin-topbar-title span { display: none; }
  .admin-topbar-actions .admin-user { display: none; }
  .admin-panel { padding: 17px; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-select { justify-content: space-between; }
  .filter-select select { flex: 1; }
  .order-amount { font-size: 42px; }
  .qr-upload { flex-direction: column; }
  .product-edit-grid .form-actions { flex-direction: column; align-items: stretch; }
  .product-edit-grid .form-actions .btn { width: 100%; }
  .print-body { background: #fff; }
  .print-toolbar { padding: 12px; }
  .print-sheet { padding: 18px; box-shadow: none; min-height: 0; }
  .print-head { flex-direction: column; gap: 12px; }
  .print-no { text-align: left; }
  .print-grid { grid-template-columns: 1fr; }
  .print-table { font-size: 10px; }
  .print-table th, .print-table td { padding: 7px 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .print-toolbar, .flash-stack { display: none !important; }
  body { background: #fff; }
  .print-sheet { box-shadow: none; margin: 0; width: auto; min-height: 0; }
}
