/* Vendly — Forest Luxe design system. Mobile-first (360px and up). */
:root {
  --forest: #12372A;
  --emerald: #1F6B50;
  --gold: #B78B45;
  --gold-dark: #9c7436;
  --cream: #F6F1E7;
  --cream-dark: #ECE4D3;
  --charcoal: #202522;
  --muted: #5b635e;
  --white: #ffffff;
  --radius: 14px;
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--cream);
}
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 7vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 5vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 24px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  text-decoration: none; border-radius: 999px; border: 2px solid transparent;
  transition: background .2s, color .2s, transform .1s;
}
.btn:active { transform: scale(.98); }
.btn-small { min-height: 40px; padding: 8px 18px; font-size: .9rem; }
.btn-gold { background: var(--gold); color: var(--forest); }
.btn-gold:hover { background: #c79a52; }
.btn-outline { border-color: var(--cream); color: var(--cream); }
.btn-outline:hover { background: var(--cream); color: var(--forest); }
.btn-forest { background: var(--forest); color: var(--cream); }
.btn-forest:hover { background: var(--emerald); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Header */
.site-header { background: var(--forest); color: var(--cream); position: sticky; top: 0; z-index: 20; }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 64px; position: relative; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo { width: 34px; height: 34px; }
.wordmark { font-family: var(--font-head); font-weight: 700; letter-spacing: .28em; font-size: 1.05rem; }
.nav-toggle {
  width: 44px; height: 44px; background: none; border: 0; padding: 10px; cursor: pointer;
  display: flex; flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; background: var(--cream); border-radius: 2px; }
.nav-menu {
  display: none; position: absolute; top: 64px; left: 0; right: 0;
  background: var(--forest); padding: 8px 20px 20px; flex-direction: column; gap: 4px;
  border-top: 1px solid rgba(246, 241, 231, .15);
}
.nav-menu.open { display: flex; }
.nav-menu a:not(.btn) { padding: 12px 0; text-decoration: none; font-weight: 500; }
.nav-menu .btn { margin-top: 8px; }

/* Hero */
.hero { background: var(--forest); color: var(--cream); padding: 40px 0 56px; }
.hero-inner { max-width: 760px; }
.eyebrow {
  font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}
.lead { font-size: 1.08rem; color: rgba(246, 241, 231, .85); max-width: 560px; }
.cta-row { display: flex; flex-direction: column; gap: 12px; margin: 24px 0; }
.hero-points { display: flex; flex-direction: column; gap: 8px; font-size: .95rem; color: rgba(246, 241, 231, .85); }
.hero-points li { padding-left: 26px; position: relative; }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 14px; height: 8px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg);
}

/* Sections */
.section { padding: 56px 0; }
.section-lead { color: var(--muted); max-width: 560px; }
.section-cream-dark { background: var(--cream-dark); }
.section-forest { background: var(--forest); color: var(--cream); }
.section-gold { background: var(--gold); color: var(--forest); }

/* Categories */
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.cat-card {
  background: var(--white); border: 1px solid var(--cream-dark); border-radius: var(--radius);
  padding: 20px 12px; min-height: 132px; text-decoration: none; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--font-head); font-weight: 600; font-size: .92rem; line-height: 1.3;
  transition: border-color .2s, transform .2s;
}
.cat-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.cat-card svg {
  width: 36px; height: 36px; fill: none; stroke: var(--emerald);
  stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round;
}

/* Journeys */
.journeys { display: grid; gap: 20px; margin-top: 24px; }
.journey { background: var(--white); border-radius: var(--radius); padding: 24px 20px; }
.journey h3 { color: var(--emerald); font-size: 1.2rem; margin-bottom: 16px; }
.steps { counter-reset: step; display: grid; gap: 16px; }
.steps li { counter-increment: step; padding-left: 44px; position: relative; color: var(--muted); }
.steps li strong { color: var(--charcoal); display: block; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--forest); color: var(--cream);
  font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
}

/* Escrow */
.escrow { display: grid; gap: 16px; margin-top: 28px; }
.escrow-step { border: 1px solid rgba(246, 241, 231, .2); border-radius: var(--radius); padding: 20px; }
.escrow-step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--forest);
  font-family: var(--font-head); font-weight: 700; margin-bottom: 12px;
}
.escrow-step p { margin: 0; color: rgba(246, 241, 231, .8); }
.escrow-note { margin: 24px 0 0; color: rgba(246, 241, 231, .8); max-width: 560px; }

/* Campus */
.school-list { display: grid; gap: 10px; margin: 24px 0 16px; }
.school-list li {
  background: var(--white); border-left: 4px solid var(--gold); border-radius: 8px;
  padding: 14px 16px; font-weight: 600;
}
.school-list small { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; }
.fine { font-size: .85rem; color: var(--muted); margin: 0; }

/* Sell CTA */
.sell { display: grid; gap: 20px; }
.sell p { margin: 0; max-width: 560px; }

/* Footer */
.site-footer { background: var(--charcoal); color: rgba(246, 241, 231, .8); padding: 48px 0 24px; font-size: .95rem; }
.site-footer .wordmark { color: var(--cream); display: block; margin-bottom: 10px; }
.footer-grid { display: grid; gap: 28px; }
.site-footer h4 { color: var(--cream); font-size: .95rem; margin-bottom: 10px; }
.site-footer nav a { display: block; padding: 6px 0; text-decoration: none; }
.site-footer nav a:hover { color: var(--gold); }
.copyright { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(246, 241, 231, .15); font-size: .85rem; }

/* Tablet and up */
@media (min-width: 640px) {
  .cta-row { flex-direction: row; }
  .hero-points { flex-direction: row; gap: 24px; }
  .journeys { grid-template-columns: 1fr 1fr; }
  .escrow { grid-template-columns: repeat(3, 1fr); }
  .school-list { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

/* Desktop */
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-menu {
    display: flex; position: static; flex-direction: row; align-items: center;
    gap: 28px; padding: 0; border: 0; background: none;
  }
  .nav-menu .btn { margin-top: 0; }
  .hero { padding: 80px 0 96px; }
  .section { padding: 80px 0; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .sell { grid-template-columns: 1fr auto; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Auth and account pages ---------- */
.auth-page { min-height: 100vh; display: flex; flex-direction: column; }
.auth-main { flex: 1; padding: 24px 16px 48px; display: flex; justify-content: center; align-items: flex-start; }
.auth-card {
  width: 100%; max-width: 460px; background: var(--white);
  border-radius: var(--radius); padding: 24px 20px; border: 1px solid var(--cream-dark);
}
.auth-card h1 { font-size: 1.5rem; margin-bottom: 16px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--cream); border-radius: 999px; padding: 4px; margin-bottom: 20px; }
.tab {
  min-height: 44px; border: 0; border-radius: 999px; background: none; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--muted);
}
.tab.active { background: var(--forest); color: var(--cream); }
.auth-card form { display: grid; gap: 14px; }
.auth-card label { display: grid; gap: 6px; font-weight: 500; font-size: .92rem; }
.auth-card input[type=text], .auth-card input[type=email], .auth-card input[type=tel],
.auth-card input[type=password], .auth-card select {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; font-size: 16px;
  color: var(--charcoal); background: var(--white);
  border: 1.5px solid #cfc7b6; border-radius: 10px;
}
.auth-card input:focus, .auth-card select:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(31, 107, 80, .18); }
.auth-card small { font-weight: 400; color: var(--muted); font-size: .82rem; }
#student-fields { display: grid; gap: 14px; }
#student-fields[hidden] { display: none; }
.btn-block { width: 100%; cursor: pointer; }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.segmented { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.segmented legend { font-weight: 500; font-size: .92rem; margin-bottom: 6px; padding: 0; }
.segmented label { display: block; }
.segmented input { position: absolute; opacity: 0; }
.segmented span {
  display: flex; align-items: center; justify-content: center; min-height: 48px;
  border: 1.5px solid #cfc7b6; border-radius: 10px; font-weight: 600; cursor: pointer; text-align: center;
}
.segmented input:checked + span { border-color: var(--forest); background: var(--forest); color: var(--cream); }
.segmented input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.msg { padding: 12px 14px; border-radius: 10px; font-size: .92rem; margin: 0 0 14px; }
.msg.error { background: #fdecea; color: #8a1c13; border: 1px solid #f3c2bd; }
.msg.success { background: #e7f3ee; color: var(--forest); border: 1px solid #b9dccd; }
.notice { background: var(--cream); border-left: 4px solid var(--gold); border-radius: 8px; padding: 12px 14px; font-size: .9rem; margin: 0 0 14px; }
.center { text-align: center; }
.details { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 0 0 20px; font-size: .95rem; }
.details dt { color: var(--muted); }
.details dd { margin: 0; font-weight: 600; word-break: break-word; }
.auth-page .site-header .btn-outline { min-height: 40px; }

[hidden] { display: none !important; }

/* ---------- Seller application and admin ---------- */
.auth-card.wide { max-width: 720px; }
.auth-card textarea {
  width: 100%; padding: 10px 14px; font: inherit; font-size: 16px; color: var(--charcoal);
  border: 1.5px solid #cfc7b6; border-radius: 10px; resize: vertical;
}
.auth-card textarea:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(31, 107, 80, .18); }
.auth-card input[type=file] { font-size: .9rem; padding: 10px; border: 1.5px dashed #cfc7b6; border-radius: 10px; width: 100%; background: var(--cream); }
#student-docs, #business-docs { display: grid; gap: 14px; }
.actions { display: grid; gap: 10px; margin-bottom: 16px; }
.filter { margin-bottom: 16px; }
.app-list { display: grid; gap: 16px; }
.app-card { border: 1px solid var(--cream-dark); border-radius: var(--radius); padding: 16px; display: grid; gap: 12px; }
.app-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.app-head h2 { font-size: 1.15rem; margin: 0; word-break: break-word; }
.app-desc { margin: 0; color: var(--muted); font-size: .92rem; }
.app-card .details { margin: 0; font-size: .9rem; }
.badge { font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; text-transform: capitalize; white-space: nowrap; }
.badge.pending { background: #fbf1dc; color: #7a5a14; }
.badge.approved { background: #e7f3ee; color: var(--forest); }
.badge.rejected, .badge.suspended { background: #fdecea; color: #8a1c13; }
.doc-row, .action-row { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-doc { background: var(--cream); color: var(--forest); border-color: var(--cream-dark); cursor: pointer; }
.btn-danger { background: #fff; color: #8a1c13; border-color: #e0a9a3; cursor: pointer; }
.action-row .btn { cursor: pointer; }

/* ---------- Store and products ---------- */
.field-label { display: block; font-weight: 500; font-size: .92rem; margin-bottom: 8px; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.thumb { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--cream-dark); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-tag { position: absolute; top: 6px; left: 6px; background: var(--gold); color: var(--forest); font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.thumb-bar { position: absolute; bottom: 0; left: 0; right: 0; display: flex; justify-content: flex-end; gap: 4px; padding: 4px; background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.thumb-bar button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--charcoal); font-size: .95rem; cursor: pointer; }
.add-photos { cursor: pointer; }
.prod-row { display: grid; grid-template-columns: 84px 1fr; gap: 12px; border: 1px solid var(--cream-dark); border-radius: var(--radius); padding: 12px; }
.prod-thumb { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; background: var(--cream-dark); }
.prod-body { display: grid; gap: 8px; min-width: 0; }
.prod-body h2 { font-size: 1rem; }
.prod-meta { margin: 0; font-size: .88rem; color: var(--muted); }
.photo-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.photo-strip img { width: 110px; height: 110px; object-fit: cover; border-radius: 10px; background: var(--cream-dark); flex: none; }
.reason { width: 100%; }

/* ---------- Marketplace ---------- */
.app-page { min-height: 100vh; }
.app-main { padding-top: 20px; padding-bottom: 56px; }
.header-actions { display: flex; gap: 8px; }
.header-actions .btn { padding: 8px 14px; }
.count { background: var(--gold); color: var(--forest); border-radius: 999px; padding: 0 7px; margin-left: 6px; font-size: .78rem; }
.page-title { font-size: 1.4rem; margin: 16px 0 12px; }
.search { display: flex; gap: 8px; }
.search input { flex: 1; min-width: 0; min-height: 44px; padding: 8px 14px; font: inherit; font-size: 16px; border: 1.5px solid #cfc7b6; border-radius: 999px; background: var(--white); }
.search .btn { cursor: pointer; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 8px 16px; border-radius: 999px; background: var(--white); border: 1.5px solid var(--cream-dark); text-decoration: none; font-weight: 500; font-size: .9rem; white-space: nowrap; }
.chip.active { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.gate { background: var(--white); border-radius: var(--radius); padding: 28px 20px; margin-top: 16px; border: 1px solid var(--cream-dark); }
.gate h1 { font-size: 1.4rem; }
.gate .cta-row { margin-bottom: 0; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid .notice { grid-column: 1 / -1; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; text-decoration: none; border: 1px solid var(--cream-dark); display: block; padding-bottom: 12px; }
.card-pic { position: relative; aspect-ratio: 1; background: var(--cream-dark); }
.card-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sold { position: absolute; top: 8px; left: 8px; background: var(--charcoal); color: var(--cream); font-size: .72rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.card-name { font-family: var(--font-body); font-weight: 500; font-size: .92rem; line-height: 1.35; margin: 10px 12px 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-price { font-family: var(--font-head); font-weight: 700; margin: 0 12px; color: var(--forest); }
.card-store { margin: 2px 12px 0; font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product { display: grid; gap: 20px; }
.main-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); background: var(--cream-dark); display: block; margin-bottom: 8px; }
.strip-btn { flex: none; padding: 0; border: 2px solid transparent; border-radius: 10px; background: none; cursor: pointer; overflow: hidden; width: 64px; height: 64px; }
.strip-btn.active { border-color: var(--gold); }
.strip-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-info h1 { font-size: 1.4rem; }
.price { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: var(--forest); margin: 0 0 4px; }
.seller-box { margin: 12px 0 16px; font-size: .95rem; }
.buy { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.buy .btn { flex: 1; cursor: pointer; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid #cfc7b6; border-radius: 999px; background: var(--white); }
.stepper button { width: 44px; height: 44px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; color: var(--forest); }
.stepper span { min-width: 28px; text-align: center; font-weight: 600; }
.sub { font-size: 1.05rem; margin-top: 20px; }
.desc { white-space: pre-line; color: var(--muted); }
.cart-name { font-weight: 600; text-decoration: none; }
.summary { background: var(--white); border-radius: var(--radius); border: 1px solid var(--cream-dark); padding: 16px; margin-top: 16px; display: grid; gap: 12px; }
.summary-line { display: flex; justify-content: space-between; font-size: 1.1rem; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, 1fr); } .product { grid-template-columns: 1fr 1fr; align-items: start; } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
@media (max-width: 420px) { .app-page .site-header .wordmark { display: none; } }

/* ---------- Storefront (shop home, product, cart) ---------- */
.shop-page { background: #F1ECE1; padding-bottom: 76px; min-height: 100vh; }
.shop-header { background: var(--forest); color: var(--cream); position: sticky; top: 0; z-index: 30; padding-bottom: 12px; }
.shop-bar { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.shop-icons { display: flex; gap: 6px; }
.shop-icons a { position: relative; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.shop-icons svg, .bottom-nav svg, .search svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.shop-icons .count { position: absolute; top: 2px; right: 0; margin: 0; min-width: 18px; height: 18px; line-height: 18px; text-align: center; padding: 0 5px; font-size: .7rem; font-weight: 700; }
.shop-header .search { background: var(--white); border-radius: 999px; padding: 0 16px; align-items: center; gap: 10px; color: var(--muted); }
.shop-header .search input { border: 0; background: none; padding: 0; min-height: 46px; outline: none; color: var(--charcoal); }
.wrap-msg { margin: 12px 20px; }
.shop-page .app-main { padding-top: 16px; padding-bottom: 24px; }

/* banner slider */
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; margin-top: 16px; border-radius: 20px; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; min-height: 190px; padding: 22px 20px; text-decoration: none; overflow: hidden; display: flex; align-items: center; }
.slide > div { position: relative; z-index: 1; max-width: 68%; }
.slide h2 { font-size: 1.35rem; margin: 0 0 6px; }
.slide p { margin: 0 0 14px; font-size: .9rem; line-height: 1.45; }
.slide .slide-eyebrow { font-family: var(--font-head); font-weight: 600; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; }
.slide-cta { display: inline-block; background: var(--white); color: var(--forest); font-family: var(--font-head); font-weight: 600; font-size: .85rem; padding: 9px 18px; border-radius: 999px; }
.slide-mark { position: absolute; right: -18px; bottom: -22px; width: 170px; height: 170px; opacity: .16; }
.slide-forest { background: linear-gradient(135deg, #12372A 0%, #1F6B50 100%); color: var(--cream); }
.slide-forest .slide-eyebrow { color: var(--gold); } .slide-forest .slide-mark { fill: var(--cream); }
.slide-gold { background: linear-gradient(135deg, #B78B45 0%, #D2AC6A 100%); color: var(--forest); }
.slide-gold .slide-mark { fill: var(--forest); } .slide-gold .slide-cta { background: var(--forest); color: var(--cream); }
.slide-emerald { background: linear-gradient(135deg, #1F6B50 0%, #2E8B6A 100%); color: var(--cream); }
.slide-emerald .slide-eyebrow { color: #F0D9A8; } .slide-emerald .slide-mark { fill: var(--cream); }
.dots { display: flex; justify-content: center; gap: 6px; padding: 10px 0 0; }
.dots span { width: 7px; height: 7px; border-radius: 999px; background: #cfc7b6; transition: width .2s, background .2s; }
.dots span.on { width: 22px; background: var(--forest); }

/* trust strip */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.trust div { background: var(--white); border-radius: 12px; padding: 10px 8px; text-align: center; }
.trust strong { display: block; font-family: var(--font-head); font-size: .74rem; color: var(--forest); line-height: 1.25; }
.trust span { display: block; font-size: .68rem; color: var(--muted); margin-top: 2px; line-height: 1.25; }

/* blocks */
.section-block { margin-top: 26px; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; }
.block-title { font-size: 1.15rem; margin: 0 0 14px; }
.see-all { font-weight: 600; font-size: .88rem; color: var(--emerald); text-decoration: none; }
#cats { scroll-margin-top: 130px; }
.cat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cat-item { text-decoration: none; text-align: center; display: grid; justify-items: center; gap: 8px; }
.cat-circle { width: 68px; height: 68px; border-radius: 50%; background: var(--forest); display: flex; align-items: center; justify-content: center; overflow: hidden; border: 2px solid var(--gold); }
.cat-circle img { width: 100%; height: 100%; object-fit: cover; }
.cat-circle svg { width: 30px; height: 30px; fill: none; stroke: var(--cream); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.cat-label { font-size: .76rem; font-weight: 500; line-height: 1.25; }

/* dark panel with sideways scroller */
.panel { background: var(--forest); border-radius: 20px; padding: 18px 0 18px 16px; margin-top: 26px; }
.panel-head h2 { color: var(--cream); font-size: 1.15rem; margin: 0 0 14px; }
.scroller { display: flex; gap: 12px; overflow-x: auto; padding-right: 16px; scroll-snap-type: x proximity; scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }
.scroller .card { flex: 0 0 150px; scroll-snap-align: start; }

/* product cards */
.shop-page .card { position: relative; padding-bottom: 0; border: 0; box-shadow: 0 1px 3px rgba(18, 55, 42, .08); }
.card-link { display: block; text-decoration: none; padding-bottom: 12px; }
.shop-page .card-name { font-family: var(--font-body); font-weight: 500; }
.quick-add { position: absolute; top: 8px; right: 8px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--forest); color: var(--cream); font-size: 1.4rem; line-height: 1; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.quick-add:active { transform: scale(.94); }

/* bottom navigation */
.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--white); border-top: 1px solid var(--cream-dark); display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px 0 calc(6px + env(safe-area-inset-bottom)); }
.bottom-nav a { display: grid; justify-items: center; gap: 2px; padding: 4px 0; text-decoration: none; color: var(--muted); font-size: .7rem; font-weight: 500; }
.bottom-nav a.active { color: var(--forest); font-weight: 600; }
.toast { position: fixed; left: 50%; bottom: 88px; transform: translateX(-50%); background: var(--charcoal); color: var(--cream); padding: 10px 20px; border-radius: 999px; font-size: .9rem; z-index: 40; white-space: nowrap; }

@media (min-width: 640px) { .slide { min-height: 240px; padding: 32px; } .slide h2 { font-size: 1.9rem; } .cat-circle { width: 92px; height: 92px; } .cat-label { font-size: .9rem; } .scroller .card { flex-basis: 190px; } .trust strong { font-size: .9rem; } .trust span { font-size: .8rem; } }
@media (min-width: 900px) { .shop-page { padding-bottom: 40px; } .bottom-nav { display: none; } .cat-row { max-width: 560px; } }
.cat-item { align-content: start; }

/* ---------- Store pages, follows and account menu ---------- */
.store-head { display: flex; align-items: center; gap: 14px; background: var(--white); border-radius: var(--radius); padding: 16px; }
.store-logo { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--forest); color: var(--cream); border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; overflow: hidden; }
.store-logo.small { width: 44px; height: 44px; font-size: 1.1rem; }
.store-logo img { width: 100%; height: 100%; object-fit: cover; }
.store-id { flex: 1; min-width: 0; }
.store-id h1 { font-size: 1.15rem; margin: 0 0 4px; word-break: break-word; }
.store-tags { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.store-head .btn { cursor: pointer; flex: none; }
.store-desc { margin: 14px 2px 0; }
#store .block-title { margin-top: 22px; }
.store-link { font-weight: 600; color: var(--forest); }
.menu { background: var(--white); border-radius: var(--radius); margin-top: 12px; overflow: hidden; }
.menu-item { display: flex; align-items: center; gap: 14px; padding: 16px; text-decoration: none; font-weight: 500; border-bottom: 1px solid #f0ebe0; cursor: pointer; }
.menu > .menu-item:last-child { border-bottom: 0; }
.menu-item > span { flex: 1; min-width: 0; }
.menu-item small { display: block; color: var(--muted); font-weight: 400; font-size: .82rem; }
.menu-item .mi { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--forest); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.menu-item .chev { width: 18px; height: 18px; flex: none; fill: none; stroke: #a59d8c; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.menu-item.soon { color: var(--muted); cursor: default; }
.menu-item.soon em { font-style: normal; font-size: .72rem; font-weight: 600; background: var(--cream); color: var(--muted); padding: 3px 10px; border-radius: 999px; }
.my-details summary { list-style: none; }
.my-details summary::-webkit-details-marker { display: none; }
.my-details[open] .chev { transform: rotate(90deg); }
.my-details .details { padding: 4px 16px 16px; margin: 0; }
#signout { margin-top: 16px; cursor: pointer; }
.profile-edit { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.profile-edit > div { display: grid; gap: 8px; justify-items: start; }
.profile-edit label { cursor: pointer; }
#dash > label { display: grid; gap: 6px; font-weight: 500; font-size: .92rem; margin-bottom: 10px; }
#save-about { cursor: pointer; }
.rule { border: 0; border-top: 1px solid var(--cream-dark); margin: 18px 0; }

/* ---------- Checkout and orders ---------- */
.summary-line.small { font-size: .95rem; gap: 12px; }
.summary-line.small span:first-child { min-width: 0; }
.summary-line.small span:last-child { white-space: nowrap; }
.app-main .app-card { background: var(--white); border: 0; }
.group-title { font-size: 1rem; margin: 0; }
.field { display: grid; gap: 6px; font-weight: 500; font-size: .95rem; }
.field select, .pin-form input { width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; font-size: 16px; border: 1.5px solid #cfc7b6; border-radius: 10px; background: var(--white); color: var(--charcoal); }
#place { cursor: pointer; }
.pin-box { background: var(--forest); color: var(--cream); border-radius: var(--radius); padding: 16px; text-align: center; display: grid; gap: 4px; }
.pin-label { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.pin-digits { font-family: var(--font-head); font-size: 2.4rem; letter-spacing: .35em; padding-left: .35em; }
.pin-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.pin-form input { text-align: center; letter-spacing: .3em; font-weight: 600; }
.pin-form .btn { cursor: pointer; padding: 12px 16px; }
.badge.st-awaiting_payment { background: #fbf1dc; color: #7a5a14; }
.badge.st-paid { background: #e3eefc; color: #1d4f91; }
.badge.st-delivered { background: #e7f3ee; color: var(--forest); }
.badge.st-refunded, .badge.st-cancelled, .badge.st-disputed { background: #f1eee8; color: var(--muted); }
.auth-card .tabs { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }

/* ---------- Earnings, payouts and chat ---------- */
.money { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.money > div { background: var(--white); border-radius: var(--radius); padding: 14px; display: grid; gap: 4px; }
.money span { font-size: .8rem; color: var(--muted); }
.money strong { font-family: var(--font-head); font-size: 1.1rem; }
.money .money-main { grid-column: 1 / -1; background: var(--forest); }
.money .money-main span { color: var(--gold); }
.money .money-main strong { color: var(--cream); font-size: 1.9rem; }
#request { cursor: pointer; }
.block-title.sec { margin: 26px 0 12px; }
.field input { width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; font-size: 16px; border: 1.5px solid #cfc7b6; border-radius: 10px; background: var(--white); color: var(--charcoal); }
.field textarea { width: 100%; padding: 10px 14px; font: inherit; font-size: 16px; border: 1.5px solid #cfc7b6; border-radius: 10px; }
#bank-form .btn { cursor: pointer; }
.day-row { cursor: default; }
.day-net { color: var(--forest); font-family: var(--font-head); white-space: nowrap; }
.unread { font-style: normal; background: var(--gold); color: var(--forest); font-size: .75rem; font-weight: 700; min-width: 22px; height: 22px; line-height: 22px; text-align: center; border-radius: 999px; padding: 0 6px; flex: none; }
.preview { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-page { padding-bottom: 150px; }
.chat-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; margin-bottom: 10px; }
.chat-head h1 { font-size: 1.05rem; margin: 0; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.link-btn { border: 0; background: none; color: #8a1c13; font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; padding: 6px; }
.chat-safe { font-size: .82rem; }
.thread { display: grid; gap: 8px; margin-top: 12px; }
.bubble { max-width: 82%; padding: 10px 14px; border-radius: 16px; display: grid; gap: 2px; }
.bubble p { margin: 0; white-space: pre-wrap; word-break: break-word; }
.bubble small { font-size: .68rem; opacity: .7; }
.bubble.mine { justify-self: end; background: var(--forest); color: var(--cream); border-bottom-right-radius: 4px; }
.bubble.theirs { justify-self: start; background: var(--white); border-bottom-left-radius: 4px; }
.bubble .who { font-weight: 600; opacity: 1; }
.composer { position: fixed; left: 0; right: 0; bottom: 64px; z-index: 29; display: flex; gap: 8px; padding: 10px 16px; background: #F1ECE1; border-top: 1px solid var(--cream-dark); }
.composer textarea { flex: 1; min-height: 46px; max-height: 110px; padding: 11px 14px; font: inherit; font-size: 16px; border: 1.5px solid #cfc7b6; border-radius: 22px; resize: none; background: var(--white); }
.composer .btn { cursor: pointer; padding: 10px 18px; min-height: 46px; }
#msg-seller, #msg-store { margin: 0 0 14px; cursor: pointer; }
#msg-store { margin-top: 14px; }
.auth-card .tabs { overflow-x: auto; display: flex; }
.auth-card .tabs .tab { flex: 1 0 auto; padding: 0 14px; }
@media (min-width: 900px) { .composer { bottom: 0; } }

/* ---------- Seller mode (looks different from the buyer side) ---------- */
.seller-header { background: var(--charcoal); color: var(--cream); position: sticky; top: 0; z-index: 30; border-bottom: 3px solid var(--gold); }
.seller-pill { background: var(--gold); color: var(--charcoal); font-family: var(--font-head); font-weight: 700; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.switch { color: var(--cream); font-weight: 600; font-size: .85rem; text-decoration: none; border: 1.5px solid rgba(246, 241, 231, .5); border-radius: 999px; padding: 7px 14px; }
.seller-nav a.active { color: var(--gold-dark); }
.seller-page .auth-main { padding: 16px 16px 24px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
.tile { background: var(--white); border-radius: var(--radius); padding: 16px 14px; text-decoration: none; display: grid; gap: 2px; border-left: 4px solid var(--gold); }
.tile strong { font-family: var(--font-head); font-size: 1.5rem; color: var(--forest); }
.tile span { font-size: .82rem; color: var(--muted); }
.edit-box { padding: 4px 16px 16px; display: grid; gap: 12px; justify-items: start; }
.edit-box .field { width: 100%; }
.edit-box label, .edit-box button { cursor: pointer; }
.seller-page .my-details { margin-top: 14px; }
/* store identity shown around the shop */
.card-store { display: flex; align-items: center; gap: 6px; }
.card-store span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.mini-logo { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--forest); color: var(--cream); font-size: .65rem; font-weight: 700; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.mini-logo img { width: 100%; height: 100%; object-fit: cover; }
.store-row { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.store-row::-webkit-scrollbar { display: none; }
.store-row .cat-item { flex: 0 0 76px; }
.store-circle { color: var(--cream); font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; }
.seller-card { display: flex; align-items: center; gap: 12px; background: var(--white); border-radius: var(--radius); padding: 12px 14px; text-decoration: none; margin: 14px 0; }
.seller-text { flex: 1; min-width: 0; display: grid; }
.seller-text small { color: var(--muted); font-size: .78rem; }
.seller-text strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.switch { white-space: nowrap; }
@media (max-width: 420px) { .seller-header .wordmark { display: none; } }

/* ---------- Store page header ---------- */
.store-hero { background: var(--white); border-radius: 20px; overflow: hidden; box-shadow: 0 1px 3px rgba(18, 55, 42, .08); }
.store-cover { height: 96px; background: linear-gradient(135deg, #12372A 0%, #1F6B50 70%, #B78B45 160%); }
.store-body { padding: 0 20px 20px; text-align: center; display: grid; justify-items: center; }
.store-logo.big { width: 92px; height: 92px; font-size: 2.2rem; margin-top: -46px; border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--gold); }
.store-body h1 { font-size: 1.45rem; margin: 12px 0 8px; word-break: break-word; }
.store-meta { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 10px; font-size: .88rem; color: var(--muted); }
.store-meta span:not(.badge) + span:not(.badge)::before, .store-meta .badge + span::before { content: "·"; margin-right: 10px; color: #b9b1a0; }
.store-about { margin: 14px 0 0; color: var(--charcoal); font-size: .95rem; max-width: 420px; white-space: pre-line; }
.store-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; max-width: 380px; margin-top: 18px; }
.store-actions .btn { min-height: 46px; padding: 10px 12px; cursor: pointer; margin: 0; }
.store-actions .btn:only-child, .store-actions .btn[hidden] + .btn { grid-column: 1 / -1; }
.btn-following { background: var(--cream); color: var(--forest); border-color: var(--forest); }

/* ---------- Password show / hide ---------- */
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 52px !important; }
.pw-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; background: none; cursor: pointer; color: var(--muted); display: flex; align-items: center; justify-content: center; }
.pw-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pw-toggle .eye-off { display: none; }
.pw-toggle.on { color: var(--forest); }
.pw-toggle.on .eye-off { display: block; }
.store-actions #msg-store { margin: 0; }
.store-actions { align-items: center; }

/* =====================================================================
   DESIGN SYSTEM PASS — one look for every page
   ===================================================================== */
:root { --bg: #F1ECE1; --card-radius: 18px; --shadow: 0 1px 2px rgba(18, 55, 42, .06), 0 4px 14px rgba(18, 55, 42, .05); --line: #ECE5D6; }
body, .shop-page, .auth-page { background: var(--bg); }

/* surfaces: every white panel shares radius, shadow and no border */
.auth-card, .app-card, .app-main .app-card, .summary, .gate, .menu, .store-head, .store-hero, .tile, .money > div,
.seller-card, .trust div, .journey, .prod-row, .p-card, .shop-page .card, .card {
  border: 0; border-radius: var(--card-radius); box-shadow: var(--shadow); background: var(--white);
}
.money .money-main { background: var(--forest); }
.tile { border-left: 4px solid var(--gold); }
.app-card { padding: 18px; gap: 12px; }
.summary { padding: 18px; }
.gate { padding: 28px 20px; text-align: center; }
.gate .btn { margin-top: 6px; }
.app-list { gap: 14px; }
.menu-item { border-bottom: 1px solid var(--line); }

/* type */
.page-title, .page-head h1 { font-size: 1.35rem; line-height: 1.25; }
.auth-card h1 { font-size: 1.35rem; }
.block-title { font-size: 1.1rem; }
.app-head h2 { font-size: 1.05rem; }
.eyebrow { font-size: .72rem; }
.prod-meta, .fine { font-size: .86rem; }

/* page header with back button */
.page-head { display: flex; align-items: center; gap: 10px; margin: 2px 0 16px; }
.page-head h1 { margin: 0; flex: 1; min-width: 0; }
.page-head.slim h1 { font-size: 1rem; color: var(--muted); font-family: var(--font-body); font-weight: 500; }
.back { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; color: var(--forest); }
.back svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* buttons: primary, secondary, danger — same shape everywhere */
.btn { min-height: 48px; border-radius: 999px; font-size: .97rem; letter-spacing: .005em; }
.btn-small { min-height: 40px; font-size: .88rem; padding: 8px 18px; }
.btn-forest { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.btn-forest:hover { background: var(--emerald); border-color: var(--emerald); }
.btn-doc, .btn-following { background: var(--white); color: var(--forest); border: 1.5px solid #C9D6CF; }
.btn-doc:hover { border-color: var(--forest); }
.btn-gold { background: var(--gold); color: var(--forest); border-color: var(--gold); }
.btn-danger { background: var(--white); color: #8a1c13; border: 1.5px solid #E7BDB8; }
.btn:disabled { opacity: .55; }
.action-row { gap: 10px; }

/* form controls: one style for every input */
.auth-card input[type=text], .auth-card input[type=email], .auth-card input[type=tel], .auth-card input[type=password],
.auth-card select, .auth-card textarea, .field input, .field select, .field textarea, .pin-form input, .reason, .filter select {
  width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; font-size: 16px; color: var(--charcoal);
  background: var(--white); border: 1.5px solid #D5CDBD; border-radius: 12px;
}
.auth-card textarea, .field textarea, .reason { min-height: 0; resize: vertical; }
.auth-card input:focus, .auth-card select:focus, .auth-card textarea:focus, .field input:focus, .field select:focus,
.field textarea:focus, .pin-form input:focus, .reason:focus, .filter select:focus, .composer textarea:focus, .search input:focus {
  outline: none; border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(31, 107, 80, .16);
}
.shop-header .search input:focus { box-shadow: none; }
.auth-card label, .field, .filter { font-size: .9rem; font-weight: 500; color: #3a403c; }
.filter { display: grid; gap: 6px; }
.auth-card input[type=file] { border-radius: 12px; }

/* badges and notices */
.badge { font-size: .72rem; font-weight: 600; padding: 4px 10px; letter-spacing: .01em; }
.notice { border-radius: 12px; border-left: 4px solid var(--gold); background: #FAF6EC; font-size: .88rem; line-height: 1.5; }
.msg { border-radius: 12px; }
.tabs { background: #E9E2D3; padding: 4px; border-radius: 999px; gap: 2px; margin-bottom: 16px; }
.tab { min-height: 40px; font-size: .88rem; white-space: nowrap; }
.auth-card .tabs, .admin-main .tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
.admin-main .tabs::-webkit-scrollbar, .auth-card .tabs::-webkit-scrollbar { display: none; }
.admin-main .tabs .tab, .auth-card .tabs .tab { flex: 1 0 auto; padding: 0 16px; }

/* product page */
.product { gap: 16px; }
.main-img { border-radius: 20px; box-shadow: var(--shadow); }
.p-card { padding: 18px; }
.product-info { display: grid; gap: 14px; }
.product-info h1 { font-size: 1.3rem; margin-bottom: 6px; }
.price { font-size: 1.7rem; }
.p-card .buy { margin: 16px 0 0; }
.p-card .sub { margin: 0 0 8px; font-size: 1.05rem; }
.p-card .desc { margin: 0; }
.seller-card { margin: 0; }
#msg-seller { margin: 0; }
.product-info > .notice { margin: 0; }
#added { margin: 14px 0 0; }

/* lists and rows */
.prod-row { padding: 14px; }
.details { gap: 8px 16px; }
.details dt { font-size: .86rem; }
.summary-line { align-items: baseline; }
.pin-box { border-radius: 16px; }

/* admin */
.admin-page .seller-header { border-bottom-color: var(--emerald); }
.admin-page .seller-pill { background: var(--emerald); color: var(--cream); }
.admin-page { padding-bottom: 40px; }
.admin-main .filter { margin-bottom: 16px; }

/* forms inside the seller shell (apply to sell, add product) */
.seller-page .auth-main, .auth-main { padding: 20px 16px 32px; }
.auth-card { padding: 24px 20px; }
.auth-card.wide { max-width: 640px; }

/* account header */
#account .store-head { padding: 18px; }
.store-id h1 { font-size: 1.15rem; }
.pin-form { grid-template-columns: minmax(96px, 1fr) auto; }
.pin-form input::placeholder { letter-spacing: normal; font-weight: 400; }

/* ---------- Shop first screen ---------- */
.hero-shop { background: linear-gradient(180deg, var(--forest) 0%, #17473A 100%); color: var(--cream); padding: 10px 0 46px; border-radius: 0 0 28px 28px; overflow: hidden; }
.hero-grid { display: grid; gap: 22px; }
.hero-copy h1 { font-size: clamp(1.6rem, 6.6vw, 2.6rem); line-height: 1.15; margin: 0 0 12px; letter-spacing: -.01em; }
.hero-copy .slide-eyebrow { font-family: var(--font-head); font-weight: 600; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.hero-sub { margin: 0 0 20px; color: rgba(246, 241, 231, .86); font-size: .98rem; max-width: 460px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-cta .btn { flex: 1 1 150px; }
.btn-ghost { background: transparent; color: var(--cream); border: 1.5px solid rgba(246, 241, 231, .55); }
.btn-ghost:hover { background: rgba(246, 241, 231, .12); }
.hero-shots { position: relative; height: 150px; display: flex; justify-content: center; align-items: center; }
.hero-shots .slide-mark { position: static; width: 120px; height: 120px; fill: var(--cream); opacity: .14; }
.hero-shots img { position: absolute; width: 118px; height: 148px; object-fit: cover; border-radius: 16px; border: 3px solid var(--cream); box-shadow: 0 10px 24px rgba(0, 0, 0, .28); background: var(--cream-dark); }
.hero-shots.has-1 img { transform: rotate(-3deg); }
.hero-shots.has-2 img:nth-child(1) { transform: translateX(-52px) rotate(-7deg); }
.hero-shots.has-2 img:nth-child(2) { transform: translateX(52px) rotate(6deg); }
.hero-shots.has-3 img:nth-child(1) { transform: translateX(-96px) rotate(-9deg) scale(.92); }
.hero-shots.has-3 img:nth-child(2) { transform: translateY(-4px); z-index: 2; }
.hero-shots.has-3 img:nth-child(3) { transform: translateX(96px) rotate(9deg) scale(.92); }
.trust.lifted { margin-top: -26px; position: relative; z-index: 2; }
.protect { display: grid; gap: 10px; }
.protect li { background: var(--white); border-radius: var(--card-radius); box-shadow: var(--shadow); padding: 16px; display: flex; gap: 14px; align-items: flex-start; }
.protect li > span { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--forest); color: var(--cream); font-family: var(--font-head); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.protect strong { display: block; margin-bottom: 2px; }
.protect p { margin: 0; color: var(--muted); font-size: .9rem; }
.join { background: var(--forest); color: var(--cream); border-radius: 20px; padding: 26px 20px; text-align: center; }
.join h2 { font-size: 1.3rem; margin: 0 0 6px; }
.join p { margin: 0 0 16px; color: rgba(246, 241, 231, .85); }
.shop-foot { margin-top: 30px; padding-top: 20px; padding-bottom: 8px; border-top: 1px solid #E0D8C8; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .9rem; }
.shop-foot a, .foot-btn { color: var(--forest); font-weight: 600; text-decoration: none; background: none; border: 0; padding: 4px 0; font: inherit; font-weight: 600; cursor: pointer; }
.shop-foot p { flex-basis: 100%; margin: 6px 0 0; color: var(--muted); font-size: .82rem; }
#cats { scroll-margin-top: 140px; }
.shop-page .slides { margin-top: 0; }

/* ---------- Sizes, colours, who it is for ---------- */
.segmented.three { grid-template-columns: repeat(3, 1fr); }
#fashion-fields { display: grid; gap: 14px; }
#fashion-fields[hidden] { display: none; }
.tick-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tick-chips label { display: block; position: relative; }
.tick-chips input { position: absolute; opacity: 0; }
.tick-chips span { display: flex; align-items: center; justify-content: center; min-width: 52px; min-height: 44px; padding: 0 14px; border: 1.5px solid #D5CDBD; border-radius: 12px; font-weight: 600; font-size: .9rem; cursor: pointer; background: var(--white); }
.tick-chips input:checked + span { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.tick-chips input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.opt { margin-top: 16px; }
.opt-label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.opt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-chip { min-width: 50px; min-height: 44px; padding: 0 14px; border: 1.5px solid #D5CDBD; border-radius: 12px; background: var(--white); font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; color: var(--charcoal); }
.opt-chip.active { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.p-top { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; }
.p-top .eyebrow { margin: 0; }
.for-tag { font-size: .7rem; font-weight: 600; background: #EFE9DB; color: var(--forest); padding: 3px 10px; border-radius: 999px; }
.for-tag.on-pic { position: absolute; left: 8px; bottom: 8px; background: rgba(255, 255, 255, .92); }
.for-chips { padding-top: 2px; }
.chip.small { padding: 6px 14px; font-size: .84rem; }
.cart-opts { margin: 0; font-size: .86rem; font-weight: 600; color: var(--forest); }

/* ---------- Guest prompt and feedback ---------- */
.guest-card { display: grid; gap: 10px; background: #FAF6EC; border-radius: 14px; padding: 16px; text-align: center; }
.guest-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.feedback { display: grid; gap: 8px; background: #FAF6EC; border-radius: 14px; padding: 14px; }
.feedback small { color: var(--muted); }
.feedback textarea { width: 100%; padding: 10px 12px; font: inherit; font-size: 16px; border: 1.5px solid #D5CDBD; border-radius: 12px; resize: vertical; }
.feedback .btn { justify-self: start; cursor: pointer; }
.stars { display: flex; gap: 4px; }
.star { width: 44px; height: 44px; border: 0; background: none; font-size: 1.9rem; line-height: 1; color: #D5CDBD; cursor: pointer; padding: 0; }
.star.on { color: var(--gold); }

/* ---------- Welcome card and tour ---------- */
.welcome { position: fixed; inset: 0; z-index: 100; background: rgba(18, 37, 30, .55); display: flex; align-items: center; justify-content: center; padding: 20px; animation: w-fade .2s ease-out; }
.welcome-card { position: relative; width: 100%; max-width: 340px; background: var(--white); border-radius: 22px; padding: 26px 22px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0; box-shadow: 0 18px 44px rgba(18, 37, 30, .28); animation: w-up .25s ease-out; }
.welcome-card h2 { font-family: var(--font-head); font-size: 1.22rem; font-weight: 700; line-height: 1.3; margin: 14px 0 6px; color: var(--charcoal); }
.welcome-card p { margin: 0; font-size: .92rem; line-height: 1.6; color: var(--muted); }
.welcome-eyebrow { font-family: var(--font-body) !important; font-size: .68rem !important; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark) !important; margin-top: 14px !important; }
.welcome-card .welcome-eyebrow + h2 { margin-top: 4px; }
.welcome-points { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--cream-dark); width: 100%; display: grid; gap: 8px; text-align: left; }
.welcome-points li { position: relative; padding-left: 22px; font-size: .88rem; line-height: 1.5; color: var(--charcoal); }
.welcome-points li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 6px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: translateY(-50%) rotate(-45deg); }
.welcome-actions { width: 100%; display: grid; gap: 10px; margin-top: 20px; }
.welcome-card .btn { min-height: 46px; font-size: .95rem; cursor: pointer; }
.btn-ghost-line { background: var(--white); color: var(--forest); border: 1.5px solid var(--cream-dark); }
.btn-ghost-line:hover { border-color: var(--forest); }
.welcome-x { position: absolute; top: 8px; right: 10px; width: 36px; height: 36px; border: 0; background: none; font-size: 1.5rem; line-height: 1; color: var(--muted); cursor: pointer; }
.welcome-mark { width: 60px; height: 60px; border-radius: 18px; background: var(--forest); display: flex; align-items: center; justify-content: center; }
.welcome-mark svg { width: 36px; height: 36px; }
.tour-icon { width: 58px; height: 58px; border-radius: 50%; background: #E7F3EE; display: flex; align-items: center; justify-content: center; }
.tour-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--forest); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tour-count { font-size: .68rem !important; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--gold-dark) !important; margin: 14px 0 0 !important; }
.tour-card h2 { margin-top: 4px; }
.tour-dots { display: flex; justify-content: center; gap: 6px; margin: 14px 0 0; }
.tour-dots span { width: 7px; height: 7px; border-radius: 999px; background: #D5CDBD; }
.tour-dots span.on { width: 22px; background: var(--forest); }
.tour-nav { display: flex; gap: 10px; width: 100%; margin-top: 20px; }
.tour-nav .btn { flex: 1; min-height: 46px; font-size: .95rem; }

/* Protection note (checkout and anywhere payments are explained) */
.assure { background: var(--cream); border-radius: 14px; padding: 14px 16px; }
.assure-head { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--forest); }
.assure-head svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--gold-dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.assure ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: a; }
.assure li { counter-increment: a; display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .88rem; line-height: 1.5; color: var(--charcoal); }
.assure li::before { content: counter(a); width: 22px; height: 22px; border-radius: 50%; background: var(--forest); color: var(--cream); font-family: var(--font-head); font-weight: 600; font-size: .72rem; display: flex; align-items: center; justify-content: center; }
@keyframes w-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes w-up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .welcome, .welcome-card { animation: none; } }
@media (min-width: 640px) { .hero-grid { grid-template-columns: 1.2fr 1fr; align-items: center; } .hero-shots { height: 220px; } .hero-shots img { width: 150px; height: 190px; } .hero-shop { padding: 30px 0 60px; } }

/* ---------- Admin: Starter collection meter ---------- */
.money-card h2 { font-size: 1.25rem; margin: 2px 0 10px; }
.meter { height: 12px; border-radius: 999px; background: var(--cream-dark); overflow: hidden; margin-bottom: 8px; }
.meter span { display: block; height: 100%; border-radius: 999px; background: var(--emerald); transition: width .4s ease; }
.money-watch .meter span { background: var(--gold); }
.money-warn .meter span { background: #D9822B; }
.money-danger .meter span { background: #B3261E; }
.money-warn, .money-danger { border-left: 4px solid #D9822B; }
.money-danger { border-left-color: #B3261E; }
.section-label { font-family: var(--font-head); font-size: 1rem; margin: 22px 0 10px; color: var(--forest); }

/* ---------- Header, side menu and install (shared) ---------- */
.menu-btn { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: inherit; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.menu-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.shop-bar .brand, .seller-header .brand { flex: 1; min-width: 0; margin-left: 4px; }
.shop-bar .brand .wordmark { white-space: nowrap; }
.shop-bar .brand .logo { flex: none; }
.install-link { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--gold); color: var(--forest); font-family: var(--font-head); font-weight: 600; font-size: .8rem; cursor: pointer; white-space: nowrap; }
.install-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.seller-header .install-link { background: transparent; color: var(--cream); border: 1.5px solid rgba(246, 241, 231, .4); }
.seller-header .shop-icons { display: flex; align-items: center; }
.seller-header .shop-icons .install-link { height: 38px; }
.seller-header .shop-bar { gap: 8px; }
.seller-header .brand { gap: 8px; }
.shop-bar .shop-icons { gap: 8px; align-items: center; }
@media (max-width: 420px) { .install-link span { display: none; } .install-link { width: 40px; padding: 0; justify-content: center; } }
.drawer { position: fixed; inset: 0; z-index: 200; }
.drawer[hidden], .welcome[hidden] { display: none; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(18, 37, 30, .5); animation: w-fade .2s ease-out; }
.drawer-panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(330px, 88vw); background: var(--white); overflow-y: auto; box-shadow: 8px 0 30px rgba(0, 0, 0, .18); animation: drawer-in .25s ease-out; padding-bottom: 24px; }
.drawer-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; background: var(--forest); color: var(--cream); padding: 10px 12px 10px 18px; min-height: 60px; }
.drawer-title { font-family: var(--font-head); font-weight: 600; letter-spacing: .04em; }
.drawer-head .menu-btn { color: var(--cream); }
.drawer-group { border-bottom: 1px solid var(--cream-dark); padding: 6px 0 8px; }
.drawer-group:last-child { border-bottom: 0; }
.drawer-group h3 { font-family: var(--font-body); font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); margin: 12px 20px 4px; }
.drawer-group a, .drawer-install { display: flex; align-items: center; gap: 14px; padding: 12px 20px; text-decoration: none; color: var(--charcoal); font-size: .95rem; font-weight: 500; width: 100%; background: none; border: 0; text-align: left; cursor: pointer; }
.drawer-group a:hover, .drawer-group a:focus-visible, .drawer-install:hover { background: var(--cream); }
.drawer-group svg, .drawer-install svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--forest); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.drawer-install { color: var(--forest); font-weight: 600; font-family: var(--font-body); font-size: .95rem; }
.install-steps { text-align: left; margin: 0 0 6px; padding-left: 20px; list-style: decimal; font-size: .9rem; color: var(--charcoal); line-height: 1.6; }
@keyframes drawer-in { from { transform: translateX(-100%); } to { transform: none; } }
.bottom-nav.three { grid-template-columns: repeat(3, 1fr); }

/* ---------- Header wordmark and installed-app spacing ---------- */
.shop-bar .brand .wordmark, .seller-header .brand .wordmark { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; letter-spacing: .05em; line-height: 1; }
.shop-bar .brand .logo, .seller-header .brand .logo { width: 36px; height: 36px; }
.shop-bar .brand { gap: 8px; }
.standalone .shop-header, .standalone .seller-header { padding-top: env(safe-area-inset-top); }
html { -webkit-tap-highlight-color: transparent; }
body { overscroll-behavior-y: none; }

/* ---------- First-visit install banner ---------- */
.install-banner { position: fixed; top: calc(10px + env(safe-area-inset-top)); left: 12px; right: 12px; z-index: 150; display: flex; align-items: center; gap: 12px; background: var(--white); border-radius: 18px; padding: 12px 12px 12px 12px; box-shadow: 0 14px 36px rgba(18, 37, 30, .22); transform: translateY(-140%); opacity: 0; transition: transform .35s ease, opacity .35s ease; }
.install-banner.show { transform: none; opacity: 1; }
.install-banner-mark { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--forest); display: flex; align-items: center; justify-content: center; }
.install-banner-mark svg { width: 28px; height: 28px; }
.install-banner-text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.install-banner-text strong { font-family: var(--font-head); font-size: .95rem; font-weight: 700; color: var(--charcoal); line-height: 1.25; }
.install-banner-text small { font-size: .8rem; color: var(--muted); line-height: 1.35; }
.install-banner-go { flex: none; min-height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--gold); color: var(--forest); font-family: var(--font-head); font-weight: 700; font-size: .85rem; cursor: pointer; }
.install-banner-x { flex: none; width: 28px; height: 28px; margin: -4px -4px 0 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 1.3rem; line-height: 1; cursor: pointer; align-self: flex-start; }
@media (prefers-reduced-motion: reduce) { .install-banner { transition: none; } }

/* ---------- Contact page ---------- */
.contact-list { display: grid; gap: 10px; margin-top: 8px; }
.contact-item { display: flex; align-items: center; gap: 14px; background: var(--white); border-radius: var(--card-radius); box-shadow: var(--shadow); padding: 16px; text-decoration: none; color: var(--charcoal); }
.contact-icon { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--forest); display: flex; align-items: center; justify-content: center; }
.contact-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--cream); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-text { display: grid; gap: 2px; min-width: 0; }
.contact-text strong { font-family: var(--font-head); font-size: .95rem; color: var(--forest); }
.contact-text small { color: var(--muted); font-size: .84rem; overflow-wrap: anywhere; }

/* ---------- Home top campaign banner ---------- */
.home-top { margin-top: 16px; }
.home-top .slide h1 { font-size: 1.55rem; line-height: 1.2; margin: 0 0 6px; }

/* ---------- Notifications and switches ---------- */
.vn-card { position: fixed; top: calc(12px + env(safe-area-inset-top)); left: 50%; width: min(420px, calc(100% - 24px)); transform: translate(-50%, -150%); transition: transform .3s ease; z-index: 60; display: flex; align-items: center; gap: 12px; background: var(--white); color: var(--charcoal); border: 1px solid var(--cream-dark); border-radius: 16px; box-shadow: 0 10px 30px rgba(18, 55, 42, .2); padding: 12px 14px; text-decoration: none; }
.vn-card.show { transform: translate(-50%, 0); }
.vn-logo { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--forest); display: flex; align-items: center; justify-content: center; }
.vn-logo svg { width: 24px; height: 24px; }
.vn-text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.vn-text strong { font-family: var(--font-head); font-size: .92rem; color: var(--forest); }
.vn-text small { font-size: .84rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vn-x { flex: none; background: none; border: 0; font-size: 1.4rem; line-height: 1; color: var(--muted); padding: 4px 6px; cursor: pointer; }
.menu-item .switch { margin-left: auto; }
.switch { position: relative; display: inline-block; width: 44px; height: 26px; flex: none; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; margin: 0; }
.switch > span { position: absolute; inset: 0; background: #cfc8b8; border-radius: 999px; transition: background .2s; }
.switch > span::before { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .2s; }
.switch input:checked + span { background: var(--emerald); }
.switch input:checked + span::before { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Alert swipe: keep vertical drags for the card, not the page */
.vn-card { touch-action: none; user-select: none; -webkit-user-select: none; }

/* Messages list: round avatar, one-line names, tidy preview */
.menu-item > .store-logo { flex: 0 0 52px; width: 52px; height: 52px; font-size: 1.05rem; border-width: 1.5px; }
.menu-item > span strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--forest); font-size: 1rem; font-weight: 600; }
.menu-item > span small.preview { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 3px; }
.menu-item .unread { flex: none; }

/* Chat: WhatsApp-style bubbles on a soft patterned background */
.thread { position: relative; padding: 14px 10px 18px; border-radius: 18px; background-color: #ECE6D6; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='%2312372A' fill-opacity='0.07'%3E%3Ccircle cx='20' cy='20' r='3'/%3E%3Cpath d='M70 14h22l4 8H66z'/%3E%3Ccircle cx='95' cy='70' r='3'/%3E%3Cpath d='M18 80h20l3 6H15z'/%3E%3C/g%3E%3C/svg%3E"); gap: 6px; }
.bubble { position: relative; max-width: 80%; padding: 8px 12px 6px; border-radius: 12px; display: grid; gap: 2px; box-shadow: 0 1px 1px rgba(18, 55, 42, .12); font-size: .98rem; line-height: 1.4; }
.bubble p { margin: 0; }
.bubble small.time { justify-self: end; font-size: .68rem; opacity: .65; margin-top: 2px; }
.bubble.mine { border-bottom-right-radius: 4px; }
.bubble.theirs { border-bottom-left-radius: 4px; border: 1px solid #efe9da; }
.bubble.mine::after { content: ""; position: absolute; right: -6px; bottom: 0; border: 6px solid transparent; border-left-color: var(--forest); border-right: 0; border-bottom: 8px solid var(--forest); }
.bubble.theirs::after { content: ""; position: absolute; left: -6px; bottom: 0; border: 6px solid transparent; border-right-color: var(--white); border-left: 0; border-bottom: 8px solid var(--white); }
.thread .empty-note { background: rgba(255, 255, 255, .7); border-radius: 12px; padding: 8px 12px; }

/* Chat background: faint repeating Vendly logo */
.thread { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'><g fill='%2312372A' fill-opacity='0.07' transform='translate(12 14) scale(0.6)'><path d='M10 5h28l5 9H5z'/><path d='M5 14a6.33 6.33 0 0 0 12.67 0 6.33 6.33 0 0 0 12.66 0A6.33 6.33 0 0 0 43 14z'/><path d='M10 25h8l6 13 6-13h8L28 45h-8z'/></g><g fill='%2312372A' fill-opacity='0.07' transform='translate(72 74) scale(0.6)'><path d='M10 5h28l5 9H5z'/><path d='M5 14a6.33 6.33 0 0 0 12.67 0 6.33 6.33 0 0 0 12.66 0A6.33 6.33 0 0 0 43 14z'/><path d='M10 25h8l6 13 6-13h8L28 45h-8z'/></g>%3C/svg%3E"); }

/* Store ratings */
.store-reviews { margin: 14px 0 18px; background: var(--white); border-radius: 16px; padding: 14px 16px; box-shadow: 0 1px 2px rgba(18,55,42,.06); }
.rv-head { display: flex; align-items: baseline; gap: 10px; }
.rv-head strong { font-family: var(--font-head); font-size: 1.15rem; color: var(--forest); }
.rv-count { color: var(--muted); font-size: .85rem; }
.rv-item { border-top: 1px solid #f0ebe0; margin-top: 12px; padding-top: 12px; }
.rv-stars { color: var(--gold); letter-spacing: 2px; font-size: .95rem; }
.rv-text { margin: 4px 0; line-height: 1.5; }
.rv-by { color: var(--muted); }

/* Admin: compact rows that open on tap */
.row-card { background: var(--white); border: 1px solid var(--cream-dark); border-radius: var(--radius); margin: 0 0 10px; overflow: hidden; }
.row-sum { list-style: none; cursor: pointer; position: relative; padding: 14px 44px 14px 16px; }
.row-sum::-webkit-details-marker { display: none; }
.row-sum::after { content: ""; position: absolute; right: 20px; top: 50%; width: 7px; height: 7px; border-right: 2px solid var(--forest); border-bottom: 2px solid var(--forest); transform: translateY(-60%) rotate(45deg); transition: transform .2s ease; }
.row-card[open] > .row-sum::after { transform: translateY(-20%) rotate(225deg); }
.row-sum .app-head { align-items: center; }
.row-sum .app-head h2 { font-size: 1rem; font-weight: 600; }
.row-sum .badge { font-size: .75rem; padding: 3px 10px; white-space: nowrap; }
.row-title { font-weight: 600; }
.row-body { display: grid; gap: 10px; padding: 4px 16px 16px; border-top: 1px solid var(--cream-dark); }
.row-body > * { margin: 0; }
.row-body .app-desc, .row-body .details { font-size: .92rem; }
.admin-page .shop-bar { gap: 8px; }
.admin-page .shop-bar .switch { white-space: nowrap; flex-shrink: 0; padding: 8px 14px; font-size: .85rem; }
.admin-page .brand { min-width: 0; }

/* Reviews and customer support pages */
.review-card, .support-card { background: #fff; border: 1px solid #e7e0d0; border-radius: 14px; padding: 14px; margin: 0 0 12px; }
.review-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.review-order { font-size: 12px; color: #777; }
.support-card .support-q { margin: 0 0 6px; white-space: pre-wrap; }
.support-when, .support-status { font-size: 12px; color: #777; }
.support-status { display: inline-block; margin-top: 6px; }
.support-reply { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #faf7f0; border-left: 3px solid #202522; }
.support-reply p { margin: 4px 0; white-space: pre-wrap; }
.support-reply small { color: #777; font-size: 12px; }
#support-form textarea { width: 100%; box-sizing: border-box; min-height: 90px; }
