/* ============================================================
   LUMÉ — a considered storefront
   Part 1: foundations, chrome, home page
   ============================================================ */

:root {
  --paper: #faf7f2;
  --paper-2: #f2ebdf;
  --paper-3: #eae1d3;
  --card: #fffdfa;
  --ink: #17130f;
  --ink-2: #4a433b;
  --muted: #8a8177;
  --line: #e8e0d3;
  --accent: #cf5a36;
  --accent-2: #e8855f;
  --accent-deep: #a8421f;
  --sage: #6f8262;
  --gold: #c4993f;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --radius-s: 12px;
  --radius: 20px;
  --radius-l: 30px;
  --shadow-sm: 0 2px 10px rgba(23, 19, 15, 0.05);
  --shadow-md: 0 20px 45px -24px rgba(23, 19, 15, 0.32);
  --shadow-lg: 0 44px 90px -46px rgba(23, 19, 15, 0.48);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1240px;
}

*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  background:
    radial-gradient(1100px 560px at 88% -8%, #f7e9de 0%, rgba(247, 233, 222, 0) 62%),
    var(--paper);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-weight: 500; line-height: 1.1; }
[hidden] { display: none !important; }

::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 400;
}
.skip:focus { left: 16px; }

/* ---------------- typography & bits ---------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  padding: 8px 14px;
  border-radius: 99px;
  line-height: 1;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(207, 90, 54, 0.16);
  animation: pulse 2.6s infinite;
}

.stars {
  --rating: 5;
  position: relative;
  display: inline-block;
  font-size: 11px;
  letter-spacing: 1.5px;
  line-height: 1;
  color: #d9d1c4;
  white-space: nowrap;
}
.stars::before {
  content: "★★★★★";
  position: absolute;
  inset: 0;
  width: calc(var(--rating) / 5 * 100%);
  overflow: hidden;
  color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease),
    transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--ink); color: #faf7f2; }
.btn-primary:hover { background: var(--accent); box-shadow: 0 16px 30px -18px rgba(207, 90, 54, 0.7); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-deep); box-shadow: 0 16px 30px -18px rgba(168, 66, 31, 0.7); }
.btn-ghost { border-color: var(--line); background: rgba(255, 255, 255, 0.45); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: #fff; }
.btn-light { background: #f7f0e5; color: var(--ink); }
.btn-light:hover { background: #fff; box-shadow: 0 18px 35px -22px rgba(0, 0, 0, 0.6); }
.btn-sm { height: 44px; padding: 0 20px; font-size: 12.5px; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(23, 19, 15, 0.35);
  transition: gap 0.3s var(--ease), color 0.3s, border-color 0.3s;
}
.link-arrow svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.link-arrow:hover { gap: 14px; color: var(--accent); border-color: var(--accent); }
.link-arrow:hover svg { transform: translateX(2px); }

/* ---------------- announcement ---------------- */
.announcement {
  background: var(--ink);
  color: #f1e7d8;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 9px 20px;
  text-align: center;
}
.announcement .spark { color: var(--accent-2); display: inline-flex; }
.announcement .spark svg { width: 11px; height: 11px; }

/* ---------------- header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(250, 247, 242, 0.82);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 14px 34px -28px rgba(23, 19, 15, 0.45);
  background: rgba(250, 247, 242, 0.93);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 36px;
  height: 76px;
}
.brand {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  color: var(--ink);
  flex: none;
}
.brand-dot { color: var(--accent); font-size: 29px; transform: translateY(2px); margin-left: 1px; }

.nav { display: flex; gap: 30px; margin-inline: auto; }
.nav a {
  position: relative;
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 8px 0;
  transition: color 0.25s;
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after,
.nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav a.is-active { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 2px; margin-left: auto; flex: none; }
.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink-2);
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.icon-btn:hover { background: rgba(23, 19, 15, 0.06); color: var(--ink); }
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn.bump { animation: bump 0.45s var(--ease); }

.badge-count {
  position: absolute;
  top: 1px;
  right: -1px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--accent);
  color: #fff;
  font-size: 9.5px;
  font-weight: 600;
  display: grid;
  place-items: center;
  line-height: 1;
  box-shadow: 0 0 0 2px var(--paper);
}
.avatar-initials {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: #faf7f2;
  display: grid;
  place-items: center;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.menu-toggle { display: none; }

/* search panel */
.search-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 50px -40px rgba(23, 19, 15, 0.6);
  animation: panelIn 0.35s var(--ease);
}
.search-inner { padding: 26px 0 24px; }
.search-form {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 14px;
}
.search-form > svg { width: 22px; height: 22px; color: var(--muted); flex: none; }
.search-form input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 30px);
  letter-spacing: -0.01em;
  min-width: 0;
}
.search-form input::placeholder { color: #b6ab9d; }
.search-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: 0.2s;
}
.search-close:hover { background: var(--paper-2); color: var(--ink); }
.search-close svg { width: 18px; height: 18px; }
.search-suggestions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
  font-size: 11px;
}
.search-suggestions > span {
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-right: 6px;
}
.search-suggestions a {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--ink-2);
  transition: 0.2s;
}
.search-suggestions a:hover { border-color: var(--ink); color: var(--ink); background: #fff; }

/* ---------------- mobile menu ---------------- */
.mobile-menu { position: fixed; inset: 0; z-index: 200; }
.mobile-scrim {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 12, 0.48);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  animation: fade 0.3s ease;
}
.mobile-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(88vw, 370px);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  padding: 22px 24px 30px;
  box-shadow: -30px 0 80px -40px rgba(0, 0, 0, 0.5);
  animation: slideIn 0.42s var(--ease);
  overflow-y: auto;
}
.mobile-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.mobile-links { display: grid; }
.mobile-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1.1;
  color: var(--ink);
  transition: color 0.2s, padding-left 0.25s;
}
.mobile-links a:hover { color: var(--accent); padding-left: 4px; }
.mobile-links a svg { width: 15px; height: 15px; color: var(--muted); }
.mobile-account { display: grid; gap: 10px; margin-top: 28px; }
.mobile-hello { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.mobile-hello strong { color: var(--ink); }
.mobile-foot {
  margin-top: auto;
  padding-top: 36px;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.8;
}
.mobile-foot svg { width: 12px; height: 12px; color: var(--accent); }

/* ---------------- hero ---------------- */
.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
  padding: clamp(42px, 6vw, 78px) 0 clamp(56px, 7vw, 92px);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 5.6vw, 4.9rem);
  font-weight: 400;
  line-height: 1.01;
  letter-spacing: -0.028em;
  margin: 22px 0 24px;
}
.hero h1 em { font-style: italic; color: var(--accent); position: relative; }
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 2%; right: 2%; bottom: 7%;
  height: 0.07em;
  border-radius: 99px;
  background: currentColor;
  opacity: 0.3;
}
.hero .lede {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 42px; }
.avatars { display: flex; }
.avatars span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--paper);
  margin-left: -11px;
  display: grid;
  place-items: center;
  font-size: 10.5px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}
.avatars span:first-child { margin-left: 0; }
.proof-text { font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.proof-text strong { color: var(--ink); font-weight: 600; }
.proof-text .stars { font-size: 10px; margin-bottom: 3px; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-blob {
  position: absolute;
  inset: 9% -1% 10% 17%;
  background: linear-gradient(140deg, #efd6c2, #dbe2d1 52%, #f2e6d9);
  border-radius: 48% 52% 46% 54% / 55% 46% 54% 45%;
  transform: rotate(-5deg);
  z-index: 0;
}
.hero-frame {
  z-index: 1;
  width: min(100%, 468px);
  border-radius: 240px 240px 28px 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--paper-2);
}
.hero-frame img {
  width: 100%;
  height: clamp(420px, 58vh, 560px);
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.hero-frame:hover img { transform: scale(1.035); }
.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(20, 15, 10, 0) 55%, rgba(20, 15, 10, 0.3));
  pointer-events: none;
}
.float-card {
  position: absolute;
  z-index: 2;
  left: -22px;
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 17px 11px 11px;
  border-radius: 16px;
  background: rgba(255, 253, 250, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow-md);
  animation: floaty 6.5s ease-in-out infinite;
}
.float-card img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.float-meta small {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1px;
}
.float-meta strong { font-size: 13.5px; font-weight: 600; display: block; line-height: 1.3; }
.float-meta .price { font-size: 12px; color: var(--ink-2); }
.float-chip {
  position: absolute;
  right: -12px;
  top: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(23, 19, 15, 0.94);
  color: #f6efe4;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-md);
  animation: floaty 7.5s ease-in-out infinite reverse;
}
.float-chip .stars { color: rgba(255, 255, 255, 0.22); font-size: 10px; }
.float-chip .stars::before { color: #e6b95c; }

/* ---------------- marquee ---------------- */
.marquee {
  background: var(--ink);
  color: #efe6d8;
  overflow: hidden;
  padding: 21px 0;
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
  font-family: var(--font-display);
  font-size: clamp(19px, 2.3vw, 27px);
  font-style: italic;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.marquee-item .sep { color: var(--accent-2); font-style: normal; font-size: 0.75em; }

/* ---------------- sections ---------------- */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(30px, 4vw, 46px);
}
.section-head .eyebrow { margin-bottom: 16px; }
.section h2,
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.022em;
}
.section-sub { color: var(--muted); font-size: 14.5px; max-width: 46ch; margin-top: 12px; }
.section-head .link-arrow { margin-bottom: 8px; flex: none; }

/* ---------------- categories ---------------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 205px;
  gap: 16px;
}
.category-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  isolation: isolate;
}
.category-card:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), opacity 0.4s;
  z-index: -2;
}
.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 12, 8, 0.04) 32%, rgba(16, 12, 8, 0.72));
  z-index: -1;
  transition: background 0.4s;
}
.category-card:hover img { transform: scale(1.07); }
.category-content {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.category-content h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.category-card:nth-child(1) .category-content { padding: 28px; }
.category-card:nth-child(1) .category-content h3 { font-size: 30px; }
.category-content small {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
}
.cat-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  display: grid;
  place-items: center;
  flex: none;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.35s var(--ease);
}
.cat-arrow svg { width: 15px; height: 15px; }
.category-card:hover .cat-arrow {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  transform: translate(2px, -2px);
}

/* ---------------- product cards ---------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 38px 24px;
}
.product-card { min-width: 0; }
.product-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 4.7;
  background: linear-gradient(145deg, #f1e9de, #e6ddcf);
  isolation: isolate;
}
.product-media-link { display: block; width: 100%; height: 100%; }
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.055); }

.tag {
  position: absolute;
  left: 13px;
  top: 13px;
  padding: 6px 11px;
  border-radius: 99px;
  background: rgba(255, 253, 250, 0.93);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--ink);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
}
.tag-warn { background: var(--accent); color: #fff; }

.wish {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 253, 250, 0.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink-2);
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.3s, transform 0.3s var(--ease), color 0.25s, background 0.25s;
}
.wish svg { width: 17px; height: 17px; }
.wish:hover { background: #fff; color: var(--accent); }
.wish.is-on { opacity: 1; transform: none; color: var(--accent); }
.wish.is-on svg { fill: currentColor; }
.product-card:hover .wish { opacity: 1; transform: none; }

.quick-add {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(23, 19, 15, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #faf7f2;
  font-size: 12px;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.35s var(--ease), background 0.25s;
}
.quick-add svg { width: 16px; height: 16px; }
.quick-add:hover { background: var(--accent); }
.quick-add.is-added { background: var(--sage); }
.product-card:hover .quick-add { opacity: 1; transform: none; }

.product-info { padding: 15px 3px 0; }
.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.rating { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; letter-spacing: 0.02em; color: var(--ink-2); }
.rating .stars { font-size: 9.5px; letter-spacing: 1px; }
.product-title { font-size: 15.5px; font-weight: 500; letter-spacing: -0.012em; line-height: 1.35; }
.product-title a { transition: color 0.2s; }
.product-card:hover .product-title a { color: var(--accent-deep); }
.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 7px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.price s { color: var(--muted); font-weight: 400; font-size: 12px; }

/* ---------------- editorial ---------------- */
.editorial {
  position: relative;
  overflow: hidden;
  margin-top: 8px;
  padding: clamp(64px, 8vw, 100px) 0;
  background: var(--ink);
  color: #f4ecdf;
}
.editorial::before {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  right: -160px;
  top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(207, 90, 54, 0.24), transparent 66%);
  pointer-events: none;
}
.editorial-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.editorial-media {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: 0 40px 80px -50px rgba(0, 0, 0, 0.9);
}
.editorial-media img { width: 100%; aspect-ratio: 1 / 1.1; object-fit: cover; }
.editorial-media::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: calc(var(--radius-l) - 10px);
  pointer-events: none;
}
.editorial-copy .eyebrow {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.2);
  color: #e9ddcb;
}
.editorial-copy .eyebrow .dot { background: var(--accent-2); box-shadow: 0 0 0 4px rgba(232, 133, 95, 0.14); }
.editorial-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.025em;
  margin: 20px 0;
}
.editorial-copy h2 em { font-style: italic; color: var(--accent-2); }
.editorial-copy > p { color: rgba(244, 236, 223, 0.7); max-width: 46ch; font-size: 14.5px; }
.editorial-list { display: grid; gap: 13px; margin: 28px 0 32px; }
.editorial-list li { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: rgba(244, 236, 223, 0.9); }
.check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  background: rgba(207, 90, 54, 0.24);
  color: #f0a989;
}
.check svg { width: 12px; height: 12px; }
.stats {
  display: flex;
  gap: clamp(24px, 4vw, 44px);
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 400;
  color: #fff;
  line-height: 1;
}
.stat span {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(244, 236, 223, 0.48);
}

/* ---------------- perks ---------------- */
.perks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: clamp(48px, 6vw, 72px) 0;
  border-bottom: 1px solid var(--line);
}
.perk { padding: 4px 28px; border-left: 1px solid var(--line); }
.perk:first-child { padding-left: 0; border-left: 0; }
.perk-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f1e9dd;
  color: var(--ink);
  margin-bottom: 16px;
}
.perk-icon svg { width: 20px; height: 20px; }
.perk h3 { font-size: 14.5px; font-weight: 600; margin-bottom: 5px; letter-spacing: -0.01em; }
.perk p { font-size: 12.5px; color: var(--muted); line-height: 1.65; }

/* ---------------- newsletter ---------------- */
.newsletter { padding-bottom: clamp(64px, 8vw, 100px); }
.newsletter-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: clamp(38px, 6vw, 68px);
  border-radius: var(--radius-l);
  background: linear-gradient(118deg, #b8401f 0%, #d8693f 52%, #d9a05f 100%);
  color: #fff;
  box-shadow: 0 40px 80px -50px rgba(140, 55, 20, 0.8);
}
.newsletter-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(560px 300px at 88% 0%, rgba(255, 255, 255, 0.3), transparent 70%);
}
.newsletter-card .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.36);
  color: #fff;
}
.newsletter-card .eyebrow .dot { background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2); }
.newsletter-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.3vw, 2.9rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-top: 18px;
}
.newsletter-card p { margin-top: 12px; font-size: 14px; max-width: 40ch; color: rgba(255, 255, 255, 0.82); }
.newsletter-form {
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 44px -26px rgba(60, 20, 5, 0.7);
}
.newsletter-form input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 18px;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 13.5px;
  color: var(--ink);
}
.newsletter-form input::placeholder { color: var(--muted); }
.newsletter-form .btn { height: 46px; padding: 0 22px; flex: none; }
.newsletter-note { margin-top: 14px; font-size: 11px; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.66); }

/* ============================================================
   Part 2: footer, shop, product, cart, auth, account
   ============================================================ */

/* ---------------- footer ---------------- */
  z-index: 1;
  width: min(100%, 468px);
  border-radius: 240px 240px 28px 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--paper-2);
}
.hero-frame img {
  width: 100%;
  height: clamp(420px, 58vh, 560px);
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.hero-frame:hover img { transform: scale(1.035); }
.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(20, 15, 10, 0) 55%, rgba(20, 15, 10, 0.3));
  pointer-events: none;
}
.float-card {
  position: absolute;
  z-index: 2;
  left: -22px;
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 17px 11px 11px;
  border-radius: 16px;
  background: rgba(255, 253, 250, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow-md);
  animation: floaty 6.5s ease-in-out infinite;
}
.float-card img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.float-meta small {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1px;
}
.float-meta strong { font-size: 13.5px; font-weight: 600; display: block; line-height: 1.3; }
.float-meta .price { font-size: 12px; color: var(--ink-2); }
.float-chip {
  position: absolute;
  right: -12px;
  top: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(23, 19, 15, 0.94);
  color: #f6efe4;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-md);
  animation: floaty 7.5s ease-in-out infinite reverse;
}
.float-chip .stars { color: rgba(255, 255, 255, 0.22); font-size: 10px; }
.float-chip .stars::before { color: #e6b95c; }

/* ---------------- marquee ---------------- */
.marquee {
  background: var(--ink);
  color: #efe6d8;
  overflow: hidden;
  padding: 21px 0;
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
  font-family: var(--font-display);
  font-size: clamp(19px, 2.3vw, 27px);
  font-style: italic;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.marquee-item .sep { color: var(--accent-2); font-style: normal; font-size: 0.75em; }

/* ---------------- sections ---------------- */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(30px, 4vw, 46px);
}
.section-head .eyebrow { margin-bottom: 16px; }
.section h2,
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.022em;
}
.section-sub { color: var(--muted); font-size: 14.5px; max-width: 46ch; margin-top: 12px; }
.section-head .link-arrow { margin-bottom: 8px; flex: none; }

/* ---------------- categories ---------------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 205px;
  gap: 16px;
}
.category-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  isolation: isolate;
}
.category-card:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), opacity 0.4s;
  z-index: -2;
}
.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 12, 8, 0.04) 32%, rgba(16, 12, 8, 0.72));
  z-index: -1;
  transition: background 0.4s;
}
.category-card:hover img { transform: scale(1.07); }
.category-content {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.category-content h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.category-card:nth-child(1) .category-content { padding: 28px; }
.category-card:nth-child(1) .category-content h3 { font-size: 30px; }
.category-content small {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
}
.cat-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  display: grid;
  place-items: center;
  flex: none;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.35s var(--ease);
}
.cat-arrow svg { width: 15px; height: 15px; }
.category-card:hover .cat-arrow {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  transform: translate(2px, -2px);
}

/* ---------------- product cards ---------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 38px 24px;
}
.product-card { min-width: 0; }
.product-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 4.7;
  background: linear-gradient(145deg, #f1e9de, #e6ddcf);
  isolation: isolate;
}
.product-media-link { display: block; width: 100%; height: 100%; }
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.055); }

.tag {
  position: absolute;
  left: 13px;
  top: 13px;
  padding: 6px 11px;
  border-radius: 99px;
  background: rgba(255, 253, 250, 0.93);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--ink);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
}
.tag-warn { background: var(--accent); color: #fff; }

.wish {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 253, 250, 0.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink-2);
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.3s, transform 0.3s var(--ease), color 0.25s, background 0.25s;
}
.wish svg { width: 17px; height: 17px; }
.wish:hover { background: #fff; color: var(--accent); }
.wish.is-on { opacity: 1; transform: none; color: var(--accent); }
.wish.is-on svg { fill: currentColor; }
.product-card:hover .wish { opacity: 1; transform: none; }

.quick-add {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(23, 19, 15, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #faf7f2;
  font-size: 12px;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.35s var(--ease), background 0.25s;
}
.quick-add svg { width: 16px; height: 16px; }
.quick-add:hover { background: var(--accent); }
.quick-add.is-added { background: var(--sage); }
.product-card:hover .quick-add { opacity: 1; transform: none; }

.product-info { padding: 15px 3px 0; }
.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.rating { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; letter-spacing: 0.02em; color: var(--ink-2); }
.rating .stars { font-size: 9.5px; letter-spacing: 1px; }
.product-title { font-size: 15.5px; font-weight: 500; letter-spacing: -0.012em; line-height: 1.35; }
.product-title a { transition: color 0.2s; }
.product-card:hover .product-title a { color: var(--accent-deep); }
.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 7px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.price s { color: var(--muted); font-weight: 400; font-size: 12px; }

/* ---------------- editorial ---------------- */
.editorial {
  position: relative;
  overflow: hidden;
  margin-top: 8px;
  padding: clamp(64px, 8vw, 100px) 0;
  background: var(--ink);
  color: #f4ecdf;
}
.editorial::before {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  right: -160px;
  top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(207, 90, 54, 0.24), transparent 66%);
  pointer-events: none;
}
.editorial-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.editorial-media {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: 0 40px 80px -50px rgba(0, 0, 0, 0.9);
}
.editorial-media img { width: 100%; aspect-ratio: 1 / 1.1; object-fit: cover; }
.editorial-media::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: calc(var(--radius-l) - 10px);
  pointer-events: none;
}
.editorial-copy .eyebrow {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.2);
  color: #e9ddcb;
}
.editorial-copy .eyebrow .dot { background: var(--accent-2); box-shadow: 0 0 0 4px rgba(232, 133, 95, 0.14); }
.editorial-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.025em;
  margin: 20px 0;
}
.editorial-copy h2 em { font-style: italic; color: var(--accent-2); }
.editorial-copy > p { color: rgba(244, 236, 223, 0.7); max-width: 46ch; font-size: 14.5px; }
.editorial-list { display: grid; gap: 13px; margin: 28px 0 32px; }
.editorial-list li { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: rgba(244, 236, 223, 0.9); }
.check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  background: rgba(207, 90, 54, 0.24);
  color: #f0a989;
}
.check svg { width: 12px; height: 12px; }
.stats {
  display: flex;
  gap: clamp(24px, 4vw, 44px);
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 400;
  color: #fff;
  line-height: 1;
}
.stat span {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(244, 236, 223, 0.48);
}

/* ---------------- perks ---------------- */
.perks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: clamp(48px, 6vw, 72px) 0;
  border-bottom: 1px solid var(--line);
}
.perk { padding: 4px 28px; border-left: 1px solid var(--line); }
.perk:first-child { padding-left: 0; border-left: 0; }
.perk-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f1e9dd;
  color: var(--ink);
  margin-bottom: 16px;
}
.perk-icon svg { width: 20px; height: 20px; }
.perk h3 { font-size: 14.5px; font-weight: 600; margin-bottom: 5px; letter-spacing: -0.01em; }
.perk p { font-size: 12.5px; color: var(--muted); line-height: 1.65; }

/* ---------------- newsletter ---------------- */
.newsletter { padding-bottom: clamp(64px, 8vw, 100px); }
.newsletter-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: clamp(38px, 6vw, 68px);
  border-radius: var(--radius-l);
  background: linear-gradient(118deg, #b8401f 0%, #d8693f 52%, #d9a05f 100%);
  color: #fff;
  box-shadow: 0 40px 80px -50px rgba(140, 55, 20, 0.8);
}
.newsletter-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(560px 300px at 88% 0%, rgba(255, 255, 255, 0.3), transparent 70%);
}
.newsletter-card .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.36);
  color: #fff;
}
.newsletter-card .eyebrow .dot { background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2); }
.newsletter-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.3vw, 2.9rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-top: 18px;
}
.newsletter-card p { margin-top: 12px; font-size: 14px; max-width: 40ch; color: rgba(255, 255, 255, 0.82); }
.newsletter-form {
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 44px -26px rgba(60, 20, 5, 0.7);
}
.newsletter-form input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 18px;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 13.5px;
  color: var(--ink);
}
.newsletter-form input::placeholder { color: var(--muted); }
.newsletter-form .btn { height: 46px; padding: 0 22px; flex: none; }
.newsletter-note { margin-top: 14px; font-size: 11px; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.66); }

/* ============================================================
   Part 2: footer, shop, product, cart, auth, account
   ============================================================ */

/* ---------------- footer ---------------- */
.site-footer { background: #141110; color: #efe6d8; padding-top: 64px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.7fr 0.85fr 0.85fr 0.85fr;
  gap: 40px;
  padding-bottom: 52px;
}
.footer-brand .brand { color: #fff; font-size: 24px; }
.footer-blurb { margin-top: 16px; font-size: 13px; line-height: 1.75; color: rgba(239, 230, 216, 0.55); max-width: 34ch; }
.socials { display: flex; gap: 8px; margin-top: 22px; }
.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  color: rgba(239, 230, 216, 0.72);
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
}
.socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.socials svg { width: 15px; height: 15px; }
.footer-col h4 {
  margin-bottom: 16px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: rgba(239, 230, 216, 0.42);
}
.footer-col a {
  display: block;
  padding: 6px 0;
  font-size: 13px;
  color: rgba(239, 230, 216, 0.7);
  transition: color 0.2s, transform 0.25s;
}
.footer-col a:hover { color: #fff; transform: translateX(3px); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 24px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11.5px;
  color: rgba(239, 230, 216, 0.42);
}
.payments { display: flex; gap: 6px; flex-wrap: wrap; }
.pay {
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(239, 230, 216, 0.55);
}
.legal { display: flex; gap: 18px; }
.legal a:hover { color: #fff; }

/* ---------------- toast ---------------- */
.toast-stack {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 300;
  display: grid;
  gap: 10px;
  justify-items: center;
  width: max-content;
  max-width: calc(100% - 32px);
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(23, 19, 15, 0.95);
  color: #faf7f2;
  font-size: 12.5px;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: toastIn 0.4s var(--ease);
  pointer-events: auto;
  max-width: 100%;
}
.toast svg { width: 15px; height: 15px; color: #9ec096; flex: none; }
.toast.is-leaving { animation: toastOut 0.3s ease forwards; }

/* ---------------- page hero / shop ---------------- */
.page-hero { padding: clamp(36px, 5vw, 60px) 0 30px; border-bottom: 1px solid var(--line); }
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 20px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.breadcrumb a { transition: color 0.2s; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { opacity: 0.5; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1;
}
.page-hero .lede { margin-top: 16px; font-size: 14.5px; color: var(--muted); max-width: 58ch; }

.shop-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 22px 0;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.filter-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 11.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: 0.25s;
  white-space: nowrap;
}
.pill:hover { border-color: var(--ink); color: var(--ink); }
.pill.is-active { background: var(--ink); border-color: var(--ink); color: #faf7f2; }
.toolbar-right { display: flex; align-items: center; gap: 12px; margin-left: auto; flex-wrap: wrap; }
.toolbar-search { position: relative; display: flex; align-items: center; }
.toolbar-search svg { position: absolute; left: 14px; width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.toolbar-search input {
  height: 42px;
  width: 220px;
  padding: 0 16px 0 38px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: #fff;
  font-size: 13px;
  outline: none;
  transition: border-color 0.25s, width 0.3s var(--ease);
}
.toolbar-search input:focus { border-color: var(--ink); width: 250px; }
.sort-wrap { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.sort-wrap select {
  height: 42px;
  padding: 0 36px 0 16px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8177' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 15px;
  font-size: 12.5px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  outline: none;
  cursor: pointer;
  appearance: none;
  transition: border-color 0.25s;
}
.sort-wrap select:hover, .sort-wrap select:focus { border-color: var(--ink); }
.results-count { margin-bottom: 26px; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

.empty-state { display: grid; justify-items: center; gap: 12px; padding: 80px 20px; text-align: center; }
.empty-icon { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; background: #f1e9dd; color: var(--ink-2); margin-bottom: 4px; }
.empty-icon svg { width: 26px; height: 26px; }
.empty-state h2 { font-family: var(--font-display); font-size: 28px; font-weight: 400; }
.empty-state p { font-size: 14px; color: var(--muted); max-width: 40ch; }

/* ---------------- product detail ---------------- */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding: 36px 0 16px;
}
.detail-media {
  position: sticky;
  top: 100px;
  aspect-ratio: 1 / 1.08;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: linear-gradient(145deg, #f1e9de, #e4dccf);
}
.detail-media img { width: 100%; height: 100%; object-fit: cover; }
.detail-info { padding-top: 4px; }
.detail-info h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.7vw, 3.1rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 14px 0 12px;
}
.detail-tagline { font-size: 13.5px; color: var(--muted); }
.detail-rating { display: flex; align-items: center; gap: 10px; margin: 16px 0 4px; font-size: 12px; color: var(--muted); }
.detail-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 20px 0 22px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.detail-price s { font-size: 16px; font-weight: 400; color: var(--muted); }
.detail-desc { font-size: 14px; line-height: 1.75; color: var(--ink-2); max-width: 50ch; }
.color-row { margin: 26px 0 4px; }
.opt-label {
  display: block;
  margin-bottom: 10px;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.swatches { display: flex; gap: 11px; }
.swatch {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(23, 19, 15, 0.14);
  position: relative;
  transition: transform 0.2s;
}
.swatch::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  opacity: 0;
  transition: opacity 0.2s;
}
.swatch:hover { transform: scale(1.06); }
.swatch.is-active::after { opacity: 1; }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 14px; }
.detail-actions .btn { flex: 1; min-width: 170px; }
.qty {
  display: inline-flex;
  align-items: center;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: #fff;
  overflow: hidden;
}
.qty button { width: 44px; height: 100%; display: grid; place-items: center; font-size: 18px; color: var(--ink-2); transition: background 0.2s; }
.qty button:hover { background: var(--paper-2); }
.qty span { min-width: 28px; text-align: center; font-size: 13.5px; font-weight: 600; }
.detail-notes { display: grid; gap: 12px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.detail-note { display: flex; align-items: flex-start; gap: 12px; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.detail-note svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--ink-2); }
.accordion { margin-top: 14px; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 20px; color: var(--muted); transition: transform 0.3s; line-height: 1; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.acc-body { padding: 0 0 18px; font-size: 13px; line-height: 1.75; color: var(--muted); max-width: 52ch; }
.feature-list { display: grid; gap: 8px; padding-bottom: 18px; }
.feature-list li { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--ink-2); }
.feature-list .check { width: 18px; height: 18px; background: #eef1e9; color: var(--sage); }
.feature-list .check svg { width: 10px; height: 10px; }
.related { padding-top: clamp(56px, 7vw, 92px); }

/* ---------------- cart ---------------- */
.cart-page { padding: clamp(34px, 5vw, 54px) 0 96px; }
.cart-title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.4vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 34px;
}
.cart-title span { color: var(--muted); font-size: 0.45em; letter-spacing: 0; vertical-align: middle; margin-left: 10px; font-family: var(--font-sans); }
.cart-grid { display: grid; grid-template-columns: 1.55fr 0.85fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.cart-items { border-top: 1px solid var(--line); }
.cart-item {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.ci-media { width: 104px; height: 120px; border-radius: 14px; overflow: hidden; background: var(--paper-2); }
.ci-media img { width: 100%; height: 100%; object-fit: cover; }
.ci-info { min-width: 0; }
.ci-name { font-size: 15.5px; font-weight: 500; line-height: 1.35; }
.ci-name a:hover { color: var(--accent); }
.ci-meta { margin-top: 3px; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ci-actions { display: flex; align-items: center; gap: 18px; margin-top: 14px; flex-wrap: wrap; }
.qty-sm {
  display: inline-flex;
  align-items: center;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: #fff;
  overflow: hidden;
}
.qty-sm button { width: 32px; height: 100%; display: grid; place-items: center; font-size: 15px; color: var(--ink-2); transition: background 0.2s; }
.qty-sm button:hover { background: var(--paper-2); }
.qty-sm span { min-width: 24px; text-align: center; font-size: 12.5px; font-weight: 600; }
.remove-btn { font-size: 11.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
.remove-btn:hover { color: var(--accent); }
.ci-total { font-size: 15px; font-weight: 600; text-align: right; }
.cart-continue { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); transition: color 0.2s; }
.cart-continue svg { width: 14px; height: 14px; transform: rotate(180deg); }
.cart-continue:hover { color: var(--ink); }

.summary-card {
  position: sticky;
  top: 96px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}
.summary-card h2 { font-family: var(--font-display); font-size: 21px; font-weight: 400; letter-spacing: -0.01em; margin-bottom: 14px; }
.summary-row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; font-size: 13px; color: var(--ink-2); }
.summary-row .ok { color: var(--sage); font-weight: 500; }
.summary-row.is-total {
  margin-top: 12px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
.promo { display: flex; gap: 8px; margin: 16px 0 2px; }
.promo input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 12.5px;
  outline: none;
  transition: border-color 0.2s;
}
.promo input:focus { border-color: var(--ink); }
.promo .btn { height: 44px; padding: 0 16px; font-size: 11.5px; border-radius: 10px; }
.promo-msg { min-height: 17px; margin-top: 5px; font-size: 11.5px; color: var(--accent); }
.summary-card .btn-primary { width: 100%; margin-top: 16px; }
.pay-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 13px; font-size: 10.5px; letter-spacing: 0.04em; color: var(--muted); }
.pay-note svg { width: 13px; height: 13px; }
.trust-list { display: grid; gap: 10px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.trust-list li { display: flex; align-items: center; gap: 10px; font-size: 11.5px; color: var(--muted); }
.trust-list svg { width: 16px; height: 16px; flex: none; color: var(--ink-2); }

/* ---------------- order success ---------------- */
.success-wrap { max-width: 700px; margin: 0 auto; padding: clamp(40px, 6vw, 70px) 0 100px; text-align: center; }
.check-big {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  background: #e8efe1;
  color: #5d7a4c;
  animation: pop 0.55s var(--ease);
}
.check-big svg { width: 34px; height: 34px; }
.success-wrap h1 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 400; letter-spacing: -0.025em; line-height: 1.05; }
.success-wrap > p { margin-top: 12px; font-size: 14px; color: var(--muted); }
.order-card { margin: 32px 0 28px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); text-align: left; overflow: hidden; }
.order-head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  background: #faf5ec;
  font-size: 12px;
  color: var(--muted);
}
.order-head strong { font-size: 13px; color: var(--ink); letter-spacing: 0.04em; }
.order-status {
  margin-left: auto;
  padding: 5px 10px;
  border-radius: 99px;
  background: #e7efe1;
  color: #55743f;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.order-body { padding: 18px 22px; }
.order-line { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: 13px; }
.order-line img { width: 42px; height: 42px; border-radius: 9px; object-fit: cover; flex: none; }
.order-line .q { margin-left: auto; color: var(--muted); font-size: 12px; white-space: nowrap; }
.order-line .amt { width: 74px; text-align: right; font-weight: 500; white-space: nowrap; }
.order-totals { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------------- auth ---------------- */
.auth { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(8px, 3vw, 40px); min-height: calc(100vh - 76px); }
.auth-visual {
  position: relative;
  overflow: hidden;
  margin: 20px 0 20px 20px;
  min-height: 560px;
  border-radius: var(--radius-l);
  background: var(--ink);
}
.auth-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }
.auth-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 12, 9, 0.12) 18%, rgba(16, 12, 9, 0.82));
}
.auth-visual-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(26px, 4vw, 42px);
}
.auth-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.auth-badge svg { width: 12px; height: 12px; }
.auth-quote { color: #fff; }
.auth-quote .stars { color: rgba(255, 255, 255, 0.24); font-size: 13px; margin-bottom: 4px; }
.auth-quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.015em;
  max-width: 24ch;
  margin: 14px 0 18px;
}
.auth-quote cite { font-style: normal; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.62); }
.auth-quote .benefits { display: grid; gap: 9px; margin-top: 20px; }
.auth-quote .benefits li { display: flex; align-items: center; gap: 9px; font-size: 12px; color: rgba(255, 255, 255, 0.82); }
.auth-quote .benefits .check { background: rgba(255, 255, 255, 0.18); color: #fff; width: 20px; height: 20px; }
.auth-quote .benefits .check svg { width: 11px; height: 11px; }

.auth-panel { display: flex; align-items: center; justify-content: center; padding: clamp(32px, 5vw, 64px) clamp(24px, 5vw, 72px) clamp(32px, 5vw, 64px) clamp(40px, 7vw, 112px); }
.auth-card { width: 100%; max-width: 430px; }
.auth-card > h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.55rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin-bottom: 8px;
}
.auth-sub { font-size: 13.5px; color: var(--muted); margin-bottom: 24px; }
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 5px;
  border-radius: 99px;
  background: #f0e8db;
  margin-bottom: 26px;
}
.auth-tab {
  height: 42px;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.auth-tab.is-active { background: #fff; color: var(--ink); box-shadow: 0 8px 16px -10px rgba(23, 19, 15, 0.4); }
.auth-form { display: grid; gap: 17px; animation: fadeUp 0.45s var(--ease); }
.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap > svg { position: absolute; left: 15px; width: 17px; height: 17px; color: var(--muted); pointer-events: none; }
.field input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input-wrap input { padding-left: 44px; padding-right: 46px; }
.field input::placeholder { color: #b4aa9d; }
.field input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(23, 19, 15, 0.06); }
.field.is-invalid input { border-color: #b33427; box-shadow: 0 0 0 4px rgba(179, 52, 39, 0.08); }
.field-error { display: none; margin-top: 6px; font-size: 11.5px; color: #b33427; }
.field.is-invalid .field-error { display: block; }
.toggle-pass {
  position: absolute;
  right: 6px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: 0.2s;
}
.toggle-pass:hover { color: var(--ink); background: #f6f0e7; }
.toggle-pass svg { width: 18px; height: 18px; }
.form-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.checkbox { display: inline-flex; align-items: flex-start; gap: 9px; font-size: 12px; color: var(--ink-2); cursor: pointer; line-height: 1.5; }
.checkbox input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.checkbox a { text-decoration: underline; text-underline-offset: 3px; }
.link-muted { font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
.link-muted:hover { color: var(--ink); }
.form-error { display: none; padding: 11px 14px; border-radius: 10px; background: #fbeeeb; border: 1px solid #efd3cd; color: #a53427; font-size: 12px; line-height: 1.5; }
.form-error.is-shown { display: block; animation: fade 0.25s; }
.demo-hint {
  margin-top: 22px;
  padding: 13px 15px;
  border: 1px dashed #d5c9b8;
  border-radius: 12px;
  background: #faf5ec;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.7;
}
.demo-hint strong { color: var(--ink); font-weight: 600; }
.demo-hint code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 11px; background: #f1e7d8; padding: 1px 5px; border-radius: 4px; color: var(--ink); }

.reset-notice {
  padding: 14px 16px;
  border: 1px solid #d9e6d1;
  border-radius: 12px;
  background: #f4f8f0;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.7;
}
.reset-notice strong { color: var(--ink); font-weight: 600; }
.reset-notice .reset-note { color: var(--muted); }
.reset-notice .link-muted { display: inline-block; margin-top: 6px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.auth-switch { margin-top: 24px; text-align: center; font-size: 12px; color: var(--muted); }
.auth-switch a { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.form-note { font-size: 11px; line-height: 1.65; color: var(--muted); }
.strength { display: flex; gap: 6px; margin-top: 10px; }
.strength-bar { height: 4px; flex: 1; border-radius: 99px; background: #e9e0d2; transition: background 0.3s; }
.strength[data-level="1"] .strength-bar:nth-child(-n+1) { background: #c0462f; }
.strength[data-level="2"] .strength-bar:nth-child(-n+2) { background: #d08a3a; }
.strength[data-level="3"] .strength-bar:nth-child(-n+3) { background: #a8a04a; }
.strength[data-level="4"] .strength-bar { background: #6f8a5f; }
.strength-label { margin-top: 6px; font-size: 10.5px; color: var(--muted); }

/* ---------------- account ---------------- */
.account-page { padding: clamp(34px, 5vw, 54px) 0 100px; }
.account-head {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-l);
  background: var(--ink);
  color: #f4ecdf;
}
.account-head::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -170px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(207, 90, 54, 0.32), transparent 66%);
  pointer-events: none;
}
.profile-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, #e8855f, #b8431f);
  font-family: var(--font-display);
  font-size: 27px;
  color: #fff;
}
.account-head h1 { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; position: relative; }
.account-head p { margin-top: 6px; font-size: 12px; color: rgba(244, 236, 223, 0.6); position: relative; }
.account-head .btn { margin-left: auto; position: relative; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 22px 0 48px; }
.stat-card { padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.stat-card span { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.stat-card strong { display: block; margin-top: 6px; font-family: var(--font-display); font-size: 29px; font-weight: 400; line-height: 1; }
.account-section { margin-bottom: 48px; scroll-margin-top: 100px; }
.account-section > h2 { margin-bottom: 18px; font-family: var(--font-display); font-size: 25px; font-weight: 400; letter-spacing: -0.01em; }
.account-note { font-size: 13px; color: var(--muted); }
.order-tile { margin-bottom: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.order-thumbs { display: flex; }
.order-thumbs img { width: 46px; height: 46px; border-radius: 9px; object-fit: cover; margin-left: -8px; border: 2px solid #fffdfa; }
.order-thumbs img:first-child { margin-left: 0; }
.order-tile .order-body { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.order-total { margin-left: auto; font-size: 14.5px; font-weight: 600; }
.order-date { font-size: 11.5px; color: var(--muted); }
.account-empty {
  padding: 34px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.account-empty .btn { margin-top: 16px; }

/* member listings */
.tag-mine { background: var(--ink); color: #fffdfa; }
.section-head { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; }
.section-head h2 { margin-bottom: 6px; }
.section-head p { margin: 0; font-size: 12.5px; color: var(--muted); }
.listing-list { display: grid; gap: 10px; margin-bottom: 22px; }
.listing-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.listing-row img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: #efe6d8; }
.listing-info { display: grid; gap: 4px; min-width: 0; }
.listing-info strong { font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.listing-info span { font-size: 11.5px; color: var(--muted); }
.listing-actions { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.btn-xs { height: 30px; padding: 0 11px; font-size: 10.5px; border-radius: 8px; }
.btn-danger { border-color: #e2b7af; color: #a53427; background: #fff; }
.btn-danger:hover { border-color: #a53427; background: #fbeeeb; }
.listing-form { padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); animation: fadeUp 0.35s var(--ease); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.field-wide { grid-column: 1 / -1; }
.field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field select { height: 52px; padding: 0 16px; }
.field textarea { padding: 14px 16px; min-height: 88px; resize: vertical; line-height: 1.5; }
.field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(23, 19, 15, 0.06); }
.field.is-invalid select, .field.is-invalid textarea { border-color: #b33427; }
.field input[type="file"] { padding: 10px 14px; cursor: pointer; }
.field input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6f0e7;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}
.file-row { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.listing-preview { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; border: 1px solid var(--line); background: #efe6d8; }
.field-hint { font-size: 11px; line-height: 1.5; color: var(--muted); }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 10px; }
.owner-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 10px 13px;
  border-radius: 10px;
  background: #f2ede4;
  font-size: 11.5px;
  color: var(--ink-2);
}
.owner-note svg { width: 15px; height: 15px; flex: none; }
.owner-note a { margin-left: auto; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.seller-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 12.5px;
  color: var(--ink-2);
}
.seller-note a.inline-link { font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.seller-hint { font-size: 11.5px; color: var(--muted); }
.inline-link { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.inline-link:hover { color: var(--accent); }
.insta-btn { margin-left: auto; }
.checkout-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; align-items: start; }
.checkout-actions:not(.has-seller) { grid-template-columns: 1fr; }
.summary-card .checkout-actions .btn-primary { width: 100%; margin: 0; }
.checkout-sellers { display: grid; gap: 8px; }
.btn-instagram { width: 100%; background: #0095f6; color: #fff; border-color: #0095f6; box-shadow: 0 14px 28px -14px rgba(0, 149, 246, 0.55); }
.btn-instagram:hover { background: #1877f2; border-color: #1877f2; color: #fff; box-shadow: 0 18px 34px -14px rgba(24, 119, 242, 0.65); animation: btnGlow 1.6s ease-in-out infinite alternate; }
.alt-prices { display: block; font-size: 0.78em; color: var(--muted); font-weight: 400; margin-top: 2px; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 4px; }
.price-input { display: grid; gap: 6px; }
.price-input span { font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.price-input input { height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 14px; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.price-input input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(23,19,15,0.06); }
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none !important; }
.modal-scrim { position: absolute; inset: 0; background: rgba(20,16,12,0.52); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: fade 0.25s ease; }
.modal-card { position: relative; width: min(920px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: var(--paper); border-radius: var(--radius-l); box-shadow: var(--shadow-lg); animation: panelIn 0.35s var(--ease); }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 2; background: rgba(255,255,255,0.8); }
.modal-body { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; }
.add-modal-media { background: var(--paper-2); min-height: 320px; }
.add-modal-media img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.add-modal-info { padding: clamp(24px, 4vw, 40px); }
.add-modal-info h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 400; line-height: 1.05; margin: 12px 0 8px; letter-spacing: -0.02em; }
.add-modal-tagline { font-size: 13.5px; color: var(--muted); margin-bottom: 10px; }
.add-modal-prices { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 18px; font-weight: 600; margin: 10px 0 14px; }
.add-modal-desc { font-size: 14px; line-height: 1.75; color: var(--ink-2); }
.add-modal-meta { display: grid; gap: 6px; margin: 16px 0; font-size: 12.5px; color: var(--ink-2); }
.add-modal-meta strong { color: var(--ink); font-weight: 500; }
.add-modal-note { font-size: 12px; color: var(--muted); padding: 12px 14px; border-radius: 12px; background: #f6f0e7; margin-bottom: 18px; }
.add-modal-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.add-modal-actions .btn { flex: 1; min-width: 170px; }

/* ---------------- admin ---------------- */
.admin-head-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-left: auto; }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.admin-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.admin-table th, .admin-table td { padding: 14px 16px; text-align: left; font-size: 12.5px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table th { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); background: #faf5ec; font-weight: 500; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table-compact { min-width: 520px; }
.admin-product { display: flex; align-items: center; gap: 12px; }
.admin-product img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; background: #efe6d8; flex: none; }
.admin-product div { display: grid; gap: 3px; }
.admin-product span { font-size: 11px; color: var(--muted); }
.admin-actions { display: flex; gap: 8px; justify-content: flex-end; white-space: nowrap; }
.role-pill { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 99px; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; background: #f1e9dd; color: var(--ink-2); }
.role-admin { background: #e7efe1; color: #55743f; }

/* ---------------- reveal & motion ---------------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(207, 90, 54, 0); } }
@keyframes floaty { 50% { transform: translateY(-10px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes panelIn { from { opacity: 0; transform: translateY(-8px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
@keyframes slideIn { from { transform: translateX(100%); } }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px) scale(0.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }
@keyframes bump { 40% { transform: scale(1.18); } }
@keyframes pop { 0% { transform: scale(0.6); opacity: 0; } 60% { transform: scale(1.06); } }
@keyframes btnGlow { from { filter: brightness(1); } to { filter: brightness(1.08); } }

/* ---------------- responsive ---------------- */
@media (max-width: 1120px) {
  .nav { gap: 20px; }
  .header-inner { gap: 24px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr; row-gap: 34px; }
  .footer-col:last-child { grid-column: 2 / span 2; }
}

@media (max-width: 960px) {
  .nav { display: none; }
  .menu-toggle { display: grid; }
  .hero { grid-template-columns: 1fr; gap: 46px; }
  .hero-copy { max-width: 640px; }
  .hero-visual { order: 2; }
  .hero-frame { width: min(100%, 430px); }
  .hero-blob { inset: 8% 4% 10% 22%; }
  .category-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 185px; }
  .category-card:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .category-card:nth-child(1) .category-content h3 { font-size: 25px; }
  .editorial-inner { grid-template-columns: 1fr; gap: 40px; }
  .editorial-media img { aspect-ratio: 16 / 11; }
  .perks { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .perk:nth-child(3) { border-left: 0; padding-left: 0; }
  .newsletter-card { grid-template-columns: 1fr; gap: 26px; }
  .auth { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .auth-panel { padding: 52px 22px 72px; }
  .product-detail { grid-template-columns: 1fr; }
  .detail-media { position: static; aspect-ratio: 4 / 3.4; }
  .cart-grid { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .footer-col:last-child { grid-column: auto; }
  .account-head .btn { margin-left: 0; }
}

@media (max-width: 680px) {
  .container { width: calc(100% - 32px); }
  .announcement-inner { font-size: 9px; letter-spacing: 0.1em; gap: 8px; padding: 9px 14px; }
  .announcement .spark:nth-child(3) { display: none; }
  .header-inner { height: 66px; gap: 14px; }
  .brand { font-size: 22px; }
  .brand-dot { font-size: 26px; }
  .icon-btn { width: 38px; height: 38px; }
  .icon-btn svg { width: 18px; height: 18px; }
  .header-actions > .icon-btn:nth-child(2) { display: none; }
  .hero { padding-top: 34px; gap: 38px; }
  .hero h1 { font-size: clamp(2.55rem, 11.5vw, 3.5rem); margin: 18px 0 20px; }
  .hero .lede { font-size: 14.5px; }
  .hero-actions { gap: 10px; margin-top: 26px; }
  .hero-actions .btn { flex: 1; min-width: 150px; height: 50px; padding: 0 18px; font-size: 12.5px; }
  .hero-proof { margin-top: 28px; }
  .float-card { left: 8px; bottom: 14px; padding: 9px 12px 9px 9px; gap: 9px; }
  .float-card img { width: 42px; height: 42px; }
  .float-meta strong { font-size: 12.5px; }
  .float-chip { right: 6px; top: 10px; font-size: 10.5px; padding: 8px 10px; }
  .marquee { padding: 15px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .section-head .link-arrow { margin-bottom: 0; }
  .category-grid { grid-auto-rows: 150px; gap: 10px; }
  .category-content { padding: 15px; }
  .category-content h3 { font-size: 17px; }
  .category-card:nth-child(1) .category-content { padding: 18px; }
  .category-card:nth-child(1) .category-content h3 { font-size: 23px; }
  .cat-arrow { width: 32px; height: 32px; }
  .cat-arrow svg { width: 13px; height: 13px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; }
  .product-info { padding-top: 12px; }
  .product-meta { font-size: 9px; letter-spacing: 0.1em; }
  .rating { font-size: 9.5px; gap: 4px; }
  .product-title { font-size: 13.5px; }
  .price { font-size: 13px; }
  .wish { opacity: 1; transform: none; width: 32px; height: 32px; right: 9px; top: 9px; }
  .wish svg { width: 15px; height: 15px; }
  .quick-add { opacity: 1; transform: none; height: 38px; left: 9px; right: 9px; bottom: 9px; font-size: 11px; }
  .tag { left: 9px; top: 9px; font-size: 8.5px; padding: 5px 8px; }
  .perks { grid-template-columns: 1fr; gap: 26px; padding: 38px 0; }
  .perk { border-left: 0; padding: 0; display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; }
  .perk-icon { grid-row: span 2; margin-bottom: 0; }
  .newsletter-card { padding: 30px 22px; border-radius: 24px; }
  .newsletter-form { flex-direction: column; border-radius: 18px; padding: 8px; gap: 6px; }
  .newsletter-form input { height: 44px; padding: 0 12px; }
  .newsletter-form .btn { width: 100%; height: 44px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; padding-bottom: 38px; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-col:last-child { display: none; }
  .shop-toolbar { gap: 12px; padding: 16px 0; margin-bottom: 26px; }
  .toolbar-right { margin-left: 0; width: 100%; }
  .toolbar-search { flex: 1; min-width: 0; }
  .toolbar-search input { width: 100%; }
  .toolbar-search input:focus { width: 100%; }
  .sort-wrap { flex: 1; min-width: 0; }
  .sort-wrap > span { display: none; }
  .sort-wrap select { width: 100%; }
  .filter-pills { gap: 6px; }
  .pill { height: 34px; padding: 0 13px; font-size: 10px; }
  .page-hero { padding-top: 28px; }
  .page-hero h1 { font-size: 2.35rem; }
  .detail-info h1 { font-size: 2.1rem; }
  .detail-actions { flex-direction: column; gap: 10px; }
  .detail-actions .qty { width: 100%; justify-content: space-between; }
  .detail-actions .btn { width: 100%; flex: none; }
  .cart-item { grid-template-columns: 80px 1fr; gap: 14px; align-items: start; }
  .ci-media { width: 80px; height: 96px; grid-row: span 2; }
  .ci-total { grid-column: 2; text-align: left; font-size: 14px; }
  .ci-actions { gap: 12px; }
  .summary-card { padding: 22px; border-radius: 22px; }
  .auth-card > h1 { font-size: 2rem; }
  .account-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .profile-avatar { width: 62px; height: 62px; font-size: 23px; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat-card { padding: 15px 14px; }
  .stat-card strong { font-size: 23px; }
  .order-head { gap: 8px; }
  .order-status { margin-left: 0; }
  .success-actions .btn { width: 100%; }
  .field-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .price-grid { grid-template-columns: 1fr; }
  .listing-form { padding: 18px; }
  .modal-body { grid-template-columns: 1fr; }
  .add-modal-media { min-height: 220px; }
  .add-modal-media img { min-height: 220px; max-height: 280px; }
  .checkout-actions { grid-template-columns: 1fr; }
  .listing-row { grid-template-columns: 48px 1fr; }
  .listing-row img { width: 48px; height: 48px; }
  .listing-actions { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 400px) {
  .product-grid { gap: 22px 10px; }
  .product-title { font-size: 12.5px; }
  .product-meta > span:first-child { display: none; }
  .rating { margin-left: auto; }
  .stat-grid { grid-template-columns: 1fr; }
}

@media (hover: none) {
  .quick-add, .wish { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
.auth-card { width: 100%; max-width: 430px; }
.auth-card > h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.55rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin-bottom: 8px;
}
.auth-sub { font-size: 13.5px; color: var(--muted); margin-bottom: 24px; }
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 5px;
  border-radius: 99px;
  background: #f0e8db;
  margin-bottom: 26px;
}
.auth-tab {
  height: 42px;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.auth-tab.is-active { background: #fff; color: var(--ink); box-shadow: 0 8px 16px -10px rgba(23, 19, 15, 0.4); }
.auth-form { display: grid; gap: 17px; animation: fadeUp 0.45s var(--ease); }
.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap > svg { position: absolute; left: 15px; width: 17px; height: 17px; color: var(--muted); pointer-events: none; }
.field input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input-wrap input { padding-left: 44px; padding-right: 46px; }
.field input::placeholder { color: #b4aa9d; }
.field input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(23, 19, 15, 0.06); }
.field.is-invalid input { border-color: #b33427; box-shadow: 0 0 0 4px rgba(179, 52, 39, 0.08); }
.field-error { display: none; margin-top: 6px; font-size: 11.5px; color: #b33427; }
.field.is-invalid .field-error { display: block; }
.toggle-pass {
  position: absolute;
  right: 6px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: 0.2s;
}
.toggle-pass:hover { color: var(--ink); background: #f6f0e7; }
.toggle-pass svg { width: 18px; height: 18px; }
.form-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.checkbox { display: inline-flex; align-items: flex-start; gap: 9px; font-size: 12px; color: var(--ink-2); cursor: pointer; line-height: 1.5; }
.checkbox input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.checkbox a { text-decoration: underline; text-underline-offset: 3px; }
.link-muted { font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
.link-muted:hover { color: var(--ink); }
.form-error { display: none; padding: 11px 14px; border-radius: 10px; background: #fbeeeb; border: 1px solid #efd3cd; color: #a53427; font-size: 12px; line-height: 1.5; }
.form-error.is-shown { display: block; animation: fade 0.25s; }
.demo-hint {
  margin-top: 22px;
  padding: 13px 15px;
  border: 1px dashed #d5c9b8;
  border-radius: 12px;
  background: #faf5ec;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.7;
}
.demo-hint strong { color: var(--ink); font-weight: 600; }
.demo-hint code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 11px; background: #f1e7d8; padding: 1px 5px; border-radius: 4px; color: var(--ink); }

.reset-notice {
  padding: 14px 16px;
  border: 1px solid #d9e6d1;
  border-radius: 12px;
  background: #f4f8f0;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.7;
}
.reset-notice strong { color: var(--ink); font-weight: 600; }
.reset-notice .reset-note { color: var(--muted); }
.reset-notice .link-muted { display: inline-block; margin-top: 6px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.auth-switch { margin-top: 24px; text-align: center; font-size: 12px; color: var(--muted); }
.auth-switch a { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.form-note { font-size: 11px; line-height: 1.65; color: var(--muted); }
.strength { display: flex; gap: 6px; margin-top: 10px; }
.strength-bar { height: 4px; flex: 1; border-radius: 99px; background: #e9e0d2; transition: background 0.3s; }
.strength[data-level="1"] .strength-bar:nth-child(-n+1) { background: #c0462f; }
.strength[data-level="2"] .strength-bar:nth-child(-n+2) { background: #d08a3a; }
.strength[data-level="3"] .strength-bar:nth-child(-n+3) { background: #a8a04a; }
.strength[data-level="4"] .strength-bar { background: #6f8a5f; }
.strength-label { margin-top: 6px; font-size: 10.5px; color: var(--muted); }

/* ---------------- account ---------------- */
.account-page { padding: clamp(34px, 5vw, 54px) 0 100px; }
.account-head {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-l);
  background: var(--ink);
  color: #f4ecdf;
}
.account-head::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -170px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(207, 90, 54, 0.32), transparent 66%);
  pointer-events: none;
}
.profile-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, #e8855f, #b8431f);
  font-family: var(--font-display);
  font-size: 27px;
  color: #fff;
}
.account-head h1 { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; position: relative; }
.account-head p { margin-top: 6px; font-size: 12px; color: rgba(244, 236, 223, 0.6); position: relative; }
.account-head .btn { margin-left: auto; position: relative; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 22px 0 48px; }
.stat-card { padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.stat-card span { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.stat-card strong { display: block; margin-top: 6px; font-family: var(--font-display); font-size: 29px; font-weight: 400; line-height: 1; }
.account-section { margin-bottom: 48px; scroll-margin-top: 100px; }
.account-section > h2 { margin-bottom: 18px; font-family: var(--font-display); font-size: 25px; font-weight: 400; letter-spacing: -0.01em; }
.account-note { font-size: 13px; color: var(--muted); }
.order-tile { margin-bottom: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.order-thumbs { display: flex; }
.order-thumbs img { width: 46px; height: 46px; border-radius: 9px; object-fit: cover; margin-left: -8px; border: 2px solid #fffdfa; }
.order-thumbs img:first-child { margin-left: 0; }
.order-tile .order-body { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.order-total { margin-left: auto; font-size: 14.5px; font-weight: 600; }
.order-date { font-size: 11.5px; color: var(--muted); }
.account-empty {
  padding: 34px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.account-empty .btn { margin-top: 16px; }

/* member listings */
.tag-mine { background: var(--ink); color: #fffdfa; }
.section-head { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; }
.section-head h2 { margin-bottom: 6px; }
.section-head p { margin: 0; font-size: 12.5px; color: var(--muted); }
.listing-list { display: grid; gap: 10px; margin-bottom: 22px; }
.listing-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.listing-row img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: #efe6d8; }
.listing-info { display: grid; gap: 4px; min-width: 0; }
.listing-info strong { font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.listing-info span { font-size: 11.5px; color: var(--muted); }
.listing-actions { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.btn-xs { height: 30px; padding: 0 11px; font-size: 10.5px; border-radius: 8px; }
.btn-danger { border-color: #e2b7af; color: #a53427; background: #fff; }
.btn-danger:hover { border-color: #a53427; background: #fbeeeb; }
.listing-form { padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); animation: fadeUp 0.35s var(--ease); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.field-wide { grid-column: 1 / -1; }
.field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field select { height: 52px; padding: 0 16px; }
.field textarea { padding: 14px 16px; min-height: 88px; resize: vertical; line-height: 1.5; }
.field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(23, 19, 15, 0.06); }
.field.is-invalid select, .field.is-invalid textarea { border-color: #b33427; }
.field input[type="file"] { padding: 10px 14px; cursor: pointer; }
.field input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6f0e7;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}
.file-row { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.listing-preview { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; border: 1px solid var(--line); background: #efe6d8; }
.field-hint { font-size: 11px; line-height: 1.5; color: var(--muted); }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 10px; }
.owner-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 10px 13px;
  border-radius: 10px;
  background: #f2ede4;
  font-size: 11.5px;
  color: var(--ink-2);
}
.owner-note svg { width: 15px; height: 15px; flex: none; }
.owner-note a { margin-left: auto; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.seller-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 12.5px;
  color: var(--ink-2);
}
.seller-note a.inline-link { font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.inline-link { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.inline-link:hover { color: var(--accent); }
.insta-btn { margin-left: auto; }
.checkout-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; align-items: start; }
.checkout-actions:not(.has-seller) { grid-template-columns: 1fr; }
.summary-card .checkout-actions .btn-primary { width: 100%; margin: 0; }
.checkout-sellers { display: grid; gap: 8px; }
.btn-instagram { width: 100%; background: #0095f6; color: #fff; border-color: #0095f6; box-shadow: 0 14px 28px -14px rgba(0, 149, 246, 0.55); }
.btn-instagram:hover { background: #1877f2; border-color: #1877f2; color: #fff; box-shadow: 0 18px 34px -14px rgba(24, 119, 242, 0.65); }

/* ---------------- admin ---------------- */
.admin-head-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-left: auto; }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.admin-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.admin-table th, .admin-table td { padding: 14px 16px; text-align: left; font-size: 12.5px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table th { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); background: #faf5ec; font-weight: 500; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table-compact { min-width: 520px; }
.admin-product { display: flex; align-items: center; gap: 12px; }
.admin-product img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; background: #efe6d8; flex: none; }
.admin-product div { display: grid; gap: 3px; }
.admin-product span { font-size: 11px; color: var(--muted); }
.admin-actions { display: flex; gap: 8px; justify-content: flex-end; white-space: nowrap; }
.role-pill { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 99px; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; background: #f1e9dd; color: var(--ink-2); }
.role-admin { background: #e7efe1; color: #55743f; }

/* ---------------- reveal & motion ---------------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(207, 90, 54, 0); } }
@keyframes floaty { 50% { transform: translateY(-10px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes panelIn { from { opacity: 0; transform: translateY(-8px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
@keyframes slideIn { from { transform: translateX(100%); } }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px) scale(0.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }
@keyframes bump { 40% { transform: scale(1.18); } }
@keyframes pop { 0% { transform: scale(0.6); opacity: 0; } 60% { transform: scale(1.06); } }

/* ---------------- responsive ---------------- */
@media (max-width: 1120px) {
  .nav { gap: 20px; }
  .header-inner { gap: 24px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr; row-gap: 34px; }
  .footer-col:last-child { grid-column: 2 / span 2; }
}

@media (max-width: 960px) {
  .nav { display: none; }
  .menu-toggle { display: grid; }
  .hero { grid-template-columns: 1fr; gap: 46px; }
  .hero-copy { max-width: 640px; }
  .hero-visual { order: 2; }
  .hero-frame { width: min(100%, 430px); }
  .hero-blob { inset: 8% 4% 10% 22%; }
  .category-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 185px; }
  .category-card:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .category-card:nth-child(1) .category-content h3 { font-size: 25px; }
  .editorial-inner { grid-template-columns: 1fr; gap: 40px; }
  .editorial-media img { aspect-ratio: 16 / 11; }
  .perks { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .perk:nth-child(3) { border-left: 0; padding-left: 0; }
  .newsletter-card { grid-template-columns: 1fr; gap: 26px; }
  .auth { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .auth-panel { padding: 52px 22px 72px; }
  .product-detail { grid-template-columns: 1fr; }
  .detail-media { position: static; aspect-ratio: 4 / 3.4; }
  .cart-grid { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .footer-col:last-child { grid-column: auto; }
  .account-head .btn { margin-left: 0; }
}

@media (max-width: 680px) {
  .container { width: calc(100% - 32px); }
  .announcement-inner { font-size: 9px; letter-spacing: 0.1em; gap: 8px; padding: 9px 14px; }
  .announcement .spark:nth-child(3) { display: none; }
  .header-inner { height: 66px; gap: 14px; }
  .brand { font-size: 22px; }
  .brand-dot { font-size: 26px; }
  .icon-btn { width: 38px; height: 38px; }
  .icon-btn svg { width: 18px; height: 18px; }
  .header-actions > .icon-btn:nth-child(2) { display: none; }
  .hero { padding-top: 34px; gap: 38px; }
  .hero h1 { font-size: clamp(2.55rem, 11.5vw, 3.5rem); margin: 18px 0 20px; }
  .hero .lede { font-size: 14.5px; }
  .hero-actions { gap: 10px; margin-top: 26px; }
  .hero-actions .btn { flex: 1; min-width: 150px; height: 50px; padding: 0 18px; font-size: 12.5px; }
  .hero-proof { margin-top: 28px; }
  .float-card { left: 8px; bottom: 14px; padding: 9px 12px 9px 9px; gap: 9px; }
  .float-card img { width: 42px; height: 42px; }
  .float-meta strong { font-size: 12.5px; }
  .float-chip { right: 6px; top: 10px; font-size: 10.5px; padding: 8px 10px; }
  .marquee { padding: 15px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .section-head .link-arrow { margin-bottom: 0; }
  .category-grid { grid-auto-rows: 150px; gap: 10px; }
  .category-content { padding: 15px; }
  .category-content h3 { font-size: 17px; }
  .category-card:nth-child(1) .category-content { padding: 18px; }
  .category-card:nth-child(1) .category-content h3 { font-size: 23px; }
  .cat-arrow { width: 32px; height: 32px; }
  .cat-arrow svg { width: 13px; height: 13px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; }
  .product-info { padding-top: 12px; }
  .product-meta { font-size: 9px; letter-spacing: 0.1em; }
  .rating { font-size: 9.5px; gap: 4px; }
  .product-title { font-size: 13.5px; }
  .price { font-size: 13px; }
  .wish { opacity: 1; transform: none; width: 32px; height: 32px; right: 9px; top: 9px; }
  .wish svg { width: 15px; height: 15px; }
  .quick-add { opacity: 1; transform: none; height: 38px; left: 9px; right: 9px; bottom: 9px; font-size: 11px; }
  .tag { left: 9px; top: 9px; font-size: 8.5px; padding: 5px 8px; }
  .perks { grid-template-columns: 1fr; gap: 26px; padding: 38px 0; }
  .perk { border-left: 0; padding: 0; display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; }
  .perk-icon { grid-row: span 2; margin-bottom: 0; }
  .newsletter-card { padding: 30px 22px; border-radius: 24px; }
  .newsletter-form { flex-direction: column; border-radius: 18px; padding: 8px; gap: 6px; }
  .newsletter-form input { height: 44px; padding: 0 12px; }
  .newsletter-form .btn { width: 100%; height: 44px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; padding-bottom: 38px; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-col:last-child { display: none; }
  .shop-toolbar { gap: 12px; padding: 16px 0; margin-bottom: 26px; }
  .toolbar-right { margin-left: 0; width: 100%; }
  .toolbar-search { flex: 1; min-width: 0; }
  .toolbar-search input { width: 100%; }
  .toolbar-search input:focus { width: 100%; }
  .sort-wrap { flex: 1; min-width: 0; }
  .sort-wrap > span { display: none; }
  .sort-wrap select { width: 100%; }
  .filter-pills { gap: 6px; }
  .pill { height: 34px; padding: 0 13px; font-size: 10px; }
  .page-hero { padding-top: 28px; }
  .page-hero h1 { font-size: 2.35rem; }
  .detail-info h1 { font-size: 2.1rem; }
  .detail-actions { flex-direction: column; gap: 10px; }
  .detail-actions .qty { width: 100%; justify-content: space-between; }
  .detail-actions .btn { width: 100%; flex: none; }
  .cart-item { grid-template-columns: 80px 1fr; gap: 14px; align-items: start; }
  .ci-media { width: 80px; height: 96px; grid-row: span 2; }
  .ci-total { grid-column: 2; text-align: left; font-size: 14px; }
  .ci-actions { gap: 12px; }
  .summary-card { padding: 22px; border-radius: 22px; }
  .auth-card > h1 { font-size: 2rem; }
  .account-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .profile-avatar { width: 62px; height: 62px; font-size: 23px; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat-card { padding: 15px 14px; }
  .stat-card strong { font-size: 23px; }
  .order-head { gap: 8px; }
  .order-status { margin-left: 0; }
  .success-actions .btn { width: 100%; }
  .field-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .listing-form { padding: 18px; }
  .listing-row { grid-template-columns: 48px 1fr; }
  .listing-row img { width: 48px; height: 48px; }
  .listing-actions { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 400px) {
  .product-grid { gap: 22px 10px; }
  .product-title { font-size: 12.5px; }
  .product-meta > span:first-child { display: none; }
  .rating { margin-left: auto; }
  .stat-grid { grid-template-columns: 1fr; }
}

@media (hover: none) {
  .quick-add, .wish { opacity: 1; transform: none; }
}

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