/* ── PINGH PRODUCTS — DESIGN SYSTEM ─────────────────────────
   Single CSS file. All variables defined once at :root.
   Mobile-first. No frameworks. No dependencies.
   ──────────────────────────────────────────────────────────── */

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── DESIGN TOKENS ───────────────────────────────────────────── */
:root {
  /* Brand */
  --green:       #0F6E56;
  --green-dark:  #085041;
  --green-light: #E1F5EE;
  --green-mid:   #C6E9D8;
  --amber:       #EF9F27;
  --amber-light: #FEF3DD;
  --wa:          #25D366;   /* WhatsApp */
  --wa-dark:     #128C48;

  /* Neutrals */
  --carbon:      #1C1C1C;
  --carbon-mid:  #444441;
  --carbon-soft: #888780;
  --border:      rgba(28,28,28,.09);
  --border-mid:  rgba(28,28,28,.16);
  --cream:       #F0EDE4;
  --card:        #FAF7F2;
  --white:       #FFFFFF;

  /* Type */
  --font-b: 'Outfit', system-ui, sans-serif;
  --font-d: 'Fraunces', Georgia, serif;

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-xx: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.10);

  /* Layout */
  --nav-h: 60px;
  --page-max: 1200px;
  --gap: 16px;
}

/* ── BASE ─────────────────────────────────────────────────────── */
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-b);
  color: var(--carbon);
  background: var(--card);
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
}
a  { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: var(--font-b); cursor: pointer; border: none; background: none; }
img { display: block; max-width: 100%; }
input, textarea, select {
  font-family: var(--font-b);
  font-size: .92rem;
  color: var(--carbon);
}

/* ── NAVIGATION ─────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  padding: 0 var(--gap);
  gap: 10px;
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none;
}
.nav-logo-mark {
  width: 32px; height: 32px;
  background: var(--green);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-mark svg { width: 17px; height: 17px; }
.nav-brand { font-size: 1rem; font-weight: 700; color: var(--carbon); letter-spacing: -.02em; }
.nav-brand span { color: var(--green); }
.nav-badge {
  font-size: .62rem; font-weight: 700;
  background: var(--amber); color: var(--white);
  padding: 2px 7px; border-radius: var(--r-xx);
  letter-spacing: .04em;
}
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-link {
  font-size: .84rem; color: var(--carbon-soft);
  display: flex; align-items: center; gap: 4px;
  text-decoration: none;
  transition: color .15s;
}
.nav-link:hover { color: var(--green); text-decoration: none; }
.nav-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav-manage-btn {
  padding: 7px 14px;
  background: var(--green);
  color: var(--white);
  border-radius: var(--r-xx);
  font-size: .8rem; font-weight: 700;
  transition: background .15s;
}
.nav-manage-btn:hover { background: var(--green-dark); }

/* ── PAGE WRAPPER ────────────────────────────────────────────── */
.page {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 20px) var(--gap) 80px;
}
.page-narrow {
  max-width: 560px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 20px) var(--gap) 80px;
}

/* ── SECTION TITLES ──────────────────────────────────────────── */
.section-title {
  font-family: var(--font-d);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--carbon);
  margin-bottom: 4px;
}
.section-sub {
  font-size: .86rem;
  color: var(--carbon-soft);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ── CATEGORY PILLS ──────────────────────────────────────────── */
.cat-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 20px;
  scrollbar-width: none;
}
.cat-pills::-webkit-scrollbar { display: none; }
.cat-pill {
  display: flex; align-items: center; gap: 5px;
  padding: 7px 14px;
  background: var(--white);
  border: 1.5px solid var(--border-mid);
  border-radius: var(--r-xx);
  font-size: .8rem; font-weight: 600;
  color: var(--carbon-mid);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all .15s;
}
.cat-pill:hover, .cat-pill.active {
  background: var(--green-light);
  border-color: var(--green);
  color: var(--green-dark);
}

/* ── PRODUCT GRID ────────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 540px)  { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px)  { .product-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
@media (min-width: 1100px) { .product-grid { grid-template-columns: repeat(5, 1fr); } }

/* ── PRODUCT CARD ────────────────────────────────────────────── */
.product-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow .2s, transform .2s;
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  text-decoration: none;
}
.pc-img {
  width: 100%; aspect-ratio: 1;
  object-fit: cover;
  background: var(--cream);
}
.pc-img-placeholder {
  width: 100%; aspect-ratio: 1;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
}
.pc-body { padding: 10px 12px 12px; }
.pc-name {
  font-size: .86rem; font-weight: 600;
  color: var(--carbon);
  margin-bottom: 3px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pc-price {
  font-size: .95rem; font-weight: 700;
  color: var(--green);
  margin-bottom: 4px;
}
.pc-biz {
  font-size: .72rem; color: var(--carbon-soft);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ── SHOP HEADER ─────────────────────────────────────────────── */
.shop-header {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
  display: flex; align-items: center; gap: 16px;
}
.shop-logo {
  width: 72px; height: 72px;
  border-radius: var(--r-lg);
  object-fit: cover;
  background: var(--cream);
  flex-shrink: 0;
}
.shop-logo-placeholder {
  width: 72px; height: 72px;
  border-radius: var(--r-lg);
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; flex-shrink: 0;
}
.shop-info { flex: 1; min-width: 0; }
.shop-name {
  font-family: var(--font-d);
  font-size: 1.2rem; font-weight: 700;
  color: var(--carbon);
  margin-bottom: 3px;
}
.shop-cat { font-size: .78rem; color: var(--carbon-soft); margin-bottom: 8px; }
.shop-wa-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  background: var(--wa);
  color: var(--white);
  border-radius: var(--r-xx);
  font-size: .82rem; font-weight: 700;
  transition: background .15s;
  text-decoration: none;
}
.shop-wa-btn:hover { background: var(--wa-dark); text-decoration: none; }

/* ── PRODUCT DETAIL PAGE ─────────────────────────────────────── */
.pd-gallery {
  width: 100%;
  background: var(--white);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  position: relative;
}
.pd-gallery-main {
  width: 100%; aspect-ratio: 1;
  object-fit: cover;
  background: var(--cream);
}
.pd-gallery-thumbs {
  display: flex; gap: 8px; padding: 10px 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.pd-gallery-thumbs::-webkit-scrollbar { display: none; }
.pd-thumb {
  width: 64px; height: 64px; flex-shrink: 0;
  border-radius: var(--r-sm);
  object-fit: cover;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color .15s;
}
.pd-thumb.active { border-color: var(--green); }
.pd-info {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 20px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
}
.pd-price {
  font-size: 1.6rem; font-weight: 700;
  color: var(--green); margin-bottom: 6px;
}
.pd-name {
  font-family: var(--font-d);
  font-size: 1.15rem; font-weight: 700;
  color: var(--carbon); margin-bottom: 10px;
}
.pd-cat {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px;
  background: var(--green-light);
  color: var(--green-dark);
  border-radius: var(--r-xx);
  font-size: .74rem; font-weight: 600;
  margin-bottom: 12px;
}
.pd-desc {
  font-size: .88rem; color: var(--carbon-mid);
  line-height: 1.7;
}
.pd-order-btn {
  width: 100%; padding: 15px;
  background: var(--wa);
  color: var(--white);
  border-radius: var(--r-lg);
  font-size: .95rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background .15s;
  text-decoration: none;
}
.pd-order-btn:hover { background: var(--wa-dark); text-decoration: none; }
.pd-biz-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 16px;
  border: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px;
  text-decoration: none;
  transition: box-shadow .15s;
}
.pd-biz-card:hover { box-shadow: var(--shadow-sm); text-decoration: none; }
.pd-biz-logo {
  width: 48px; height: 48px; border-radius: 10px;
  object-fit: cover; background: var(--cream); flex-shrink: 0;
}
.pd-biz-name { font-weight: 600; font-size: .9rem; color: var(--carbon); margin-bottom: 2px; }
.pd-biz-sub  { font-size: .76rem; color: var(--carbon-soft); }
.pd-biz-arrow { margin-left: auto; color: var(--carbon-soft); font-size: 1.2rem; }

/* ── MANAGE PAGE ─────────────────────────────────────────────── */
.manage-header {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: var(--r-xl);
  padding: 20px;
  color: var(--white);
  margin-bottom: 20px;
}
.manage-biz-name { font-family: var(--font-d); font-size: 1.2rem; font-weight: 700; margin-bottom: 3px; }
.manage-gold-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--amber); color: var(--white);
  padding: 3px 10px; border-radius: var(--r-xx);
  font-size: .72rem; font-weight: 700;
}
.manage-stats {
  display: flex; gap: 12px; margin-top: 14px;
}
.manage-stat { flex: 1; background: rgba(255,255,255,.15); border-radius: var(--r-md); padding: 10px; }
.manage-stat-val { font-size: 1.4rem; font-weight: 700; }
.manage-stat-lbl { font-size: .72rem; opacity: .8; }

/* ── PRODUCT MANAGE CARD ─────────────────────────────────────── */
.pm-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  gap: 0;
  margin-bottom: 10px;
}
.pm-img {
  width: 90px; height: 90px;
  object-fit: cover;
  background: var(--cream);
  flex-shrink: 0;
}
.pm-body { flex: 1; padding: 12px; min-width: 0; }
.pm-name { font-weight: 600; font-size: .9rem; color: var(--carbon); margin-bottom: 2px; }
.pm-price { font-size: .9rem; font-weight: 700; color: var(--green); margin-bottom: 6px; }
.pm-actions { display: flex; gap: 8px; }
.pm-edit-btn {
  padding: 5px 12px;
  border: 1.5px solid var(--green);
  border-radius: var(--r-xx);
  font-size: .76rem; font-weight: 600;
  color: var(--green);
  transition: all .15s;
}
.pm-edit-btn:hover { background: var(--green); color: var(--white); }
.pm-del-btn {
  padding: 5px 12px;
  border: 1.5px solid rgba(220,38,38,.3);
  border-radius: var(--r-xx);
  font-size: .76rem; font-weight: 600;
  color: #DC2626;
  transition: all .15s;
}
.pm-del-btn:hover { background: #DC2626; color: var(--white); border-color: #DC2626; }
.pm-avail {
  display: flex; align-items: center; gap: 6px;
  font-size: .74rem; color: var(--carbon-soft);
}

/* ── TOGGLE SWITCH ───────────────────────────────────────────── */
.toggle {
  position: relative; display: inline-block;
  width: 36px; height: 20px;
}
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; inset: 0;
  background: var(--border-mid);
  border-radius: var(--r-xx);
  transition: background .2s;
  cursor: pointer;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  left: 3px; top: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: transform .2s;
}
.toggle input:checked + .toggle-slider { background: var(--green); }
.toggle input:checked + .toggle-slider::before { transform: translateX(16px); }

/* ── FORM FIELDS ─────────────────────────────────────────────── */
.field { margin-bottom: 16px; }
.fl {
  display: block;
  font-size: .7rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--carbon-mid); margin-bottom: 6px;
}
.fi {
  width: 100%; padding: 12px 14px;
  background: var(--white);
  border: 1.5px solid var(--border-mid);
  border-radius: var(--r-md);
  font-size: .92rem; outline: none;
  transition: border-color .15s;
  display: block;
  color: var(--carbon);
}
.fi:focus { border-color: var(--green); }
.fi::placeholder { color: var(--carbon-soft); }
select.fi {
  cursor: pointer; -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23888780' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  padding-right: 36px;
}
textarea.fi { resize: vertical; min-height: 80px; }
.fn { font-size: .72rem; color: var(--carbon-soft); margin-top: 5px; line-height: 1.5; }

/* ── IMAGE SLOTS ─────────────────────────────────────────────── */
.img-slots { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.img-slot {
  width: calc(33.33% - 7px);
  aspect-ratio: 1;
  border: 2px dashed var(--border-mid);
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  background: var(--cream);
  flex-shrink: 0;
}
.img-slot.filled { border-style: solid; border-color: var(--green); }
.img-slot img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
}
.img-slot-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px; cursor: pointer;
}
.img-slot-ico { font-size: 1.4rem; }
.img-slot-lbl { font-size: .68rem; color: var(--carbon-soft); text-align: center; padding: 0 4px; }
.img-slot-rm {
  position: absolute; top: 4px; right: 4px;
  width: 22px; height: 22px;
  background: rgba(0,0,0,.6); color: var(--white);
  border-radius: 50%; font-size: .7rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 2;
  border: none;
}
/* Photo source sheet */
.photo-sheet {
  display: none;
  background: var(--white);
  border: 1.5px solid var(--border-mid);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-top: 6px;
}
.photo-sheet.open { display: block; }
.photo-sheet-row { display: flex; }
.photo-sheet-btn {
  flex: 1; padding: 12px 8px;
  font-size: .86rem; font-weight: 600;
  display: flex; flex-direction: column;
  align-items: center; gap: 4px;
  transition: background .12s;
}
.photo-sheet-btn:first-child { border-right: 1px solid var(--border); }
.photo-sheet-btn:hover { background: var(--green-light); }
.photo-sheet-btn span:first-child { font-size: 1.3rem; }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn-primary {
  width: 100%; padding: 14px;
  background: var(--green); color: var(--white);
  border-radius: var(--r-lg);
  font-size: .93rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  transition: background .15s;
}
.btn-primary:hover { background: var(--green-dark); }
.btn-primary:disabled { background: var(--border-mid); cursor: not-allowed; }
.btn-secondary {
  width: 100%; padding: 12px;
  background: none;
  border: 1.5px solid var(--border-mid);
  border-radius: var(--r-lg);
  font-size: .88rem; font-weight: 600;
  color: var(--carbon-mid);
  transition: all .15s;
}
.btn-secondary:hover { border-color: var(--green); color: var(--green); }
.btn-back {
  display: flex; align-items: center; gap: 5px;
  font-size: .82rem; color: var(--carbon-soft);
  padding: 8px 0; margin-top: 6px;
  transition: color .12s;
}
.btn-back:hover { color: var(--green); }

/* ── EMPTY STATE ─────────────────────────────────────────────── */
.empty {
  text-align: center; padding: 48px 20px;
  color: var(--carbon-soft);
}
.empty-ico { font-size: 3rem; margin-bottom: 12px; }
.empty-title { font-size: 1rem; font-weight: 600; color: var(--carbon-mid); margin-bottom: 6px; }
.empty-sub { font-size: .86rem; line-height: 1.6; }

/* ── GOLD UPGRADE BANNER ─────────────────────────────────────── */
.gold-banner {
  background: linear-gradient(135deg, #92400E, var(--amber));
  border-radius: var(--r-xl);
  padding: 22px;
  color: var(--white);
  text-align: center;
  margin-bottom: 20px;
}
.gold-banner-ico { font-size: 2.5rem; margin-bottom: 10px; }
.gold-banner-title { font-family: var(--font-d); font-size: 1.3rem; font-weight: 700; margin-bottom: 6px; }
.gold-banner-sub { font-size: .86rem; opacity: .9; line-height: 1.6; margin-bottom: 16px; }
.gold-banner-price { font-size: 1.6rem; font-weight: 700; margin-bottom: 14px; }
.gold-cta {
  display: inline-block;
  padding: 12px 28px;
  background: var(--white); color: #92400E;
  border-radius: var(--r-xx);
  font-size: .9rem; font-weight: 700;
  transition: opacity .15s;
  text-decoration: none;
}
.gold-cta:hover { opacity: .9; text-decoration: none; }

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: var(--r-xl);
  padding: 28px 20px;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; right: -30px; top: -30px;
  width: 160px; height: 160px;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
}
.hero-title {
  font-family: var(--font-d);
  font-size: 1.5rem; font-weight: 700;
  margin-bottom: 6px; line-height: 1.25;
  position: relative; z-index: 1;
}
.hero-sub {
  font-size: .88rem; opacity: .85;
  line-height: 1.6; margin-bottom: 16px;
  position: relative; z-index: 1;
}
.hero-search {
  display: flex; gap: 8px;
  position: relative; z-index: 1;
}
.hero-search input {
  flex: 1; padding: 12px 16px;
  background: rgba(255,255,255,.15);
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: var(--r-xx);
  color: var(--white); font-size: .88rem;
  outline: none;
  backdrop-filter: blur(8px);
}
.hero-search input::placeholder { color: rgba(255,255,255,.65); }
.hero-search input:focus { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.2); }
.hero-search-btn {
  padding: 12px 20px;
  background: var(--white); color: var(--green);
  border-radius: var(--r-xx);
  font-size: .88rem; font-weight: 700;
  white-space: nowrap; flex-shrink: 0;
  transition: opacity .15s;
}
.hero-search-btn:hover { opacity: .9; }

/* ── OTP SCREEN ──────────────────────────────────────────────── */
.otp-wrap { padding: 30px 0; }
.otp-title { font-family: var(--font-d); font-size: 1.3rem; font-weight: 700; margin-bottom: 6px; text-align: center; }
.otp-sub { font-size: .86rem; color: var(--carbon-soft); text-align: center; margin-bottom: 20px; line-height: 1.6; }
.otp-sub b { color: var(--carbon); }
.otp-input {
  width: 100%; padding: 16px;
  font-size: 1.9rem; font-weight: 700;
  text-align: center; letter-spacing: .35em;
  border: 2px solid var(--border-mid);
  border-radius: var(--r-lg);
  background: var(--white); color: var(--carbon);
  outline: none; margin-bottom: 12px;
  transition: border-color .15s;
}
.otp-input:focus { border-color: var(--green); }
.otp-input::placeholder { font-size: 1.2rem; font-weight: 400; letter-spacing: .15em; color: var(--border-mid); }
.resend-row { text-align: center; font-size: .8rem; color: var(--carbon-soft); margin-top: 8px; }
.resend-btn { color: var(--green); font-weight: 600; font-size: .8rem; cursor: pointer; }
.resend-btn:disabled { color: var(--carbon-soft); cursor: default; }

/* ── SCREENS (show/hide) ─────────────────────────────────────── */
.screen { display: none; }
.screen.on { display: block; }

/* ── LOADING SKELETON ────────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--cream) 25%, #e8e5dc 50%, var(--cream) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--r-md);
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ── AVAILABILITY BADGE ──────────────────────────────────────── */
.avail-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; border-radius: var(--r-xx);
  font-size: .72rem; font-weight: 600;
}
.avail-badge.yes { background: var(--green-light); color: var(--green-dark); }
.avail-badge.no  { background: #FEF2F2; color: #DC2626; }

/* ── TOAST ───────────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 20px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--carbon); color: var(--white);
  font-size: .82rem; padding: 10px 20px;
  border-radius: var(--r-xx);
  opacity: 0; transition: all .22s;
  pointer-events: none; max-width: 92vw;
  text-align: center; z-index: 999;
}
.toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── DIVIDER ─────────────────────────────────────────────────── */
.divider {
  display: flex; align-items: center; gap: 8px;
  margin: 16px 0; font-size: .74rem; color: var(--carbon-soft);
}
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ── MOBILE BOTTOM NAV ────────────────────────────────────────── */
.bottom-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  height: 58px; z-index: 150;
  background: var(--white);
  border-top: 1px solid var(--border);
}
@media (max-width: 640px) { .bottom-nav { display: flex; } }
.bn-items { display: flex; width: 100%; }
.bn-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2px; text-decoration: none;
  color: var(--carbon-soft); font-size: .6rem; font-weight: 600;
  padding: 8px 4px; transition: color .15s;
}
.bn-item.active, .bn-item:hover { color: var(--green); }
.bn-ico { font-size: 1.2rem; }

@media (max-width: 640px) {
  .page { padding-bottom: 72px; }
  .page-narrow { padding-bottom: 72px; }
}
