:root {
  --ink: #1f2724;
  --muted: #69726d;
  --paper: #f7f6f2;
  --white: #fff;
  --line: #e3e2dc;
  --accent: #526b58;
  --accent-dark: #354c3b;
  --sand: #e7e1d5;
  --warm: #eeece4;
  --danger: #a53b35;
  --radius: 18px;
  --shadow: 0 16px 42px rgba(29, 37, 31, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, .button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
img { display: block; max-width: 100%; }
.container { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
.demo-banner { padding: 8px 16px; background: #26352b; color: #f5f2e8; text-align: center; font-size: 12px; letter-spacing: .045em; }
.site-header { background: rgba(255,255,255,.93); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(16px); }
.header-main { min-height: 86px; display: grid; grid-template-columns: 230px minmax(220px, 1fr) auto; gap: 28px; align-items: center; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark { width: 42px; height: 42px; border: 1px solid #bbc6bc; color: var(--accent); display: grid; place-items: center; border-radius: 50%; font-size: 19px; font-weight: 700; }
.brand-name { font-size: 17px; font-weight: 750; letter-spacing: .12em; line-height: 1.15; }
.brand-sub { color: var(--muted); font-size: 9px; letter-spacing: .14em; margin-top: 4px; }
.searchbar { display: flex; border: 1px solid var(--line); border-radius: 100px; background: #fafaf7; overflow: hidden; min-width: 0; }
.searchbar input { flex: 1; border: 0; background: transparent; outline: 0; padding: 12px 17px; min-width: 0; font-size: 13px; }
.searchbar button { width: 46px; border: 0; background: transparent; color: var(--accent); font-size: 18px; }
.header-actions { display: flex; align-items: center; gap: 15px; font-size: 12px; white-space: nowrap; }
.header-actions a { color: var(--muted); }
.header-actions a:hover, .nav-links a:hover { color: var(--accent); }
.cart-link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 30px; color: var(--ink) !important; }
.cart-count { min-width: 19px; height: 19px; display: inline-grid; place-items: center; background: var(--accent); color: white; border-radius: 50%; font-size: 10px; padding: 0 4px; }
.nav-row { border-top: 1px solid #eeede8; }
.nav-links { min-height: 48px; display: flex; align-items: center; gap: clamp(15px, 2.5vw, 30px); overflow-x: auto; white-space: nowrap; font-size: 11px; text-transform: uppercase; letter-spacing: .045em; }
.nav-links a { color: #515a54; }
.nav-links a.nav-highlight { color: var(--accent); font-weight: 750; }
.hero { padding: 36px 0 22px; }
.hero-panel { min-height: 440px; display: grid; grid-template-columns: 1.05fr .95fr; border-radius: 28px; overflow: hidden; background: #e9e7de; }
.hero-copy { padding: clamp(30px, 5vw, 68px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.eyebrow { font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .2em; color: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.05; font-weight: 560; letter-spacing: -.055em; margin: 18px 0; max-width: 590px; }
.hero-copy p { max-width: 430px; color: #5c665f; font-size: 15px; }
.hero-actions { display: flex; gap: 11px; flex-wrap: wrap; margin-top: 16px; }
.button { display: inline-flex; gap: 8px; justify-content: center; align-items: center; border: 1px solid var(--accent); border-radius: 100px; padding: 13px 19px; background: var(--accent); color: white; font-size: 12px; font-weight: 700; transition: transform .2s, background .2s; }
.button:hover { background: var(--accent-dark); transform: translateY(-1px); }
.button--light { background: transparent; border-color: #afb9ae; color: var(--ink); }
.button--light:hover { color: white; }
.button--small { padding: 10px 14px; font-size: 11px; }
.hero-visual { position: relative; background: linear-gradient(135deg, #d9d7cc, #f1efe8); display: grid; place-items: center; padding: 18px; }
.hero-visual::before { content: ""; position: absolute; inset: 9% 12%; border: 1px solid rgba(82,107,88,.23); border-radius: 48% 48% 18% 18%; }
.hero-visual img { position: relative; width: min(86%, 430px); filter: drop-shadow(0 28px 20px rgba(34,40,34,.10)); }
.hero-note { position: absolute; bottom: 28px; left: 28px; background: rgba(255,255,255,.72); backdrop-filter: blur(10px); border-radius: 12px; padding: 12px 15px; font-size: 11px; color: #5e675f; }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 19px 0 32px; }
.benefit { display: flex; align-items: center; gap: 13px; background: #fff; border: 1px solid var(--line); padding: 17px 20px; border-radius: 13px; }
.benefit-icon { width: 35px; height: 35px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; background: #edf0e9; color: var(--accent); font-size: 17px; }
.benefit strong { display: block; font-size: 12px; margin-bottom: 2px; }
.benefit span { display: block; color: var(--muted); font-size: 10px; }
.section { padding: 38px 0; }
.section--white { background: #fff; border-block: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 22px; }
.section-heading h2 { font-size: clamp(24px, 3vw, 35px); font-weight: 560; letter-spacing: -.045em; margin: 7px 0 0; }
.section-heading p { margin: 7px 0 0; font-size: 13px; color: var(--muted); }
.text-link { color: var(--accent); font-size: 12px; font-weight: 750; white-space: nowrap; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.category-card { position: relative; min-height: 220px; border-radius: var(--radius); overflow: hidden; background: #ebe9e1; padding: 23px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid #e2e0d7; }
.category-card:nth-child(2) { background: #e4e9e2; }
.category-card:nth-child(3) { background: #eee7dd; }
.category-card::after { content: ""; position: absolute; right: -10px; bottom: -40px; width: 145px; height: 180px; border: 1px solid rgba(82,107,88,.18); border-radius: 48% 48% 20% 20%; transform: rotate(-11deg); }
.category-card span { position: relative; z-index: 1; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.category-card h3 { position: relative; z-index: 1; max-width: 220px; margin: 13px 0; font-size: 25px; line-height: 1.1; font-weight: 560; letter-spacing: -.04em; }
.category-card .category-action { position: relative; z-index: 1; align-self: flex-start; color: var(--accent); font-weight: 750; font-size: 11px; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.product-card { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 15px; transition: box-shadow .2s, transform .2s; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product-image { position: relative; display: block; aspect-ratio: 1 / 1.03; background: #eeede7; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.product-card:hover .product-image img { transform: scale(1.025); }
.product-tag { position: absolute; left: 12px; top: 12px; padding: 6px 9px; border-radius: 50px; color: #354b3a; background: rgba(255,255,255,.85); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.product-info { padding: 15px; }
.product-kicker { font-size: 9px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.product-name { display: block; margin: 7px 0 8px; font-size: 14px; font-weight: 650; line-height: 1.35; min-height: 38px; }
.product-description { font-size: 11px; color: var(--muted); min-height: 33px; }
.product-price-row { display: flex; align-items: baseline; gap: 8px; margin: 13px 0; }
.product-price { font-size: 17px; font-weight: 750; letter-spacing: -.025em; }
.product-old-price { color: #949b96; text-decoration: line-through; font-size: 11px; }
.product-card .button { width: 100%; }
.empty-price { font-size: 12px; font-weight: 650; color: var(--muted); }
.promo-band { background: #344a3a; color: #fff; border-radius: 22px; padding: clamp(24px, 4vw, 46px); display: flex; justify-content: space-between; gap: 28px; align-items: center; }
.promo-band h2 { font-weight: 550; font-size: clamp(25px, 3vw, 37px); letter-spacing: -.04em; margin: 9px 0; }
.promo-band p { max-width: 540px; color: #d5ddd5; margin-bottom: 0; font-size: 13px; }
.promo-band .button { background: white; color: var(--accent-dark); border-color: white; flex-shrink: 0; }
.page-heading { padding: 36px 0 24px; }
.breadcrumbs { color: var(--muted); font-size: 11px; margin-bottom: 17px; }
.breadcrumbs a:hover { color: var(--accent); }
.page-heading h1 { font-size: clamp(31px, 4vw, 46px); margin: 0 0 12px; }
.page-heading p { color: var(--muted); max-width: 700px; font-size: 13px; margin-bottom: 0; }
.catalog-toolbar { display: flex; justify-content: space-between; gap: 15px; align-items: center; margin: 0 0 20px; flex-wrap: wrap; }
.catalog-count { font-size: 12px; color: var(--muted); }
.catalog-toolbar select { border: 1px solid var(--line); background: white; padding: 10px 13px; border-radius: 9px; color: var(--ink); }
.catalog-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 25px; padding-bottom: 56px; }
.filter-panel { border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: white; align-self: start; }
.filter-panel h3 { font-size: 13px; margin: 0 0 14px; }
.filter-link { display: block; color: var(--muted); font-size: 12px; padding: 8px 0; border-bottom: 1px solid #f0efeb; }
.filter-link:last-child { border-bottom: 0; }
.filter-link.active, .filter-link:hover { color: var(--accent); font-weight: 750; }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(25px, 5vw, 65px); padding: 20px 0 65px; }
.product-detail-visual { background: #edede7; border-radius: 20px; padding: 20px; align-self: start; }
.product-detail-visual img { width: 100%; border-radius: 12px; }
.product-detail-copy { padding-top: 12px; }
.product-detail-copy h1 { font-size: clamp(29px, 3.5vw, 44px); }
.detail-sku { color: var(--muted); font-size: 11px; }
.detail-price { font-size: 29px; font-weight: 750; margin: 20px 0 8px; }
.detail-description { color: #5f6962; font-size: 14px; white-space: pre-line; }
.specs { border-top: 1px solid var(--line); margin-top: 23px; }
.spec-row { display: flex; gap: 18px; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.spec-row span:first-child { color: var(--muted); }
.detail-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.form-card { background: white; border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 3vw, 34px); box-shadow: 0 7px 24px rgba(26,32,27,.025); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 11px; color: #59645d; font-weight: 700; }
.field input, .field textarea, .field select { border: 1px solid #dfe1da; border-radius: 10px; padding: 12px 13px; outline: 0; background: #fdfdfb; width: 100%; min-width: 0; color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: #90a08f; box-shadow: 0 0 0 3px rgba(82,107,88,.09); }
.field textarea { min-height: 95px; resize: vertical; }
.hint { font-size: 11px; color: var(--muted); }
.alert { padding: 13px 15px; border-radius: 10px; background: #f0eee6; color: #576052; font-size: 12px; margin: 14px 0; }
.alert.error { background: #fff0ed; color: var(--danger); }
.alert.success { background: #eaf2e9; color: #35553b; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .8fr); align-items: start; gap: 23px; padding-bottom: 60px; }
.cart-item { display: grid; grid-template-columns: 90px 1fr auto; gap: 15px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item:first-child { padding-top: 0; }
.cart-item img { width: 90px; height: 90px; object-fit: cover; background: #eeede7; border-radius: 11px; }
.cart-item h3 { font-size: 13px; margin: 0 0 5px; }
.cart-item small { font-size: 10px; color: var(--muted); }
.quantity-controls { display: inline-flex; align-items: center; gap: 10px; margin-top: 9px; font-size: 12px; }
.quantity-controls button { width: 25px; height: 25px; border: 1px solid var(--line); border-radius: 50%; background: white; }
.cart-item-price { text-align: right; font-size: 13px; font-weight: 750; white-space: nowrap; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; padding: 9px 0; color: var(--muted); }
.summary-row.total { color: var(--ink); border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; font-weight: 800; font-size: 16px; }
.summary-card .button { width: 100%; margin-top: 12px; }
.empty-state { padding: 35px 15px; text-align: center; background: white; border: 1px dashed #d7d8cf; border-radius: 14px; color: var(--muted); }
.empty-state h3 { color: var(--ink); margin-bottom: 8px; }
.auth-wrap { min-height: 65vh; display: grid; place-items: start center; padding: 45px 0 75px; }
.auth-card { width: min(480px, 100%); }
.auth-card h1 { font-size: 32px; }
.auth-switch { color: var(--accent); font-size: 12px; font-weight: 750; }
.admin-shell { padding: 28px 0 65px; }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 20px; }
.admin-top h1 { font-size: 34px; margin: 0; }
.admin-tabs { display: flex; gap: 7px; flex-wrap: wrap; margin: 18px 0; }
.admin-tab { background: white; border: 1px solid var(--line); border-radius: 100px; padding: 10px 14px; font-size: 11px; color: var(--muted); }
.admin-tab.active { background: var(--accent); border-color: var(--accent); color: white; }
.admin-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin: 18px 0 24px; }
.stat-card { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.stat-card span { display: block; font-size: 11px; color: var(--muted); }
.stat-card strong { display: block; font-size: 26px; margin-top: 8px; font-weight: 650; }
.admin-panel { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 18px; overflow: hidden; }
.admin-panel h2 { font-size: 17px; margin-bottom: 16px; }
.admin-columns { display: grid; grid-template-columns: minmax(0,1fr) minmax(250px,.7fr); gap: 18px; align-items: start; }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 11px; min-width: 650px; }
th, td { text-align: left; padding: 11px 10px; border-bottom: 1px solid #edede8; vertical-align: top; }
th { color: var(--muted); text-transform: uppercase; font-size: 9px; letter-spacing: .06em; background: #fafaf7; }
td strong { display: block; font-size: 11px; }
td small { color: var(--muted); font-size: 10px; }
.table-button { border: 1px solid var(--line); background: white; border-radius: 20px; padding: 6px 9px; font-size: 10px; margin: 2px; white-space: nowrap; }
.table-button:hover { border-color: var(--accent); color: var(--accent); }
.pill { display: inline-block; padding: 4px 7px; border-radius: 30px; background: #eef0e8; color: #48604b; font-size: 9px; white-space: nowrap; }
.pill.warning { background: #f6eedc; color: #826522; }
.pill.danger { background: #f9e8e5; color: #953d34; }
.site-footer { margin-top: 10px; background: #202b24; color: #f7f6f1; padding: 42px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 27px; }
.footer-brand { font-size: 16px; letter-spacing: .13em; font-weight: 750; margin-bottom: 11px; }
.footer-text { color: #c0c8bf; font-size: 11px; max-width: 280px; }
.footer-col h4 { color: #aebbb0; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 15px; }
.footer-col a { display: block; color: #e0e4dc; font-size: 11px; margin: 9px 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; border-top: 1px solid #3a453d; margin-top: 31px; padding-top: 17px; font-size: 10px; color: #9fa99f; }
.content-prose { max-width: 820px; padding-bottom: 60px; }
.content-prose h2 { font-size: 22px; margin-top: 30px; }
.content-prose p, .content-prose li { color: #58625b; font-size: 13px; }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; padding-bottom: 60px; }
.blog-card { background: white; border: 1px solid var(--line); border-radius: 15px; overflow: hidden; }
.blog-card img { aspect-ratio: 1.5 / 1; width: 100%; object-fit: cover; background: #e8e6df; }
.blog-card div { padding: 18px; }
.blog-card h3 { font-size: 16px; margin: 7px 0; }
.blog-card p { color: var(--muted); font-size: 12px; }
.hidden { display: none !important; }
.loading { color: var(--muted); font-size: 12px; padding: 22px 0; }
@media (max-width: 1000px) {
  .header-main { grid-template-columns: 180px minmax(160px,1fr) auto; gap: 14px; }
  .header-actions .login-link { display: none; }
  .product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .admin-columns { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1200px); }
  .header-main { grid-template-columns: 1fr auto; gap: 12px; padding: 14px 0; }
  .searchbar { grid-row: 2; grid-column: 1 / -1; }
  .header-actions { gap: 8px; }
  .cart-link { padding: 9px 11px; }
  .header-actions .admin-link { display: none; }
  .nav-links { gap: 19px; min-height: 43px; }
  .hero { padding-top: 15px; }
  .hero-panel { grid-template-columns: 1fr; }
  .hero-copy { padding: 30px 25px; }
  .hero-visual { min-height: 245px; }
  .hero-visual img { width: min(72%, 300px); }
  .hero-note { bottom: 15px; left: 15px; }
  .benefits { grid-template-columns: 1fr; gap: 8px; padding-bottom: 20px; }
  .benefit { padding: 12px 14px; }
  .section { padding: 27px 0; }
  .section-heading { align-items: start; }
  .section-heading .text-link { margin-top: 12px; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 175px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .product-info { padding: 11px; }
  .product-name { font-size: 12px; }
  .product-price { font-size: 15px; }
  .product-card .button { padding: 9px 8px; font-size: 10px; }
  .promo-band { align-items: flex-start; flex-direction: column; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filter-panel { display: flex; flex-wrap: wrap; gap: 8px 15px; padding: 12px; }
  .filter-panel h3 { width: 100%; margin-bottom: 0; }
  .filter-link { border: 0; padding: 5px 0; }
  .product-detail { grid-template-columns: 1fr; gap: 18px; padding-top: 5px; }
  .product-detail-copy { padding-top: 0; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 72px 1fr auto; gap: 10px; }
  .cart-item img { width: 72px; height: 72px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .field.full { grid-column: auto; }
  .admin-stats { grid-template-columns: repeat(2,1fr); }
  .admin-top { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .blog-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }

/* ─────────────────────────────────────────────────────────────
   MIYANO DESIGN REFRESH v0.2 — premium showroom direction
   Visual-only layer: all original selectors and JS hooks preserved.
   ───────────────────────────────────────────────────────────── */
:root {
  --ink: #20201e;
  --muted: #77736d;
  --paper: #f5f3ef;
  --white: #fffefd;
  --line: #e5e0d8;
  --accent: #9a7950;
  --accent-dark: #6b5030;
  --sand: #e7dfd3;
  --warm: #efebe4;
  --danger: #a33d35;
  --radius: 10px;
  --shadow: 0 20px 55px rgba(40, 34, 25, .095);
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: #d8c3a4; color: #211e19; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.container { width: min(1280px, calc(100% - 56px)); }
.demo-banner {
  padding: 8px 16px;
  background: #252522;
  color: #e9e4db;
  text-align: center;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.site-header {
  background: rgba(250, 248, 244, .96);
  border-bottom: 1px solid #ded8ce;
  box-shadow: 0 5px 18px rgba(44, 38, 29, .025);
}
.header-main {
  min-height: 92px;
  grid-template-columns: 230px minmax(220px, 1fr) auto;
  gap: clamp(18px, 3vw, 38px);
}
.brand { gap: 13px; }
.brand-mark {
  width: 44px;
  height: 44px;
  border: 1px solid #bba17d;
  color: #876742;
  border-radius: 2px;
  font-family: Georgia, serif;
  font-weight: 500;
  font-size: 25px;
}
.brand-name { font-size: 18px; letter-spacing: .19em; font-weight: 650; }
.brand-sub { color: #857d71; font-size: 9px; letter-spacing: .19em; }
.searchbar {
  border: 1px solid #ded8cf;
  border-radius: 3px;
  background: #fffdfa;
  transition: border-color .2s, box-shadow .2s;
}
.searchbar:focus-within { border-color: #b39873; box-shadow: 0 0 0 3px rgba(154,121,80,.09); }
.searchbar input { padding: 13px 16px; font-size: 12px; }
.searchbar button { color: var(--accent); width: 48px; }
.header-actions { gap: 18px; font-size: 11px; }
.header-actions a { transition: color .2s; }
.header-actions a:hover, .nav-links a:hover { color: var(--accent-dark); }
.cart-link {
  border-color: #c6b59f;
  border-radius: 3px;
  padding: 10px 13px;
}
.cart-count { background: var(--accent); border-radius: 2px; }
.nav-row { border-top: 1px solid #e8e2d9; }
.nav-links {
  min-height: 49px;
  gap: clamp(16px, 2.5vw, 34px);
  font-size: 10px;
  letter-spacing: .1em;
}
.nav-links a { position: relative; transition: color .2s; }
.nav-links a::after {
  content: "";
  position: absolute;
  height: 1px;
  left: 0;
  bottom: -7px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .22s ease;
}
.nav-links a:hover::after, .nav-links a.nav-highlight::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.nav-highlight { color: var(--accent-dark); }
.hero { padding: 30px 0 14px; }
.hero-panel {
  min-height: 495px;
  grid-template-columns: 1.03fr .97fr;
  border-radius: 4px;
  background: #292a27;
  box-shadow: 0 22px 55px rgba(41, 36, 29, .10);
}
.hero-copy { padding: clamp(34px, 5.6vw, 78px); color: #f5f0e8; }
.eyebrow {
  color: #b99b73;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .22em;
  line-height: 1.6;
}
.hero-copy h1 {
  max-width: 600px;
  margin: 21px 0 18px;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(41px, 4.5vw, 66px);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 500;
}
.hero-copy p { max-width: 435px; color: #c8c4bc; font-size: 13px; line-height: 1.85; }
.hero-actions { gap: 12px; margin-top: 20px; }
.button {
  border: 1px solid var(--accent);
  border-radius: 3px;
  padding: 14px 20px;
  background: var(--accent);
  color: #fffdf8;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .075em;
  text-transform: uppercase;
  transition: transform .2s, background .2s, border-color .2s, box-shadow .2s;
}
.button:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(8, 8, 7, .14);
}
.button--light { background: transparent; border-color: #77756e; color: #f6f0e7; }
.button--light:hover { background: #f2ece1; border-color: #f2ece1; color: #262522; }
.button--small { padding: 12px 13px; font-size: 9px; }
.hero-visual {
  background: radial-gradient(circle at 50% 43%, #fffdf8 0, #efebe3 48%, #dbd4c8 100%);
  padding: clamp(18px, 3vw, 42px);
  isolation: isolate;
}
.hero-visual::before {
  inset: 8% 10%;
  border: 1px solid rgba(154,121,80,.28);
  border-radius: 50% 50% 2px 2px;
}
.hero-visual::after {
  content: "M E I S H I D A";
  position: absolute;
  top: 25px;
  right: 27px;
  color: rgba(76, 65, 50, .55);
  font-size: 8px;
  letter-spacing: .22em;
}
.hero-visual img { width: min(92%, 490px); filter: drop-shadow(0 28px 26px rgba(39,34,25,.15)); }
.hero-note {
  bottom: 23px;
  left: 24px;
  border: 1px solid rgba(177,157,127,.35);
  border-radius: 2px;
  background: rgba(255,253,248,.82);
  color: #5d554a;
  padding: 11px 14px;
  font-size: 9px;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.benefits { gap: 0; padding: 22px 0 34px; }
.benefit {
  background: transparent;
  border: 0;
  border-right: 1px solid #ddd6cc;
  border-radius: 0;
  padding: 15px clamp(10px, 2.2vw, 27px);
}
.benefit:first-child { padding-left: 0; }
.benefit:last-child { border-right: 0; }
.benefit-icon {
  width: 42px;
  height: 42px;
  border: 1px solid #d1c3ae;
  border-radius: 50%;
  background: #ede5d9;
  color: #806441;
  font-size: 18px;
}
.benefit strong { font-size: 11px; letter-spacing: .015em; }
.benefit span { font-size: 10px; line-height: 1.5; }
.section { padding: clamp(38px, 5vw, 64px) 0; }
.section--white { background: #fffdfa; border-block: 1px solid #ebe6de; }
.section-heading { margin-bottom: 27px; }
.section-heading h2, .page-heading h1 {
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-weight: 500;
  letter-spacing: -.035em;
}
.section-heading h2 { font-size: clamp(29px, 3.4vw, 42px); margin-top: 8px; }
.section-heading p { color: #827b70; font-size: 12px; }
.text-link { color: var(--accent-dark); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.category-grid { gap: 12px; }
.category-card {
  min-height: 245px;
  padding: clamp(20px, 2.7vw, 32px);
  border: 1px solid #e2dbd1;
  border-radius: 3px;
  background: linear-gradient(145deg, #eee9e0, #e4ddd2);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.category-card:nth-child(2) { background: linear-gradient(145deg, #e7e5df, #dad8d0); }
.category-card:nth-child(3) { background: linear-gradient(145deg, #f0e7db, #e5d8c7); }
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c8b59a; }
.category-card::after {
  right: -8px;
  bottom: -52px;
  width: 174px;
  height: 205px;
  border-color: rgba(130,101,65,.22);
  border-radius: 50% 50% 5% 5%;
}
.category-card span { font-size: 9px; letter-spacing: .16em; color: #777064; }
.category-card h3 {
  max-width: 245px;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(25px, 2.5vw, 31px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.035em;
}
.category-card .category-action { font-size: 10px; letter-spacing: .07em; text-transform: uppercase; color: #765936; }
.product-grid { gap: 14px; }
.product-card {
  border: 1px solid #e8e2d9;
  border-radius: 3px;
  background: #fffdfa;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.product-card:hover { box-shadow: 0 18px 40px rgba(43,36,27,.1); border-color: #d0bea4; transform: translateY(-3px); }
.product-image { aspect-ratio: 1 / 1.07; background: #ece7de; }
.product-image img { mix-blend-mode: multiply; }
.product-tag {
  top: 12px;
  left: 12px;
  border-radius: 2px;
  padding: 7px 9px;
  background: #2a2a27;
  color: #f4ead9;
  font-size: 8px;
  letter-spacing: .12em;
}
.product-info { padding: 17px 16px 16px; }
.product-kicker { font-size: 8px; letter-spacing: .16em; }
.product-name {
  margin: 9px 0 8px;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 650;
  min-height: 38px;
}
.product-description { color: #827c72; font-size: 10px; line-height: 1.65; min-height: 33px; }
.product-price-row { margin: 16px 0; }
.product-price { font-size: 18px; font-weight: 650; letter-spacing: -.03em; }
.product-old-price { color: #9d9488; }
.product-card .button { width: 100%; }
.empty-price { font-size: 11px; color: #777064; }
.promo-band {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  border: 1px solid #3f3e37;
  background: #292a27;
  color: #faf5ed;
  padding: clamp(30px, 5vw, 57px);
}
.promo-band::after {
  content: "M";
  position: absolute;
  right: 12%;
  top: 50%;
  transform: translateY(-60%);
  font-family: Georgia, serif;
  font-size: clamp(150px, 24vw, 300px);
  line-height: 1;
  color: rgba(255,255,255,.035);
  pointer-events: none;
}
.promo-band > * { position: relative; z-index: 1; }
.promo-band h2 {
  max-width: 620px;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-weight: 500;
  font-size: clamp(29px, 3.5vw, 44px);
}
.promo-band p { color: #c9c4ba; font-size: 12px; line-height: 1.85; }
.promo-band .button { background: #e6d4bb; color: #2a2824; border-color: #e6d4bb; }
.promo-band .button:hover { background: #f5eadb; border-color: #f5eadb; }
.page-heading { padding: 42px 0 27px; }
.breadcrumbs { font-size: 10px; letter-spacing: .03em; color: #8a8276; }
.page-heading h1 { font-size: clamp(34px, 4.5vw, 52px); line-height: 1.08; }
.page-heading p { color: #787166; font-size: 12px; line-height: 1.8; }
.catalog-toolbar select {
  border-color: #ddd4c8;
  border-radius: 3px;
  padding: 11px 13px;
  background: #fffdfa;
}
.catalog-layout { gap: 26px; }
.filter-panel { border-color: #e4ddd3; border-radius: 3px; background: #fffdfa; padding: 20px; }
.filter-panel h3 { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.filter-link { border-bottom-color: #f0ebe4; font-size: 11px; }
.filter-link.active, .filter-link:hover { color: var(--accent-dark); }
.product-detail { gap: clamp(28px, 5vw, 70px); }
.product-detail-visual { background: #ece6dc; border-radius: 3px; padding: 24px; }
.product-detail-visual img { border-radius: 2px; mix-blend-mode: multiply; }
.product-detail-copy h1 { font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif; font-weight: 500; letter-spacing: -.04em; line-height: 1.08; }
.detail-price { color: #2c2925; font-size: 32px; font-weight: 650; }
.detail-description { color: #6f6a61; font-size: 13px; line-height: 1.85; }
.specs { border-top-color: #ded6cb; }
.spec-row { border-bottom-color: #e7dfd4; }
.form-card, .summary-card, .auth-card {
  border: 1px solid #e4ddd3;
  border-radius: 3px;
  background: #fffdfa;
  box-shadow: 0 12px 36px rgba(41,34,25,.045);
}
.field label { color: #635d53; font-size: 10px; letter-spacing: .025em; }
.field input, .field textarea, .field select {
  border-color: #ded6cb;
  border-radius: 3px;
  background: #fffefa;
  font-size: 12px;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: #b79b73;
  box-shadow: 0 0 0 3px rgba(154,121,80,.1);
}
.alert { border-radius: 3px; background: #f0e9df; color: #625645; }
.alert.success { background: #e8ede5; color: #35523a; }
.cart-layout { gap: 28px; }
.cart-item { border-bottom-color: #e5ddd2; }
.cart-item img { border-radius: 2px; background: #ece6dc; }
.quantity-controls button { border-color: #d9d0c3; border-radius: 2px; }
.summary-row.total { border-top-color: #ded6cb; }
.empty-state { border-color: #d6cabc; border-radius: 3px; background: #fffdfa; }
.auth-wrap { padding-top: 55px; }
.auth-card h1 { font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif; font-weight: 500; }
.auth-switch { color: var(--accent-dark); }
.admin-shell { padding-top: 38px; }
.admin-top h1 { font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif; font-weight: 500; }
.admin-tab { border-color: #e1d9ce; border-radius: 3px; background: #fffdfa; }
.admin-tab.active { background: #292a27; border-color: #292a27; }
.stat-card, .admin-panel { border-color: #e4ddd3; border-radius: 3px; background: #fffdfa; }
.stat-card strong { font-weight: 600; }
th { background: #f4f0e9; }
th, td { border-bottom-color: #ebe4da; }
.table-button { border-color: #dfd6c9; border-radius: 3px; }
.table-button:hover { border-color: var(--accent); color: var(--accent-dark); }
.pill { border-radius: 2px; background: #e9e2d6; color: #6b5435; }
.pill.warning { background: #f6ecd9; color: #7b5c25; }
.pill.danger { background: #f6e4df; color: #903a30; }
.site-footer { margin-top: 0; background: #252623; color: #f7f3ec; padding: 52px 0 22px; }
.footer-brand { letter-spacing: .2em; font-weight: 650; }
.footer-text { color: #c2bdb3; font-size: 10px; line-height: 1.85; }
.footer-col h4 { color: #bba17d; font-size: 9px; letter-spacing: .18em; }
.footer-col a { color: #e0dbd2; font-size: 10px; transition: color .2s; }
.footer-col a:hover { color: #d0b18a; }
.footer-bottom { border-top-color: #42423b; color: #a7a196; }
.content-prose h2 { font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif; font-weight: 500; }
.content-prose p, .content-prose li { color: #6f6a61; line-height: 1.85; }
.blog-grid { gap: 14px; }
.blog-card { border-color: #e7dfd5; border-radius: 3px; background: #fffdfa; transition: transform .2s, box-shadow .2s; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.blog-card img { background: #e9e2d8; }
.blog-card h3 { font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif; font-weight: 500; font-size: 19px; }
.blog-card p { color: #777064; line-height: 1.75; }

@media (max-width: 1000px) {
  .container { width: min(100% - 36px, 1280px); }
  .header-main { grid-template-columns: 190px minmax(140px,1fr) auto; gap: 14px; }
  .hero-panel { min-height: 420px; }
  .hero-copy { padding: 34px; }
  .hero-copy h1 { font-size: clamp(37px, 5vw, 53px); }
  .benefit { padding-inline: 14px; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 28px); }
  .demo-banner { font-size: 8px; letter-spacing: .08em; }
  .header-main { grid-template-columns: 1fr auto; gap: 12px; padding: 13px 0; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 15px; }
  .brand-sub { font-size: 8px; }
  .header-actions { gap: 8px; }
  .header-actions .admin-link { display: none; }
  .cart-link { font-size: 10px; padding: 9px; }
  .nav-links { min-height: 43px; gap: 18px; font-size: 9px; }
  .hero { padding-top: 14px; }
  .hero-panel { grid-template-columns: 1fr; border-radius: 3px; }
  .hero-copy { padding: 31px 25px 33px; }
  .hero-copy h1 { max-width: 440px; font-size: clamp(39px, 11vw, 54px); margin: 17px 0; }
  .hero-copy p { font-size: 12px; }
  .hero-visual { min-height: 285px; padding: 15px; }
  .hero-visual img { width: min(71%, 300px); }
  .hero-visual::before { inset: 9% 18%; }
  .hero-visual::after { top: 17px; right: 17px; }
  .hero-note { bottom: 12px; left: 12px; font-size: 8px; padding: 9px 10px; }
  .benefits { grid-template-columns: 1fr; gap: 0; padding: 12px 0 25px; }
  .benefit, .benefit:first-child { padding: 13px 0; border-right: 0; border-bottom: 1px solid #ddd6cc; }
  .benefit:last-child { border-bottom: 0; }
  .benefit-icon { width: 36px; height: 36px; }
  .section { padding: 32px 0; }
  .section-heading { align-items: flex-start; gap: 12px; }
  .section-heading h2 { font-size: 30px; }
  .section-heading p { font-size: 11px; }
  .section-heading .text-link { margin-top: 12px; font-size: 8px; }
  .category-grid { grid-template-columns: 1fr; gap: 10px; }
  .category-card { min-height: 190px; }
  .category-card h3 { font-size: 28px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
  .product-info { padding: 11px; }
  .product-name { font-size: 11px; min-height: 35px; }
  .product-description { font-size: 9px; }
  .product-price { font-size: 15px; }
  .product-card .button { padding: 10px 7px; font-size: 8px; }
  .promo-band { border-radius: 3px; padding: 27px 22px; gap: 18px; }
  .promo-band h2 { font-size: 31px; }
  .promo-band p { font-size: 11px; }
  .page-heading { padding: 32px 0 20px; }
  .page-heading h1 { font-size: 38px; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filter-panel { display: flex; flex-wrap: wrap; gap: 8px 15px; padding: 12px; }
  .filter-panel h3 { width: 100%; margin-bottom: 0; }
  .filter-link { border: 0; padding: 5px 0; }
  .product-detail { grid-template-columns: 1fr; gap: 18px; padding-top: 5px; }
  .product-detail-copy { padding-top: 0; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 68px 1fr auto; gap: 10px; }
  .cart-item img { width: 68px; height: 68px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .field.full { grid-column: auto; }
  .admin-stats { grid-template-columns: repeat(2,1fr); }
  .admin-top { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: repeat(2,1fr); gap: 23px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .blog-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* v1.2.0: manager report and order notes */
.admin-report-tools { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; margin: 17px 0 10px; }
.admin-report-tools .field { min-width: 150px; margin: 0; }
.admin-report-tools .button { min-height: 40px; }
.admin-order-note { display: block; width: 100%; min-width: 180px; min-height: 74px; margin-top: 8px; padding: 8px; border: 1px solid #ddd; border-radius: 8px; font: inherit; font-size: 12px; resize: vertical; }
.sku-copy-button { margin-left: 6px; padding: 3px 7px; border: 1px solid #d5d5d5; border-radius: 6px; background: #f4f4f4; color: #333; font-size: 10px; cursor: pointer; }
.sku-copy-button:hover { background: #e7e7e7; }
.sku-copy-status { color: #267343; font-size: 10px; }

/* v1.3.3 cart control spacing and disabled minus state */
.quantity-controls > button:disabled { opacity: .55; cursor: not-allowed; }
