/* ============================================================
   JINGYA — storefront styles
   Change the palette in :root, or the type pairing below.
   ============================================================ */

:root {
  --bg: #f8f4ec;
  --bg-soft: #f1ebe0;
  --surface: #fffdf8;
  --ink: #24221e;
  --ink-soft: #3f3b34;
  --muted: #777064;
  --line: #e2d9cb;
  --line-dark: #cfc3b2;
  --sage: #8ea58f;
  --sage-deep: #617767;
  --sage-pale: #e4ebe2;
  --clay: #b98262;
  --blush: #e8cbbd;
  --sand: #d8c6ad;
  --charcoal: #1d1d1b;
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --max: 1340px;
  --pad: clamp(20px, 4vw, 48px);
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.015em;
}
::selection { background: var(--sage); color: #fff; }
:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 3px; }

.container {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin-inline: auto;
}
.eyebrow {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.meta {
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.price { font-size: 14px; letter-spacing: .01em; white-space: nowrap; }
.price s { color: var(--muted); margin-left: 4px; font-weight: 400; }
.link-btn {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  line-height: 1.5;
}
.link-btn:hover { color: var(--sage-deep); }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--dark { background: var(--charcoal); color: #fff; }
.btn--dark:hover { background: var(--sage-deep); }
.btn--ghost { border-color: currentColor; background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--full { width: 100%; }
.btn.is-disabled, .btn[aria-disabled="true"] { opacity: .4; pointer-events: none; }

.icon-btn {
  appearance: none;
  border: 0;
  background: none;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  position: relative;
  line-height: 0;
}
.icon-btn:hover { color: var(--sage-deep); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  border-radius: 999px;
  background: var(--sage-deep);
  color: #fff;
  font-size: 9px;
  line-height: 15px;
  text-align: center;
  letter-spacing: 0;
}

/* announcement + header */
.announcement {
  position: relative;
  background: #eee5d8;
  color: var(--ink-soft);
  text-align: center;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 9px 16px;
}
.visitor-counter {
  position: absolute;
  left: var(--pad);
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}
.visitor-counter i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sage-deep);
  box-shadow: 0 0 0 3px rgba(97, 119, 103, .14);
}
.visitor-counter b { font-weight: 500; color: var(--ink); letter-spacing: .02em; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(14px);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); background: color-mix(in srgb, var(--bg) 97%, transparent); }
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 74px;
  gap: 20px;
}
.header-left, .header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-actions { justify-content: flex-end; }
.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  letter-spacing: .28em;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  padding-left: .28em;
}
.brand small {
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: .32em;
  color: var(--muted);
  margin-top: 5px;
  padding-left: .32em;
}
.brand--small { font-size: 22px; align-items: flex-start; }
.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 3.2vw, 48px);
  padding: 0 0 18px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.main-nav a { position: relative; padding: 6px 0; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; }
.header-left .search-toggle { display: none; }

/* language switch */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 6px;
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--muted);
  white-space: nowrap;
}
.lang-switch button {
  border: 0;
  background: none;
  padding: 2px 0;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .08em;
  line-height: 1.4;
}
.lang-switch button:hover { color: var(--ink); }
.lang-switch button.is-active { color: var(--ink); border-bottom: 1px solid currentColor; }
.lang-switch span { color: var(--line-dark); }
.mobile-menu__lang { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.mobile-menu__lang .lang-switch { margin: 0; }
html.lang-zh .hero h1 { font-size: clamp(48px, 5.4vw, 78px); line-height: 1.06; letter-spacing: .01em; }
html.lang-zh .hero-sub { max-width: 470px; }
html.lang-zh .section-head h2,
html.lang-zh .editorial-copy h2,
html.lang-zh .story-split__copy h2 { line-height: 1.28; letter-spacing: 0; }
html.lang-zh .product-card h3 { line-height: 1.35; letter-spacing: 0; }
html.lang-zh .product-info h1 { line-height: 1.2; letter-spacing: 0; }

/* hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 68% 44%, rgba(255,255,255,.56), transparent 34%),
    linear-gradient(104deg, #eef0e7 0%, #e7e9df 45%, #dfe6da 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(to top, rgba(190,182,164,.22), transparent);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 620px;
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: 48%;
  padding: 94px 0 88px;
}
.hero h1 {
  font-size: clamp(54px, 6.3vw, 88px);
  line-height: .92;
  letter-spacing: -.03em;
  white-space: pre-line;
  margin: 18px 0 24px;
}
.hero-sub {
  max-width: 390px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.hero .btn { margin-top: 32px; }
.hero-art {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 55%;
  height: 100%;
  pointer-events: none;
}
.hero-art--photo { overflow: hidden; }
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
}
.hero-vase {
  position: absolute;
  bottom: 42px;
  height: auto;
  filter: drop-shadow(0 24px 24px rgba(75, 66, 52, .18));
  animation: float 9s ease-in-out infinite;
}
.hero-vase--1 { width: 31%; right: 24%; bottom: 26px; animation-delay: -1s; }
.hero-vase--2 { width: 30%; right: 4%; bottom: 44px; animation-delay: -4s; }
.hero-vase--3 { width: 26%; right: 40%; bottom: 8px; animation-delay: -2.5s; }
.hero-shelf {
  position: absolute;
  right: 4%;
  bottom: 36px;
  width: 62%;
  height: 1px;
  background: rgba(86, 76, 60, .18);
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* category circles */
.category-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 3vw, 42px);
  padding: 76px 0 10px;
}
.category-card { text-align: center; display: block; }
.category-card__media {
  width: min(100%, 230px);
  margin: 0 auto 18px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-soft);
}
.category-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.category-card:hover img { transform: scale(1.05); }
.category-card span {
  font-family: var(--serif);
  font-size: 25px;
  letter-spacing: .01em;
}
.category-card small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* section headings */
.section { padding: 92px 0; }
.section--tight { padding: 64px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 {
  font-size: clamp(38px, 4.2vw, 56px);
  margin: 12px 0 14px;
}
.section-head p { color: var(--muted); font-size: 14px; }
.section-head .eyebrow { display: block; }

/* product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 2.4vw, 36px) clamp(16px, 2vw, 28px);
}
.product-card { min-width: 0; }
.product-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-soft);
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.product-card:hover .product-card__media img { transform: scale(1.035); }
.product-card__media .pill {
  position: absolute;
  top: 12px;
  left: 12px;
}
.quick-add {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 253, 248, .94);
  color: var(--ink);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .2s;
}
.product-card:hover .quick-add { opacity: 1; transform: translateY(0); }
.quick-add:hover { background: var(--charcoal); color: #fff; }
.product-card__body { padding-top: 14px; }
.product-card__top { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.product-card h3 {
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -.01em;
}
.product-card h3 a:hover { color: var(--sage-deep); }
.product-card .meta { margin-top: 4px; }
.product-card .price { margin-top: 2px; }
.swatch-row { display: flex; gap: 6px; margin-top: 11px; }
.dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--dot, #ccc);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.pill--light { background: rgba(255,253,248,.94); color: var(--ink); }

/* editorial */
.editorial {
  background: #efe6da;
  overflow: hidden;
}
.editorial-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  min-height: 620px;
}
.editorial-media {
  position: relative;
  min-height: 620px;
  background: #e7ddcf;
}
.editorial-media__main {
  position: absolute;
  left: 7%;
  top: 10%;
  width: 58%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.editorial-media__main img,
.editorial-media__small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.editorial-media__small {
  position: absolute;
  right: 8%;
  bottom: 8%;
  width: 44%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 8px solid #f4eee4;
  box-shadow: 0 20px 40px rgba(76, 62, 44, .12);
}
.editorial-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 7vw, 92px);
}
.editorial-copy h2 {
  font-size: clamp(42px, 4.5vw, 60px);
  max-width: 440px;
  margin: 14px 0 18px;
}
.editorial-copy p {
  color: var(--ink-soft);
  max-width: 420px;
  font-size: 14px;
  line-height: 1.8;
}
.editorial-copy .price { font-size: 20px; margin: 24px 0 18px; }
.editorial-copy .btn { align-self: flex-start; }

/* story split */
.story-split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(32px, 7vw, 100px);
}
.story-split__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-soft);
}
.story-split__media img { width: 100%; height: 100%; object-fit: cover; }
.story-split__copy h2 {
  font-size: clamp(38px, 4vw, 54px);
  margin: 14px 0 20px;
  max-width: 500px;
}
.story-split__copy p {
  color: var(--ink-soft);
  max-width: 470px;
  font-size: 14px;
  line-height: 1.85;
}
.story-split__copy .btn { margin-top: 28px; }

/* corners */
.corners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.corner-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-soft);
}
.corner-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.corner-card:hover img { transform: scale(1.035); }
.corner-card h3 { font-size: 23px; margin-top: 15px; }
.corner-card p { color: var(--muted); font-size: 12px; margin-top: 3px; }

/* newsletter */
.newsletter {
  background: #e9e0d2;
  padding: 74px 0;
}
.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}
.newsletter h2 { font-size: clamp(32px, 3.4vw, 46px); margin-bottom: 8px; }
.newsletter p { color: var(--muted); font-size: 13px; max-width: 420px; }
.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 8px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 8px;
  max-width: 460px;
  justify-self: end;
  width: 100%;
}
.newsletter-form .form-note { grid-column: 1 / -1; margin-top: 0; }
.newsletter-form input {
  width: 100%;
  border: 0;
  background: transparent;
  min-height: 40px;
  outline: 0;
  font-size: 13px;
}
.newsletter-form input::placeholder { color: var(--muted); }
.newsletter-form button {
  border: 0;
  background: none;
  min-width: 40px;
  min-height: 40px;
  display: grid;
  place-items: center;
}
.newsletter-form button:hover { color: var(--sage-deep); }
.form-note { min-height: 18px; margin-top: 10px; font-size: 11px; color: var(--sage-deep); }

/* footer */
.footer {
  background: #efe8dc;
  border-top: 1px solid var(--line);
  padding: 62px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .7fr .7fr 1.2fr;
  gap: 32px;
}
.footer .brand { align-items: flex-start; font-size: 25px; padding-left: 0; }
.footer .brand small { padding-left: 0; }
.footer-note { max-width: 310px; color: var(--muted); font-size: 12px; line-height: 1.7; margin-top: 16px; }
.footer h4 {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a, .footer-col span {
  display: block;
  color: var(--ink-soft);
  font-size: 12px;
  margin-bottom: 8px;
}
.footer-col a:hover { color: var(--sage-deep); }
.footer-mini {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.footer-mini a { border-bottom: 1px solid var(--line-dark); }
.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 44px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .04em;
}
.footer-bottom a { margin-left: 18px; }
.footer-bottom a:hover { color: var(--ink); }

/* page hero + collection */
.page-hero { padding: 62px 0 36px; }
.page-hero h1 { font-size: clamp(46px, 6vw, 76px); margin: 10px 0 12px; }
.page-hero p { max-width: 540px; color: var(--muted); font-size: 14px; }
.collection-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 0 0 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
}
.filters { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-pill {
  border: 1px solid var(--line-dark);
  background: transparent;
  border-radius: 999px;
  min-height: 36px;
  padding: 0 16px;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s;
}
.filter-pill:hover, .filter-pill.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.toolbar-right { display: flex; align-items: center; gap: 18px; }
.toolbar-right .meta { white-space: nowrap; }
.sort-select {
  border: 0;
  border-bottom: 1px solid var(--line-dark);
  background: transparent;
  padding: 8px 20px 8px 0;
  font-size: 11px;
  letter-spacing: .04em;
  border-radius: 0;
}
.collection-grid { padding-bottom: 90px; }

/* product page */
.product-page { padding: 30px 0 90px; }
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 18px 0 28px;
}
.breadcrumbs a:hover { color: var(--ink); }
.product-layout {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: clamp(34px, 6vw, 86px);
  align-items: start;
}
.product-gallery {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.product-thumbs { display: flex; flex-direction: column; gap: 10px; }
.gallery-thumb {
  padding: 0;
  border: 1px solid transparent;
  background: var(--bg-soft);
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.is-active { border-color: var(--ink); }
.product-main-media {
  background: var(--bg-soft);
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.product-main-media img { width: 100%; height: 100%; object-fit: cover; }
.product-info { position: sticky; top: 118px; padding-top: 8px; }
.product-info > .pill { margin-top: 8px; }
.product-info h1 { font-size: clamp(40px, 4.2vw, 56px); margin: 8px 0 8px; }
.product-info .price { font-size: 18px; margin-bottom: 20px; }
.product-info .product-desc { color: var(--ink-soft); font-size: 14px; line-height: 1.8; max-width: 470px; }
.option-block { margin-top: 26px; }
.option-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.option-label span:last-child { color: var(--muted); letter-spacing: .04em; text-transform: none; }
.color-options { display: flex; gap: 10px; }
.color-swatch {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: transparent;
  padding: 3px;
}
.color-swatch span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}
.color-swatch.is-active { border-color: var(--ink); }
.set-options { display: flex; gap: 8px; flex-wrap: wrap; }
.set-option {
  min-height: 40px;
  padding: 0 17px;
  border: 1px solid var(--line-dark);
  background: transparent;
  border-radius: 3px;
  font-size: 11px;
  letter-spacing: .04em;
}
.set-option.is-active { border-color: var(--ink); background: var(--surface); }
.qty-row { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 3px;
  min-height: 44px;
}
.qty button {
  width: 40px;
  height: 42px;
  border: 0;
  background: transparent;
  font-size: 17px;
}
.qty button:hover { color: var(--sage-deep); }
.qty input, .qty span {
  width: 42px;
  text-align: center;
  border: 0;
  background: transparent;
  font-size: 12px;
  outline: 0;
}
.qty--small { min-height: 32px; }
.qty--small button { width: 30px; height: 30px; font-size: 14px; }
.qty--small span { width: 28px; }
.product-actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 24px; }
.product-actions .btn { min-height: 50px; }
.product-subactions {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.product-subactions button { border: 0; background: none; padding: 0; color: inherit; }
.product-subactions button:hover { color: var(--ink); }
.accordion { border-bottom: 1px solid var(--line); }
.accordion details { border-top: 1px solid var(--line); }
.accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 52px;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 17px; font-weight: 300; }
.accordion details[open] summary::after { content: "−"; }
.accordion .accordion-body { padding: 0 0 20px; color: var(--ink-soft); font-size: 13px; line-height: 1.8; }
.accordion .accordion-body p + p { margin-top: 8px; }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; font-size: 12px; }
.spec-list dt { color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.spec-list dd { margin: 0 0 8px; }

.product-detail { border-top: 1px solid var(--line); padding: 74px 0 20px; }
.product-detail__head { text-align: center; max-width: 720px; margin: 0 auto 38px; }
.product-detail__head h2 { font-size: clamp(34px, 4vw, 50px); margin: 12px 0 12px; }
.product-detail__head p { color: var(--muted); font-size: 14px; }
.detail-images {
  display: grid;
  grid-template-columns: 1.1fr .9fr 1.1fr;
  gap: 18px;
  align-items: end;
}
.detail-images__item { background: var(--bg-soft); overflow: hidden; }
.detail-images__item img { width: 100%; height: 100%; object-fit: cover; }
.detail-images__item:nth-child(1), .detail-images__item:nth-child(3) { aspect-ratio: 4 / 5; }
.detail-images__item:nth-child(2) { aspect-ratio: 4 / 5; margin-bottom: 34px; }
.spec-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 48px;
  padding: 24px 0;
}
.spec-row h4 {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.spec-row p { color: var(--ink-soft); font-size: 12px; line-height: 1.6; }
.pairs { padding-top: 80px; }
.pairs-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.pairs-head h2 { font-size: clamp(32px, 3.6vw, 46px); }

/* simple pages */
.simple-hero {
  padding: 76px 0 54px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.simple-hero h1 { font-size: clamp(48px, 6.4vw, 84px); max-width: 880px; margin: 14px 0 16px; }
.simple-hero p { max-width: 610px; color: var(--ink-soft); font-size: 15px; }
.story-page { padding-bottom: 90px; }
.story-page .split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 7vw, 100px);
  align-items: center;
  padding: 80px 0;
}
.story-page .split img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; }
.story-page .split h2 { font-size: clamp(36px, 4vw, 52px); margin-bottom: 18px; }
.story-page .split p { color: var(--ink-soft); font-size: 14px; line-height: 1.9; margin-bottom: 14px; }
.prose { max-width: 760px; margin: 0 auto; padding: 70px 0 40px; }
.prose h2 { font-size: 38px; margin: 34px 0 14px; }
.prose h3 { font-size: 26px; margin: 24px 0 10px; }
.prose p, .prose li { color: var(--ink-soft); font-size: 14px; line-height: 1.9; }
.prose ul { padding-left: 18px; }
.prose li { margin-bottom: 7px; }

/* contact */
.contact-page { padding: 70px 0 100px; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 7vw, 100px); align-items: start; }
.contact-intro h1 { font-size: clamp(44px, 5.5vw, 72px); margin: 12px 0 18px; }
.contact-intro p { color: var(--ink-soft); font-size: 14px; line-height: 1.8; max-width: 420px; }
.contact-details { margin-top: 34px; display: grid; gap: 16px; }
.contact-details a, .contact-details span { font-size: 13px; }
.contact-details a { border-bottom: 1px solid var(--line-dark); width: fit-content; }
.contact-form { display: grid; gap: 18px; }
.field label { display: block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 7px; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid var(--line-dark);
  background: var(--surface);
  border-radius: 2px;
  min-height: 46px;
  padding: 11px 13px;
  font-size: 13px;
  outline: 0;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--sage-deep); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* policies */
.policy-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 0 0;
}
.policy-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.policy-nav a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.policy-list { max-width: 900px; margin: 0 auto; padding: 20px 0 90px; }
.policy-list details { border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.policy-list details:last-child { border-bottom: 1px solid var(--line); }
.policy-list summary {
  list-style: none;
  cursor: pointer;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--serif);
  font-size: 26px;
}
.policy-list summary::-webkit-details-marker { display: none; }
.policy-list summary::after { content: "+"; font-family: var(--sans); font-size: 18px; }
.policy-list details[open] summary::after { content: "−"; }
.policy-body { padding: 0 0 26px; max-width: 710px; color: var(--ink-soft); font-size: 13px; line-height: 1.9; }
.policy-body p + p { margin-top: 10px; }

/* checkout */
.checkout-page { padding: 50px 0 90px; }
.checkout-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.checkout-form { display: grid; gap: 18px; }
.checkout-form h2 { font-size: 34px; margin: 12px 0 4px; }
.checkout-summary { background: #efe7db; padding: 30px; position: sticky; top: 116px; }
.checkout-summary h2 { font-size: 30px; margin-bottom: 20px; }
.checkout-line { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; font-size: 13px; border-bottom: 1px solid rgba(120,110,96,.18); }
.checkout-line.muted { color: var(--muted); }
.checkout-item { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(120,110,96,.18); }
.checkout-item img { width: 58px; aspect-ratio: 4/5; object-fit: cover; }
.checkout-item h3 { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 0; }
.checkout-item p { font-size: 11px; color: var(--muted); }
.checkout-item strong { font-size: 12px; font-weight: 500; }
.checkout-note { font-size: 11px; color: var(--muted); line-height: 1.7; margin-top: 14px; }
.checkout-success { background: var(--sage-pale); border: 1px solid #c8d6c6; padding: 22px; margin-top: 18px; }
.checkout-success h3 { font-size: 24px; margin-bottom: 6px; }
.checkout-success p { font-size: 13px; color: var(--ink-soft); }
.paypal-host { margin-top: 16px; max-width: 420px; position: relative; z-index: 2; }
.radio-row { display: grid; gap: 8px; }
.radio-option { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-dark); background: var(--surface); padding: 12px 14px; font-size: 12px; }
.radio-option input { accent-color: var(--sage-deep); }
.radio-option span { flex: 1; }

/* cart */
.cart-drawer { position: fixed; inset: 0; z-index: 1000; pointer-events: none; }
.cart-drawer.is-open { pointer-events: auto; }
.cart-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 27, 22, .34);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.cart-drawer.is-open .cart-overlay { opacity: 1; }
.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100%);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .42s var(--ease);
  box-shadow: -20px 0 60px rgba(40, 33, 24, .13);
}
.cart-drawer.is-open .cart-panel { transform: translateX(0); }
.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 24px 18px;
  border-bottom: 1px solid var(--line);
}
.cart-head h2 { font-size: 28px; margin-top: 3px; }
.cart-head h2 span { font-size: 15px; color: var(--muted); vertical-align: middle; }
.cart-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.cart-item { display: grid; grid-template-columns: 82px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 82px; aspect-ratio: 4/5; object-fit: cover; background: var(--bg-soft); }
.cart-item__head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.cart-item h3 { font-family: var(--serif); font-size: 21px; line-height: 1.05; }
.cart-item .meta { margin-top: 4px; }
.cart-item__bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; }
.cart-empty { padding: 54px 4px; text-align: center; }
.cart-empty h2 { font-size: 34px; margin: 10px 0 12px; }
.cart-empty p { color: var(--muted); font-size: 13px; line-height: 1.7; max-width: 280px; margin: 0 auto 24px; }
.cart-foot { border-top: 1px solid var(--line); padding: 20px 24px 24px; background: var(--surface); }
.cart-line { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; padding: 3px 0; }
.cart-line--muted { color: var(--muted); font-size: 11px; }
.cart-note { color: var(--muted); font-size: 10.5px; line-height: 1.6; margin: 12px 0 16px; }
.cart-continue { display: block; margin: 13px auto 0; }

/* search */
.search-modal { position: fixed; inset: 0; z-index: 1100; pointer-events: none; }
.search-modal.is-open { pointer-events: auto; }
.search-overlay { position: absolute; inset: 0; background: rgba(30, 27, 22, .4); opacity: 0; transition: opacity .3s; }
.search-modal.is-open .search-overlay { opacity: 1; }
.search-panel {
  position: relative;
  width: min(720px, calc(100% - 40px));
  margin: 10vh auto 0;
  background: var(--surface);
  padding: 18px;
  transform: translateY(-14px);
  opacity: 0;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  box-shadow: 0 30px 80px rgba(40, 33, 24, .18);
}
.search-modal.is-open .search-panel { transform: translateY(0); opacity: 1; }
.search-head { display: flex; gap: 10px; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.search-head input { flex: 1; border: 0; background: transparent; min-height: 46px; font-size: 18px; outline: 0; }
.search-results { padding-top: 12px; max-height: 55vh; overflow-y: auto; }
.search-hint { color: var(--muted); font-size: 12px; padding: 14px 2px; }
.search-result { display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.search-result img { width: 54px; aspect-ratio: 4/5; object-fit: cover; background: var(--bg-soft); }
.search-result strong { display: block; font-family: var(--serif); font-size: 20px; font-weight: 500; }
.search-result small { color: var(--muted); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.search-result:hover strong { color: var(--sage-deep); }

/* mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 1200; pointer-events: none; }
.mobile-menu.is-open { pointer-events: auto; }
.mobile-menu__overlay { position: absolute; inset: 0; background: rgba(30, 27, 22, .36); opacity: 0; transition: opacity .3s; }
.mobile-menu.is-open .mobile-menu__overlay { opacity: 1; }
.mobile-menu__panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(330px, 88%);
  background: var(--surface);
  padding: 22px;
  transform: translateX(-100%);
  transition: transform .35s var(--ease);
  display: flex;
  flex-direction: column;
}
.mobile-menu.is-open .mobile-menu__panel { transform: translateX(0); }
.mobile-menu__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.mobile-menu__panel > a {
  font-family: var(--serif);
  font-size: 30px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu__foot { margin-top: auto; padding-top: 24px; display: grid; gap: 8px; color: var(--muted); font-size: 12px; }

/* toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 1300;
  transform: translate(-50%, 16px);
  background: var(--charcoal);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: .04em;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  max-width: calc(100vw - 30px);
  text-align: center;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* reveal */
.js .js-reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .js-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* responsive */
@media (max-width: 1100px) {
  .visitor-counter { font-size: 8px; letter-spacing: .04em; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-copy { width: 52%; }
  .hero-art { width: 52%; }
  .footer-grid { grid-template-columns: 1.2fr .8fr .8fr; }
  .footer-grid > :last-child { grid-column: 1 / -1; padding-top: 18px; }
  .product-layout { gap: 36px; }
  .product-info h1 { font-size: 42px; }
  .detail-images { gap: 12px; }
}

@media (max-width: 900px) {
  .visitor-counter { left: 12px; font-size: 8px; gap: 4px; }
  .main-nav { display: none; }
  .header-inner { min-height: 64px; }
  .menu-toggle { display: inline-flex; }
  .header-left .search-toggle { display: inline-flex; }
  .header-actions .search-toggle { display: none; }
  .header-actions .lang-switch { display: none; }
  .header-actions .account-link, .header-actions .wishlist-link { display: none; }
  .brand { font-size: 24px; }
  .hero { min-height: 0; display: block; padding-bottom: 30px; }
  .hero-inner { display: block; min-height: 0; }
  .hero-copy { width: 100%; padding: 64px 0 20px; }
  .hero h1 { font-size: clamp(48px, 10vw, 74px); }
  .hero-art { position: relative; width: 100%; height: 360px; right: auto; bottom: auto; }
  .hero-vase--1 { width: 33%; right: 38%; bottom: 12px; }
  .hero-vase--2 { width: 32%; right: 8%; bottom: 28px; }
  .hero-vase--3 { width: 27%; right: 64%; bottom: 0; }
  .hero-shelf { left: 10%; right: 10%; width: 80%; bottom: 12px; }
  .category-row { grid-template-columns: repeat(2, 1fr); padding-top: 54px; gap: 18px; }
  .category-card__media { width: min(100%, 170px); }
  .category-card span { font-size: 21px; }
  .section { padding: 66px 0; }
  .editorial-grid { grid-template-columns: 1fr; }
  .editorial-media { min-height: 480px; }
  .editorial-copy { padding: 50px var(--pad) 58px; }
  .story-split { grid-template-columns: 1fr; gap: 34px; }
  .story-split__media { aspect-ratio: 4 / 3; }
  .corners-grid { grid-template-columns: 1fr 1fr; }
  .corners-grid > :last-child { grid-column: 1 / -1; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 22px; }
  .newsletter-form { justify-self: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :last-child { grid-column: auto; padding-top: 0; }
  .collection-toolbar { align-items: flex-start; flex-direction: column; }
  .toolbar-right { width: 100%; justify-content: space-between; }
  .product-layout { grid-template-columns: 1fr; gap: 40px; }
  .product-info { position: static; }
  .product-gallery { grid-template-columns: 68px minmax(0, 1fr); }
  .product-info h1 { font-size: clamp(40px, 7vw, 54px); }
  .spec-row { grid-template-columns: repeat(3, 1fr); }
  .detail-images { grid-template-columns: 1fr 1fr; }
  .detail-images__item:nth-child(2) { margin-bottom: 0; }
  .detail-images__item:nth-child(3) { display: none; }
  .story-page .split { grid-template-columns: 1fr; gap: 28px; padding: 50px 0; }
  .story-page .split--reverse .split-media { order: 2; }
  .contact-grid, .checkout-grid { grid-template-columns: 1fr; gap: 40px; }
  .checkout-summary { position: static; }
}

@media (max-width: 640px) {
  :root { --pad: 18px; }
  .announcement { font-size: 7px; letter-spacing: .05em; padding: 7px 10px 7px 64px; line-height: 1.4; }
  .announcement > span[data-site] { display: block; max-width: 100%; overflow-wrap: anywhere; }
  .visitor-counter { left: 8px; font-size: 7px; gap: 3px; letter-spacing: .02em; }
  .visitor-counter i { width: 4px; height: 4px; box-shadow: 0 0 0 2px rgba(97, 119, 103, .14); }
  .header-inner { min-height: 58px; }
  .header-left { gap: 2px; }
  .header-actions { gap: 0; }
  .icon-btn svg { width: 19px; height: 19px; }
  .brand { font-size: 21px; letter-spacing: .22em; }
  .brand small { font-size: 7px; margin-top: 4px; }
  .hero-copy { padding: 48px 0 12px; }
  .hero h1 { font-size: clamp(38px, 11vw, 48px); margin: 14px 0 18px; overflow-wrap: break-word; }
  html.lang-zh .hero h1 { font-size: clamp(36px, 10.5vw, 46px); }
  .hero-sub { font-size: 13.5px; max-width: 100%; }
  .hero-art { height: 290px; }
  .hero-vase--1 { width: 27%; right: 56%; bottom: 16px; }
  .hero-vase--2 { width: 29%; right: 29%; bottom: 22px; }
  .hero-vase--3 { width: 24%; right: 4%; bottom: 8px; }
  .category-row { grid-template-columns: repeat(2, 1fr); gap: 14px; padding-top: 44px; }
  .category-card__media { width: 100%; margin-bottom: 10px; }
  .category-card span { font-size: 17px; }
  .category-card small { font-size: 8px; }
  .section { padding: 54px 0; }
  .section-head { margin-bottom: 30px; }
  .section-head h2 { font-size: 36px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 26px 12px; }
  .product-card h3 { font-size: 18px; }
  .product-card .meta { font-size: 8.5px; letter-spacing: .06em; }
  .product-card .price { font-size: 12px; }
  .quick-add { opacity: 1; transform: none; min-height: 36px; left: 8px; right: 8px; bottom: 8px; font-size: 9px; }
  .pill { min-height: 21px; padding: 0 8px; font-size: 8px; }
  .swatch-row { margin-top: 8px; }
  .dot { width: 9px; height: 9px; }
  .editorial-media { min-height: 380px; }
  .editorial-media__main { width: 64%; left: 6%; top: 9%; }
  .editorial-media__small { width: 45%; right: 6%; bottom: 7%; }
  .editorial-copy h2 { font-size: 38px; }
  .story-split__copy h2 { font-size: 38px; }
  .corners-grid { grid-template-columns: 1fr; gap: 30px; }
  .corners-grid > :last-child { grid-column: auto; }
  .newsletter { padding: 52px 0; }
  .newsletter h2 { font-size: 34px; }
  .footer { padding: 44px 0 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; margin-top: 30px; }
  .footer-bottom a { margin-left: 0; margin-right: 14px; }
  .page-hero { padding: 44px 0 26px; }
  .page-hero h1 { font-size: 48px; }
  .collection-grid { padding-bottom: 60px; }
  .filters { gap: 5px; }
  .filter-pill { min-height: 32px; padding: 0 11px; font-size: 9px; }
  .sort-select { font-size: 10px; }
  .product-page { padding-top: 8px; }
  .breadcrumbs { padding: 12px 0 18px; font-size: 9px; }
  .product-gallery { grid-template-columns: 56px minmax(0, 1fr); gap: 10px; }
  .product-thumbs { gap: 7px; }
  .product-info { padding-top: 0; }
  .product-info h1 { font-size: 42px; }
  .product-info .price { font-size: 16px; }
  .product-actions .btn { min-height: 48px; }
  .product-detail { padding-top: 50px; }
  .detail-images { grid-template-columns: 1fr; }
  .detail-images__item:nth-child(2) { display: none; }
  .detail-images__item:nth-child(1) { aspect-ratio: 4 / 5; }
  .spec-row { grid-template-columns: 1fr 1fr; gap: 18px; }
  .pairs { padding-top: 54px; }
  .pairs-head { align-items: flex-start; flex-direction: column; }
  .field-row { grid-template-columns: 1fr; }
  .contact-page { padding: 40px 0 60px; }
  .contact-intro h1 { font-size: 48px; }
  .simple-hero { padding: 50px 0 36px; }
  .simple-hero h1 { font-size: 50px; }
  .prose { padding: 46px 0 30px; }
  .prose h2 { font-size: 32px; }
  .policy-list summary { font-size: 23px; min-height: 58px; }
  .checkout-page { padding: 34px 0 60px; }
  .checkout-summary { padding: 22px 18px; }
  .cart-panel { width: 100%; }
  .cart-head, .cart-body, .cart-foot { padding-left: 18px; padding-right: 18px; }
  .toast { max-width: calc(100% - 26px); white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .js-reveal { opacity: 1; transform: none; }
}

/* Admin gate */
.admin-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(29, 36, 30, .55);
  backdrop-filter: blur(4px);
}
.admin-gate[hidden] { display: none !important; }
.admin-gate__shell {
  position: relative;
  width: min(440px, 100%);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 34px;
  box-shadow: 0 30px 80px rgba(24, 30, 24, .28);
}
.admin-gate__shell.is-frame {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #f7f3ec;
  box-shadow: none;
}
.admin-gate__close {
  position: absolute;
  top: 8px;
  right: 12px;
  z-index: 2;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}
.admin-gate__login h2 { font-size: clamp(34px, 6vw, 46px); margin: 4px 0 22px; }
.admin-gate__form { display: grid; gap: 14px; }
.admin-gate__form .field span { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.admin-gate__frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  min-height: calc(100vh - 48px);
  background: #fff;
}
.footer-admin {
  border: 0;
  background: transparent;
  padding: 0;
  margin-left: 16px;
  font: inherit;
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
}
.footer-admin:hover { color: var(--ink); }
@media (max-width: 640px) {
  .admin-gate { padding: 0; }
  .admin-gate__shell { width: 100%; height: 100%; padding: 28px 20px; }
  .admin-gate__shell.is-frame { padding: 0; }
  .admin-gate__frame { min-height: 100vh; }
}

.howto-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.howto-step > span { font-family: var(--serif); font-size: 18px; color: var(--muted); }
.howto-step strong { display: block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 5px; }
.howto-step p { font-size: 13px; color: var(--ink-soft); line-height: 1.7; }
