/* tendeta v2 — single mobile-first stylesheet for landing, dashboard and storefronts */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #fafaf7;
  --ink: #17171a;
  --muted: #6b6b70;
  --card: #ffffff;
  --line: #e8e8e3;
  --accent: #17171a;
  --green: #217a3c;
  --radius: 18px;
  --radius-sm: 12px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  min-height: 100dvh;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
input, select, textarea, button { font: inherit; color: inherit; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.06s ease, opacity 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-green { background: var(--green); color: #fff; }
.btn-danger { background: #fff; color: #c62828; border: 1.5px solid #f3c9c9; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: default; }

/* ---------- forms ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--muted); }
.input, select.input, textarea.input {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 16px;
  background: #fff;
  outline: none;
}
.input:focus { border-color: var(--ink); }
textarea.input { resize: vertical; min-height: 84px; }
.hint { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.error-box {
  background: #fdecec;
  color: #b3261e;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14px;
  margin-bottom: 16px;
}
.ok-box {
  background: #e7f5ea;
  color: #1e6b35;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14px;
  margin-bottom: 16px;
}

/* ---------- landing / site ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
}
.site-header nav { display: flex; gap: 8px; align-items: center; }
.language-menu { position: relative; }
.language-menu summary { cursor: pointer; font-size: 13px; font-weight: 700; list-style: none; padding: 8px 4px; }
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary::after { content: '⌄'; font-size: 13px; margin-left: 4px; }
.language-menu-list { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1); padding: 5px; position: absolute; right: 0; top: 37px; width: 132px; z-index: 10; }
.language-menu-list a { border-radius: 8px; display: block; font-size: 13px; padding: 7px 9px; text-decoration: none; }
.language-menu-list a:hover { background: #f1efe4; }
.logo { font-weight: 800; font-size: 22px; text-decoration: none; letter-spacing: -0.5px; }
.logo-dot { color: #e0762e; }
.site-main { max-width: 1080px; margin: 0 auto; padding: 0 20px 80px; width: 100%; }
.site-footer { background: #17171a; border-radius: 28px; color: #d4d4ce; font-size: 14px; margin: 0 auto 24px; max-width: 1040px; min-width: 0; padding: 34px 28px 20px; width: min(1040px, calc(100% - 40px)); }.site-footer a { color: inherit; overflow-wrap: anywhere; text-decoration: none; }.site-footer a:hover { color: #fff; }.site-footer-grid { display: grid; gap: 30px; min-width: 0; }.footer-brand { display: flex; flex-direction: column; gap: 8px; min-width: 0; }.footer-logo { color: #fff; }.footer-brand p { color: #9e9e98; max-width: 190px; }.footer-brand > a:last-child { color: #f3f0aa; font-weight: 650; }.footer-column { display: flex; flex-direction: column; gap: 8px; min-width: 0; }.footer-column h2 { color: #8f8f89; font-size: 11px; letter-spacing: .1em; margin-bottom: 2px; text-transform: uppercase; }.footer-column a { color: #e5e5df; }.site-footer-bottom { border-top: 1px solid #343437; color: #8f8f89; font-size: 12px; margin-top: 30px; padding-top: 18px; }@media (max-width: 679px) { .site-footer { border-radius: 22px; padding: 28px 24px 18px; width: calc(100% - 32px); } }.site-footer-grid > * { min-width: 0; }@media (min-width: 680px) { .site-footer { padding: 42px 46px 22px; }.site-footer-grid { grid-template-columns: minmax(0,1.7fr) repeat(3,minmax(0,1fr)); } }
.site-footer-soft { color: #92928e; font-size: 12px; margin: 0 auto; max-width: 560px; padding: 14px 20px 28px; text-align: center; }.site-footer-soft a { color: inherit; text-decoration: none; }.site-footer-soft a:hover { color: var(--ink); }.site-footer-soft span { color: #c7c7c1; margin: 0 5px; }
.legal-content h2 { font-size: 20px; letter-spacing: -0.3px; margin: 26px 0 8px; }
.legal-content p { color: var(--muted); margin-bottom: 12px; }
.legal-content a { color: var(--ink); }

.hero { text-align: center; padding: 56px 0 40px; }
.hero h1 {
  font-size: clamp(34px, 7vw, 62px);
  line-height: 1.08;
  letter-spacing: -1.5px;
  font-weight: 800;
  max-width: 800px;
  margin: 0 auto 18px;
}
.hero p.sub { font-size: clamp(16px, 2.5vw, 20px); color: var(--muted); max-width: 560px; margin: 0 auto 28px; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.section-claim {
  text-align: center;
  font-size: clamp(22px, 3.6vw, 32px);
  letter-spacing: -0.8px;
  font-weight: 700;
  max-width: 640px;
  margin: 56px auto 40px;
}

/* ---------- big feature panels ---------- */
.feature-panel {
  background: #f1efe4;
  border-radius: 28px;
  padding: 40px 24px;
  margin: 22px 0;
  display: grid;
  gap: 36px;
  overflow: hidden;
}
.fp-text h2 { font-size: clamp(24px, 3.4vw, 34px); letter-spacing: -0.9px; line-height: 1.15; margin-bottom: 14px; }
.fp-text p { color: var(--muted); font-size: 16.5px; max-width: 420px; }
@media (min-width: 840px) {
  .feature-panel { grid-template-columns: 1fr 1fr; align-items: center; padding: 64px 56px; }
  .feature-panel.reverse .fp-text { order: 2; }
  .feature-panel.reverse .fp-visual { order: 1; }
}

/* FAQ */
.faq-section { margin: 76px auto 0; padding: 0 24px; }
.faq-item { border-bottom: 1px solid #dcdcd7; }
.faq-item summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 400;
  gap: 20px;
  justify-content: space-between;
  letter-spacing: -1.4px;
  line-height: 1.15;
  list-style: none;
  padding: 38px 0 40px;
}
.faq-item summary::marker { content: ''; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { flex: 0 0 auto; font-size: 32px; font-weight: 300; letter-spacing: 0; line-height: 0.7; }
.faq-icon::before { content: '+'; }
.faq-item[open] .faq-icon::before { content: '−'; }
.faq-item p { color: var(--muted); font-size: 17px; max-width: 720px; padding: 0 64px 36px 0; }
@media (min-width: 840px) {
  .faq-section { padding: 0 56px; }
}
@media (max-width: 520px) {
  .faq-section { margin-top: 52px; }
  .faq-item summary { gap: 16px; padding: 26px 0 28px; }
  .faq-icon { font-size: 36px; }
  .faq-item p { font-size: 16px; padding: 0 42px 26px 0; }
}

/* phone mockup */
.mock-stage { position: relative; max-width: 400px; margin: 0 auto; padding: 12px 0; }
.mock-phone {
  width: 250px;
  margin: 0 auto;
  background: #fff;
  border: 7px solid #17171a;
  border-radius: 38px;
  padding: 12px 10px 8px;
  position: relative;
  z-index: 1;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
}
.mock-status { display: flex; justify-content: space-between; font-size: 10px; font-weight: 700; padding: 0 8px 8px; }
.mock-url {
  background: #f2f2ee;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  padding: 6px 10px;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
}
.mock-store { background: #e4f6a5; color: #1d2412; border-radius: 18px; padding: 12px; }
.mock-store-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.mock-logo { width: 34px; height: 34px; border-radius: 50%; background: #17171a; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.mock-cart { background: #17171a; color: #fff; border-radius: 999px; font-size: 9px; font-weight: 700; padding: 4px 8px; }
.mock-store-name { font-size: 17px; font-weight: 800; letter-spacing: -0.4px; }
.mock-store-desc { font-size: 9.5px; color: #4c5a34; margin: 2px 0 8px; }
.mock-pills { display: flex; gap: 5px; margin-bottom: 10px; }
.mock-pills span {
  background: #17171a;
  color: #fff;
  border-radius: 999px;
  font-size: 8.5px;
  font-weight: 700;
  padding: 4px 9px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.mock-pills svg { width: 10px; height: 10px; }
.mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mock-tile b { display: block; font-size: 9px; }
.mock-tile i { font-style: normal; font-size: 8.5px; color: #4c5a34; }
.mock-tile-img {
  aspect-ratio: 1;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 4px;
}
.mock-tabbar { display: flex; justify-content: space-around; padding: 8px 2px 2px; }
.mock-tabbar span { display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: 7.5px; font-weight: 600; color: #9a9aa0; }
.mock-tabbar span.on { color: #17171a; }
.mock-tabbar svg { width: 13px; height: 13px; }

/* floating cards over the phone */
.mock-float {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
  padding: 10px 12px;
  width: 170px;
  z-index: 2;
  font-size: 10px;
}
.mock-products-card { top: 172px; left: -4px; }
.mock-order-card { bottom: 34px; right: -4px; }
.mock-float-title { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 800; margin-bottom: 7px; }
.mock-float-title em {
  font-style: normal;
  background: #a878b8;
  color: #fff;
  border-radius: 999px;
  font-size: 8px;
  padding: 2px 7px;
}
.mock-row { display: flex; align-items: center; gap: 6px; padding: 3px 0; font-weight: 600; }
.mock-row i { font-style: normal; margin-left: auto; color: var(--muted); font-weight: 600; }
.mock-row-img {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: #f0f0ea;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}
.mock-row-total { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 6px; font-weight: 800; }
.mock-row-total i { color: var(--ink); font-weight: 800; }
.mock-row-sub { color: var(--muted); font-size: 8.5px; margin-top: 4px; }

/* URL panel */
.url-stage { text-align: center; padding: 36px 0; }
.url-pill-big {
  display: inline-block;
  background: #a878b8;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.3px;
  border-radius: 999px;
  padding: 16px 30px;
  font-size: clamp(17px, 2.6vw, 23px);
  box-shadow: 0 14px 36px rgba(168, 120, 184, 0.45);
}
.url-chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.url-chips span { background: #fff; border: 1.5px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 700; padding: 6px 13px; color: var(--muted); }

/* language panel */
.lang-stage { position: relative; max-width: 340px; margin: 0 auto; padding: 10px 0 96px; }
.lang-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
  padding: 16px 18px;
  width: 230px;
}
.lang-card-b { position: absolute; top: 92px; left: 56px; }
.lang-tag { font-size: 11px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 9px; }
.lang-pills { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 9px; }
.lang-pills span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 12px;
}
.lang-pills span.dark { background: #17171a; color: #fff; border-color: #17171a; }
.lang-pills svg { width: 12px; height: 12px; }
.lang-price { font-size: 14px; font-weight: 800; }

.demo-strip {
  background: #cd6b3a;
  border-radius: 28px;
  padding: 28px 20px;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  margin: 24px 0;
}
.demo-card {
  min-width: 240px;
  border-radius: 20px;
  padding: 20px 16px;
  flex: 1;
}
.demo-card .demo-logo { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 12px; }
.demo-card h4 { font-size: 17px; margin-bottom: 4px; letter-spacing: -0.3px; }
.demo-card p { font-size: 12.5px; margin-bottom: 12px; }
.demo-actions { display: flex; gap: 6px; align-items: center; margin-bottom: 14px; }
.demo-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
}
.demo-pill svg { width: 13px; height: 13px; }
.demo-pill-round { padding: 6px 8px; }
.demo-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.demo-prod-img {
  aspect-ratio: 1;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  margin-bottom: 6px;
}
.demo-prod-name { display: block; font-size: 12px; font-weight: 600; }
.demo-prod-price { display: block; font-size: 11.5px; }

/* ---------- auth ---------- */
.auth-wrap { max-width: 400px; margin: 8vh auto 0; padding: 0 20px; }
.auth-card { background: var(--card); border: 1.5px solid var(--line); border-radius: 24px; padding: 32px 26px; }
.auth-card h1 { font-size: 24px; letter-spacing: -0.5px; margin-bottom: 6px; }
.auth-card > p { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }
.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 18px 0; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.otp-input { text-align: center; font-size: 26px !important; letter-spacing: 10px; font-variant-numeric: tabular-nums; }

/* ---------- dashboard ---------- */
.dash-body { padding-bottom: 84px; }
.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}
.dash-main { max-width: 720px; margin: 0 auto; padding: 0 16px 24px; width: 100%; }
.dash-main h1 { font-size: 26px; letter-spacing: -0.6px; margin: 8px 0 18px; }
.dash-main h2 { font-size: 17px; letter-spacing: -0.3px; margin: 24px 0 10px; }

.dash-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-around;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  z-index: 50;
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  padding: 4px 14px;
  border-radius: 12px;
  position: relative;
}
.nav-item.active { color: var(--ink); }
.nav-badge {
  position: absolute;
  top: 0;
  right: 6px;
  background: #d9330f;
  color: #fff;
  font-size: 10px;
  border-radius: 999px;
  min-width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
@media (min-width: 720px) {
  .dash-body { padding-bottom: 24px; }
  .dash-nav {
    position: sticky;
    top: 0;
    bottom: auto;
    order: -1;
    border-top: none;
    border-bottom: 1px solid var(--line);
    justify-content: center;
    gap: 8px;
  }
  body.dash-body { display: flex; flex-direction: column; }
  .nav-item { flex-direction: row; gap: 8px; font-size: 14px; padding: 8px 16px; }
  .nav-item .nav-icon svg { width: 18px; height: 18px; }
  .nav-badge { position: static; }
}

.card {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 14px;
}
.card h3 { font-size: 16px; letter-spacing: -0.3px; margin-bottom: 4px; }
.card .sub { color: var(--muted); font-size: 14px; }

.share-row { display: flex; gap: 8px; align-items: center; margin-top: 12px; }
.share-url {
  flex: 1;
  background: var(--bg);
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row-list { display: flex; flex-direction: column; gap: 10px; }
.row-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  text-decoration: none;
}
.row-thumb {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: #eee;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  color: #999;
}
.row-body { flex: 1; min-width: 0; }
.row-body .title { font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-body .meta { font-size: 13px; color: var(--muted); }
.row-side { text-align: right; font-weight: 700; font-size: 15px; flex-shrink: 0; }
.row-item.dimmed { opacity: 0.55; }

.pill {
  display: inline-block;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
}
.pill-new { background: #fdeee8; color: #c2410c; }
.pill-accepted { background: #e8f0fd; color: #1d4ed8; }
.pill-ready { background: #e7f5ea; color: #1e6b35; }
.pill-completed { background: #eee; color: #555; }
.pill-cancelled { background: #fdecec; color: #b3261e; }
.pill-live { background: #e7f5ea; color: #1e6b35; }
.pill-draft { background: #eee; color: #555; }

.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatches label { cursor: pointer; }
.swatches input { position: absolute; opacity: 0; }
.swatch {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2.5px solid transparent;
  display: block;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
}
.swatches input:checked + .swatch { border-color: var(--ink); }

.status-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.empty-state { text-align: center; color: var(--muted); padding: 48px 20px; font-size: 15px; }
.empty-state .emoji { font-size: 40px; display: block; margin-bottom: 10px; }

/* ---------- storefront ---------- */
.store-body { background: var(--store-bg); color: var(--store-fg); }
.store-wrap { max-width: 1040px; margin: 0 auto; padding: 24px 18px 96px; }
.store-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.store-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--store-pill-bg);
  color: var(--store-pill-fg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 800;
}
.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--store-pill-bg);
  color: var(--store-pill-fg);
  border: none;
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 700;
  font-size: 14px;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
}
.store-name { font-size: clamp(26px, 5vw, 34px); font-weight: 800; letter-spacing: -0.7px; margin: 14px 0 4px; }
.store-desc { color: var(--store-muted); font-size: 15px; max-width: 560px; margin-bottom: 16px; }
.store-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.store-actions .action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--store-pill-bg);
  color: var(--store-pill-fg);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
}

.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }
.product-card { text-decoration: none; color: inherit; }
.product-img {
  aspect-ratio: 1;
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  background: rgba(127,127,127,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 800;
  color: rgba(127,127,127,0.5);
  margin-bottom: 10px;
}
.product-card .p-name { font-weight: 600; font-size: 14.5px; }
.product-card .p-price { font-size: 13.5px; color: var(--store-muted); margin-bottom: 8px; }
.add-btn {
  background: var(--store-pill-bg);
  color: var(--store-pill-fg);
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.add-btn[disabled] { opacity: 0.45; cursor: default; }

.store-badge {
  position: fixed;
  bottom: 14px;
  right: 14px;
  background: #fff;
  color: #17171a;
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  padding: 7px 13px;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.14);
}
.store-badge span { color: #e0762e; }

/* mini-cart drawer */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 40;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: #fff;
  color: #17171a;
  z-index: 41;
  transform: translateX(105%);
  transition: transform 0.25s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px 20px calc(24px + env(safe-area-inset-bottom));
  box-shadow: -6px 0 30px rgba(0, 0, 0, 0.12);
}
@media (min-width: 480px) { .cart-drawer { border-radius: 22px 0 0 22px; } }
body.cart-open .cart-overlay { opacity: 1; pointer-events: auto; }
body.cart-open .cart-drawer { transform: none; }
body.cart-open { overflow: hidden; }
.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.cart-drawer-head h2 { font-size: 20px; letter-spacing: -0.5px; }
.cart-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 15px;
  cursor: pointer;
}

/* order confirmation page */
.cart-panel {
  background: #fff;
  color: #17171a;
  border-radius: 22px;
  padding: 24px 20px;
  max-width: 520px;
  margin: 0 auto;
}
.cart-panel h1 { font-size: 22px; letter-spacing: -0.5px; margin-bottom: 16px; }
.cart-items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.cart-item { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.cart-item .ci-name { flex: 1; font-weight: 600; }
.cart-item .qty-controls { display: flex; align-items: center; gap: 8px; }
.qty-controls button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-weight: 700;
}
.cart-total { display: flex; justify-content: space-between; font-weight: 800; font-size: 16px; border-top: 1.5px solid var(--line); padding-top: 14px; margin-bottom: 20px; }
.back-link { display: inline-block; margin-bottom: 14px; font-size: 14px; font-weight: 600; color: var(--store-fg); }

/* misc */
.center { text-align: center; }
.mt-2 { margin-top: 16px; }
.muted { color: var(--muted); font-size: 14px; }
code.inline { background: #f0f0ec; border-radius: 6px; padding: 2px 7px; font-size: 0.9em; }

/* ---------- acquisition tools ---------- */
.tools-hero, .generator-hero { text-align: center; max-width: 800px; margin: 0 auto; }
.tools-hero { padding: 74px 0 42px; }
.tools-eyebrow { color: #e0762e; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.tools-hero h1, .generator-hero h1 { font-size: clamp(38px, 7vw, 66px); letter-spacing: -2.2px; line-height: 1.02; }
.tools-hero > p:not(.tools-eyebrow), .generator-hero > p:not(.tools-eyebrow) { color: var(--muted); font-size: 18px; max-width: 600px; margin: 18px auto 0; }
.tool-card-list { max-width: 900px; margin: 0 auto; }
.tool-hub-card { background: #161616; color: #fff; border-radius: 28px; display: grid; gap: 30px; overflow: hidden; padding: 26px; }
.tool-hub-card h2 { font-size: clamp(26px, 4vw, 42px); letter-spacing: -1.3px; line-height: 1.07; margin: 6px 0 12px; }
.tool-hub-card p { color: #c5c5c2; font-size: 16px; max-width: 480px; margin-bottom: 24px; }
.tool-hub-card .btn { background: #f4eea9; color: #17171a; }
.tool-card-label { color: #f4eea9 !important; font-size: 12px !important; font-weight: 800; letter-spacing: .1em; margin: 0 !important; text-transform: uppercase; }
.tool-hub-visual { background: #eff0d8; color: #17171a; min-height: 220px; border-radius: 20px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 18px; transform: rotate(-2deg); }
.tool-hub-visual span { align-items: center; background: #fff; border-radius: 14px; display: flex; font-size: 42px; justify-content: center; }
.tool-hub-visual span:nth-child(2) { background: #c6f0c8; }.tool-hub-visual span:nth-child(3) { background: #ffc6dd; }.tool-hub-visual span:nth-child(4) { background: #d8d1ff; }
@media (min-width: 700px) { .tool-hub-card { grid-template-columns: 1fr 1.3fr; align-items: center; padding: 42px; }.tool-hub-visual { order: 2; min-height: 300px; } }

.generator-hero { padding: 60px 0 36px; }.generator-hero h1 { max-width: 740px; margin: 0 auto; }.generator-note { background: #eceadb; border-radius: 999px; color: #56564f; display: inline-block; font-size: 13px; font-weight: 650; margin-top: 23px; padding: 9px 15px; }
.generator-shell { display: grid; background: #f1f0e9; border: 1px solid #e5e3db; border-radius: 28px; overflow: hidden; max-width: 1120px; margin: 0 auto; }
.generator-editor { background: #fff; padding: 24px 18px; }.generator-editor h2 { font-size: 21px; letter-spacing: -.5px; margin-bottom: 20px; }.generator-products-label { font-size: 13px; font-weight: 700; color: var(--muted); margin: 22px 0 8px; }
.color-picker { display: flex; flex-wrap: wrap; gap: 14px; padding: 2px 0 6px; }.color-option { background: transparent; border: 0; border-radius: 50%; cursor: pointer; display: grid; height: 52px; padding: 0; place-items: center; width: 52px; }.color-option span { border: 3px solid rgba(23,23,26,.08); border-radius: 50%; display: block; height: 100%; transition: transform .12s ease; width: 100%; }.color-option.selected { outline: 4px solid #17171a; outline-offset: 2px; }.color-option:hover span { transform: scale(1.06); }.color-option:focus-visible { outline: 3px solid #17171a; outline-offset: 4px; }
.generator-product { border-top: 1px solid #ecece7; padding: 16px 0 2px; }.generator-product-head { align-items: center; display: flex; justify-content: space-between; margin-bottom: 12px; }.generator-product-head > span { background: #efefe9; border-radius: 50%; color: var(--muted); display: grid; font-size: 11px; font-weight: 800; height: 22px; place-items: center; width: 22px; }.generator-remove { border: 0; background: transparent; color: #8a8a86; cursor: pointer; font-size: 21px; line-height: 1; padding: 1px 5px; }.generator-row { display: grid; gap: 10px; }.generator-upload { align-items: center; border: 1.5px dashed #d8d8d0; border-radius: 10px; color: #5e5e59; cursor: pointer; display: flex; font-size: 13px; font-weight: 650; gap: 7px; justify-content: center; margin: -2px 0 13px; min-height: 42px; }.generator-upload span { color: #17171a; font-size: 17px; }.generator-upload input { height: 1px; opacity: 0; overflow: hidden; position: absolute; width: 1px; }.generator-add { background: transparent; border: 0; color: #17171a; cursor: pointer; font-size: 13px; font-weight: 750; margin: 8px 0 24px; padding: 2px; }.generator-deploy span { font-size: 18px; line-height: 1; }
.generator-preview-panel { background: var(--generator-bg); color: var(--generator-fg); min-height: 660px; padding: 24px 10px 32px; position: relative; transition: background .18s ease, color .18s ease; }.generator-preview-label { align-items: center; color: var(--generator-muted); display: flex; font-size: 12px; font-weight: 800; gap: 7px; letter-spacing: .08em; text-transform: uppercase; }.preview-edit-guide { background: rgba(255,255,255,.32); border-radius: 999px; font-size: 10px; letter-spacing: 0; margin-left: 5px; padding: 6px 9px; text-transform: none; }.preview-pulse { background: currentColor; border-radius: 50%; height: 8px; width: 8px; }.generator-phone-wrap { display: grid; min-height: 605px; place-items: center; }.generator-phone { background: #fff; border: 7px solid #1a1a1a; border-radius: 40px; box-shadow: 0 26px 55px rgba(39, 55, 21, .24); max-width: 335px; min-height: 570px; overflow: hidden; padding: 12px 10px; width: 100%; }.generator-phone-bar { display: flex; font-size: 10px; font-weight: 800; justify-content: space-between; padding: 0 9px 9px; }.generator-address { background: #f1f1ec; border-radius: 999px; color: #75756f; font-size: 10px; font-weight: 650; overflow: hidden; padding: 7px 10px; text-overflow: ellipsis; white-space: nowrap; }.generator-store { background: var(--generator-bg); border-radius: 22px; color: var(--generator-fg); margin-top: 9px; min-height: 493px; padding: 14px; transition: background .18s ease, color .18s ease; }.generator-store-top { align-items: center; display: flex; justify-content: space-between; }.generator-store-top input[type="file"] { height: 1px; opacity: 0; overflow: hidden; position: absolute; width: 1px; }.generator-store-mark { background: var(--generator-fg); border: 0; border-radius: 50%; color: var(--generator-bg); cursor: pointer; display: grid; font-size: 15px; font-weight: 800; height: 33px; overflow: hidden; padding: 0; place-items: center; width: 33px; }.generator-store-mark img { height: 100%; object-fit: cover; width: 100%; }.generator-store-mark [hidden] { display: none; }.generator-menu { letter-spacing: 2px; }.generator-store h3 { font-size: 24px; letter-spacing: -1px; line-height: 1.05; margin: 17px 0 5px; }.generator-store > p { color: var(--generator-muted); font-size: 11px; margin-bottom: 18px; }.generator-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }.generator-product-card { min-width: 0; }.generator-product-card img, .generator-product-empty { aspect-ratio: 1; background: var(--generator-tile); border-radius: 10px; margin-bottom: 6px; object-fit: cover; width: 100%; }.generator-product-empty { align-items: center; color: var(--generator-muted); display: flex; font-size: 10px; font-weight: 650; justify-content: center; }.generator-product-card strong { display: block; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.generator-product-card span { color: var(--generator-muted); display: block; font-size: 10px; }.generator-built { bottom: 19px; color: var(--generator-muted); font-size: 10px; font-weight: 800; left: 0; position: relative; text-align: center; top: 19px; }.generator-built span { color: #e0762e; }
.generator-why { max-width: 690px; margin: 72px auto 10px; text-align: center; }.generator-why h2 { font-size: clamp(26px, 4vw, 38px); letter-spacing: -1px; line-height: 1.1; }.generator-why p { color: var(--muted); font-size: 16px; margin-top: 14px; }
.claim-dialog { border: 0; border-radius: 22px; box-shadow: 0 24px 80px rgba(0, 0, 0, .28); color: var(--ink); inset: 0; margin: auto; max-height: min(640px, calc(100dvh - 32px)); max-width: 440px; padding: 30px 24px 20px; position: fixed; width: calc(100% - 32px); }.claim-dialog::backdrop { background: rgba(17, 17, 17, .55); }.claim-dialog h2 { font-size: 30px; letter-spacing: -1px; margin-bottom: 10px; }.claim-dialog > p:not(.tools-eyebrow) { color: var(--muted); font-size: 15px; margin-bottom: 22px; }.claim-close { background: #f0f0eb; border: 0; border-radius: 50%; cursor: pointer; font-size: 19px; height: 30px; position: absolute; right: 16px; top: 16px; width: 30px; }.claim-url { align-items: center; display: flex; }.claim-url .input { border-radius: 12px 0 0 12px; min-width: 0; }.claim-url span { background: #f0f0ec; border: 1.5px solid var(--line); border-left: 0; border-radius: 0 12px 12px 0; color: var(--muted); font-size: 13px; padding: 13px 10px; white-space: nowrap; }.claim-later { background: transparent; border: 0; color: var(--muted); cursor: pointer; display: block; font-size: 13px; margin: 14px auto 0; }
@media (min-width: 680px) { .generator-editor { padding: 32px; }.generator-row { grid-template-columns: .8fr 1.2fr; }.generator-preview-panel { padding: 28px; } }
@media (min-width: 920px) { .generator-shell { grid-template-columns: minmax(420px, .88fr) minmax(440px, 1.12fr); }.generator-editor { max-height: 850px; overflow-y: auto; }.generator-preview-panel { min-height: 850px; }.generator-phone-wrap { min-height: 775px; }.generator-phone { transform: scale(1.08); } }

/* Direct editing inside the link-in-bio preview */
.generator-shell { display: block; max-width: 900px; }
.generator-canvas { overflow: hidden; }
.generator-toolbar { align-items: center; background: #fff; display: flex; gap: 22px; justify-content: space-between; padding: 22px 20px; }
.generator-toolbar h2 { font-size: 21px; letter-spacing: -.5px; }.generator-toolbar p { color: var(--muted); font-size: 13px; margin-top: 3px; max-width: 360px; }.generator-toolbar label { color: var(--muted); display: block; font-size: 13px; font-weight: 700; margin-bottom: 9px; }
.generator-toolbar .color-picker { gap: 10px; }.generator-toolbar .color-option { height: 36px; width: 36px; }.generator-toolbar .color-option.selected { outline-width: 3px; }
.generator-product-card { position: relative; }.generator-product-card input[type="file"] { height: 1px; opacity: 0; overflow: hidden; position: absolute; width: 1px; }.generator-image-editor { aspect-ratio: 1; background: var(--generator-tile); border: 0; border-radius: 10px; color: var(--generator-muted); cursor: pointer; display: grid; margin-bottom: 6px; overflow: hidden; place-items: center; width: 100%; }.generator-image-editor:hover { outline: 2px solid currentColor; outline-offset: 2px; }.generator-image-editor img { aspect-ratio: 1; height: 100%; margin: 0; object-fit: cover; width: 100%; }.generator-image-editor [hidden] { display: none; }.generator-image-editor span { font-size: 10px; font-weight: 650; }
.generator-product-name, .generator-product-price { border-radius: 4px; cursor: text; min-height: 1.2em; outline: none; }.generator-product-name:focus, .generator-product-price:focus, .generator-store h3:focus { box-shadow: 0 0 0 2px currentColor; }.generator-product-price:empty::before { color: var(--generator-muted); content: 'Price'; }.generator-store h3 { border-radius: 5px; cursor: text; outline: none; }
.generator-shell[data-guide] [data-preview-title], .generator-shell[data-guide] .generator-store-mark, .generator-shell[data-guide] .generator-product-card:first-child [contenteditable] { animation: edit-guide-pulse 1.5s ease-in-out infinite; outline: 2px dashed var(--generator-fg); outline-offset: 3px; }.generator-shell[data-guide] .generator-store-mark { position: relative; }.generator-shell[data-guide] .generator-store-mark::after { content: '+'; display: grid; font-size: 14px; inset: 0; place-items: center; position: absolute; }.generator-shell[data-guide] .generator-store-mark span { opacity: .3; }@keyframes edit-guide-pulse { 50% { outline-offset: 6px; } }
.generator-grid { align-items: start; }.generator-add-card { align-items: center; aspect-ratio: 1; background: transparent; border: 1.5px dashed var(--generator-muted); border-radius: 10px; color: var(--generator-fg); cursor: pointer; display: flex; flex-direction: column; font-size: 9px; font-weight: 700; gap: 2px; justify-content: center; min-width: 0; overflow-wrap: anywhere; width: 100%; }.generator-add-card span { font-size: 30px; font-weight: 400; line-height: .8; }.generator-add-card:hover { background: var(--generator-tile); }.generator-add-card[hidden] { display: none; }
.generator-link-button { background: var(--generator-fg); border: 0; border-radius: 50%; bottom: 0; color: var(--generator-bg); cursor: pointer; display: grid; font-size: 13px; height: 22px; opacity: 0; place-items: center; position: absolute; right: 0; transition: opacity .12s ease; width: 22px; }.generator-product-card:hover .generator-link-button, .generator-link-button:focus { opacity: 1; }
.generator-link-editor { align-items: center; background: #fff; border-top: 1px solid var(--line); display: flex; gap: 10px; padding: 14px 20px; }.generator-link-editor[hidden] { display: none; }.generator-link-editor p { font-size: 13px; font-weight: 700; white-space: nowrap; }.generator-link-editor .input { font-size: 14px; padding: 9px 11px; }.generator-link-editor button { background: transparent; border: 0; cursor: pointer; font-size: 22px; }
.generator-actions { align-items: center; background: #fff; border-top: 1px solid var(--line); display: flex; justify-content: center; padding: 16px 20px; }.generator-actions .generator-deploy { width: auto; }
@media (max-width: 620px) { .generator-toolbar { align-items: flex-start; flex-direction: column; }.generator-toolbar .color-picker { gap: 9px; }.generator-actions { align-items: stretch; flex-direction: column; }.generator-actions .generator-deploy { width: 100%; }.generator-link-editor { align-items: stretch; flex-wrap: wrap; }.generator-link-editor .input { flex: 1; min-width: 190px; } }

/* Generator feature panels */
.generator-feature-list { margin-top: 72px; }.generator-feature-list .feature-panel { margin: 22px 0; }.tool-feature-visual { min-height: 250px; position: relative; }.tool-edit-visual, .tool-payment-visual { display: grid; place-items: center; }.tool-edit-phone, .tool-payment-phone { background: #fff; border: 5px solid #17171a; border-radius: 25px; box-shadow: 0 18px 40px rgba(0,0,0,.13); padding: 18px; width: 205px; }.tool-edit-title { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.6px; margin-bottom: 10px; }.tool-edit-tile { align-items: center; aspect-ratio: 1; background: #d8eaa0; border-radius: 12px; color: #526136; display: flex; font-size: 11px; font-weight: 700; justify-content: center; margin-bottom: 7px; }.tool-edit-name { display: block; font-size: 12px; font-weight: 750; }.tool-edit-price { color: #666; display: block; font-size: 11px; }.tool-edit-cursor { background: #17171a; border-radius: 50%; bottom: 43px; color: #fff; font-size: 16px; height: 36px; padding-top: 6px; position: absolute; right: calc(50% - 115px); text-align: center; width: 36px; }.tool-edit-label { background: #17171a; border-radius: 999px; bottom: 26px; color: #fff; font-size: 11px; font-weight: 700; padding: 7px 10px; position: absolute; right: calc(50% - 165px); }
.tool-flow-visual { align-items: center; display: flex; gap: 11px; justify-content: center; }.tool-flow-card { background: #fff; border-radius: 16px; box-shadow: 0 12px 24px rgba(0,0,0,.08); display: flex; flex-direction: column; gap: 7px; min-width: 132px; padding: 15px; }.tool-flow-card small { color: #74746d; font-size: 10px; font-weight: 750; text-transform: uppercase; }.tool-flow-card span { background: #f1f1ec; border-radius: 7px; font-size: 11px; padding: 6px 7px; }.tool-flow-arrow { font-size: 27px; }.tool-flow-card-dark { background: #17171a; color: #fff; justify-content: center; }.tool-flow-card-dark b { font-size: 14px; }.tool-flow-card-dark em { color: #d5d5ce; font-size: 10px; font-style: normal; }.tool-payment-phone { padding: 12px; }.tool-payment-product { background: #edf6c9; border-radius: 13px; font-size: 13px; font-weight: 700; padding: 16px 12px; }.tool-payment-product b { display: block; font-size: 18px; margin-top: 3px; }.tool-payment-phone button { background: #17171a; border: 0; border-radius: 999px; color: #fff; font-size: 11px; font-weight: 750; margin-top: 10px; padding: 10px; width: 100%; }.tool-payment-note { background: #fff; border-radius: 10px; bottom: 24px; box-shadow: 0 10px 20px rgba(0,0,0,.1); color: #28713a; font-size: 11px; font-weight: 750; padding: 9px 11px; position: absolute; right: calc(50% - 145px); }
@media (max-width: 460px) { .tool-flow-visual { gap: 7px; }.tool-flow-card { min-width: 112px; padding: 12px; }.tool-flow-arrow { font-size: 20px; }.tool-edit-label { right: calc(50% - 150px); } }
