:root {
  --purple: #7444ed;
  --purple-dark: #5a2acb;
  --purple-soft: #f0eaff;
  --yellow: #ffba55;
  --ink: #271b3e;
  --muted: #7a728b;
  --line: #eae5f1;
  --surface: #fff;
  --canvas: #f9f7fd;
  --green: #0b9f75;
  --red: #e3546a;
  --shadow: 0 16px 50px rgba(56, 28, 101, 0.09);
  font-family:
    'Nunito',
    'Trebuchet MS',
    system-ui,
    -apple-system,
    sans-serif;
  font-synthesis: none;
  color: var(--ink);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--canvas);
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  letter-spacing: -0.04em;
}
p {
  line-height: 1.65;
  color: var(--muted);
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 49px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 15px;
  font-weight: 800;
  transition: 0.18s ease;
  background: white;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--purple);
  color: white;
  box-shadow: 0 10px 23px rgba(116, 68, 237, 0.23);
}
.btn-primary:hover {
  background: var(--purple-dark);
}
.btn-outline {
  border-color: #ded5ef;
  background: #fff;
  color: var(--purple);
}
.btn-ghost {
  background: var(--purple-soft);
  color: var(--purple);
}
.btn-danger {
  background: #ffedf0;
  color: #bb2146;
}
.btn-small {
  min-height: 36px;
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 11px;
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 12px;
  font-weight: 900;
  color: var(--purple);
}
.tiny-dot {
  height: 8px;
  width: 8px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 0 5px #e7ddff;
}
.site-header {
  height: 95px;
  max-width: 1210px;
  padding: 0 25px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-brand img {
  width: 195px;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 35px;
  font-size: 14px;
  font-weight: 800;
}
.site-header nav > a:hover {
  color: var(--purple);
}
.marketing {
  background: #fff;
}
.hero {
  max-width: 1210px;
  min-height: 665px;
  padding: 52px 25px 85px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 40px;
}
.hero h1 {
  font-size: clamp(45px, 5.4vw, 72px);
  line-height: 1.08;
  max-width: 690px;
  margin: 20px 0 25px;
  font-weight: 950;
}
.hero-copy > p {
  font-size: 18px;
  max-width: 520px;
}
.gradient-text {
  color: var(--purple);
  background: linear-gradient(120deg, #5426c6, #8d60ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 31px;
  flex-wrap: wrap;
}
.prelaunch-tag {
  font-size: 12px;
  font-weight: 700;
  color: #817889;
}
.hero-stars {
  margin-top: 31px;
  font-size: 13px;
  color: var(--purple);
}
.hero-art {
  height: 520px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at center, #eee5ff 0%, #f7f2ff 56%, transparent 70%);
}
.mock-phone {
  position: relative;
  width: 320px;
  min-height: 490px;
  padding: 10px;
  background: #fff;
  border: 7px solid #2f2441;
  border-radius: 36px;
  box-shadow: 15px 25px 60px #5d478a32;
  transform: rotate(5deg);
  z-index: 1;
}
.mock-top {
  border-radius: 22px 22px 8px 8px;
  overflow: hidden;
  background: #f8f5ff;
}
.mock-banner {
  padding: 23px 6px;
  background: linear-gradient(135deg, #7c49f3, #b193ff);
  color: #fff;
  text-align: center;
  font-size: 32px;
}
.mock-banner span {
  font-size: 15px;
  font-weight: 900;
}
.mock-rest {
  padding: 15px;
  font-weight: 900;
  font-size: 14px;
}
.mock-rest small,
.mock-product small {
  display: block;
  color: #93899c;
  font-weight: 500;
  font-size: 10px;
  margin-top: 4px;
}
.mock-dot {
  color: #29be8d;
}
.mock-tabs {
  display: flex;
  gap: 12px;
  padding: 16px 8px;
  color: #93899c;
  font-size: 12px;
  white-space: nowrap;
}
.mock-tabs span:first-child {
  color: #fff;
  background: var(--purple);
  border-radius: 20px;
  padding: 5px 11px;
  margin-top: -5px;
}
.mock-product {
  display: grid;
  grid-template-columns: 63px 1fr 27px;
  gap: 9px;
  align-items: center;
  border: 1px solid #efedf4;
  padding: 8px;
  border-radius: 14px;
  margin: 8px 1px;
}
.mock-food {
  background: #fff4e8;
  border-radius: 12px;
  padding: 13px 5px;
  font-size: 26px;
  text-align: center;
}
.mock-product b {
  font-size: 11px;
}
.mock-product strong {
  font-size: 12px;
  color: var(--purple);
}
.mock-plus {
  color: var(--purple);
  font-size: 22px;
}
.mock-bag {
  padding: 12px 15px;
  background: var(--purple);
  color: #fff;
  border-radius: 13px;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  margin: 16px 1px 1px;
}
.floating-card {
  position: absolute;
  right: -2%;
  bottom: 65px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 17px;
  box-shadow: var(--shadow);
  padding: 13px 16px;
  font-size: 22px;
  z-index: 2;
}
.floating-card span {
  font-size: 12px;
  line-height: 1.5;
}
.floating-card b {
  color: var(--purple);
}
.hero-spark {
  position: absolute;
  color: var(--yellow);
  font-size: 65px;
}
.spark-one {
  left: 1%;
  top: 15%;
}
.spark-two {
  right: 0;
  top: 10%;
  font-size: 43px;
}
.section {
  background: #faf8ff;
  padding: 95px 25px;
}
.center-heading {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 44px;
}
.center-heading h2,
.steps h2 {
  font-size: clamp(35px, 3.5vw, 51px);
  line-height: 1.14;
  margin: 15px 0;
}
.feature-grid {
  max-width: 1150px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature {
  border: 1px solid #eee8f8;
  border-radius: 23px;
  padding: 28px;
  background: white;
  transition: 0.15s;
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.feature-icon {
  display: grid;
  place-items: center;
  height: 58px;
  width: 58px;
  border-radius: 17px;
  background: #f1eaff;
  font-size: 27px;
  margin-bottom: 24px;
}
.feature h3 {
  font-size: 21px;
  margin-bottom: 8px;
}
.feature p {
  font-size: 14px;
  margin: 0;
}
.steps {
  max-width: 1170px;
  padding: 100px 25px;
  margin: auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 80px;
  align-items: center;
}
.step-items {
  display: grid;
  gap: 13px;
}
.step-items div {
  background: white;
  box-shadow: 0 4px 26px #321e5710;
  border: 1px solid var(--line);
  border-radius: 17px;
  display: flex;
  align-items: center;
  gap: 23px;
  padding: 17px 24px;
  font-weight: 850;
}
.step-items b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--purple-soft);
  color: var(--purple);
}
.bottom-call {
  max-width: 1150px;
  margin: 0 auto 85px;
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 34px;
  background: #ece4ff;
  border-radius: 28px;
}
.bottom-call h2 {
  margin-bottom: 5px;
  font-size: 29px;
}
.bottom-call p {
  margin: 0;
}
.emoji-tile {
  font-size: 50px;
}
.prelaunch-pill {
  margin-left: auto;
  white-space: nowrap;
  background: #fff;
  color: var(--purple);
  padding: 11px 17px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 850;
}
.marketing footer {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 30px max(25px, calc((100vw - 1170px) / 2));
  font-size: 12px;
  color: #8a8199;
}
.marketing footer img {
  width: 125px;
}
/* dashboard */
.app-page {
  background: #f8f6fc;
}
.loading-screen {
  height: 100vh;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 10px;
}
.loading-screen img {
  width: 220px;
  margin: auto;
}
.auth-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-aside {
  background: linear-gradient(145deg, #5d2ace, #8f66ff);
  color: #fff;
  padding: 70px min(9vw, 120px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}
.auth-aside:after {
  content: '✳';
  font-size: 340px;
  color: #ffffff14;
  position: absolute;
  bottom: -140px;
  right: -60px;
}
.auth-aside .auth-logo {
  filter: brightness(0) invert(1);
  width: 215px;
}
.auth-aside h1 {
  font-size: clamp(42px, 4vw, 62px);
  line-height: 1.13;
  max-width: 460px;
}
.auth-aside p {
  color: #e8dfff;
  font-size: 17px;
}
.auth-card-wrap {
  display: grid;
  place-items: center;
  padding: 35px;
}
.auth-card {
  width: min(100%, 440px);
  background: #fff;
  border-radius: 26px;
  padding: 36px;
  box-shadow: var(--shadow);
}
.auth-card h2 {
  font-size: 29px;
  margin-bottom: 7px;
}
.auth-card p {
  font-size: 14px;
}
.field {
  display: grid;
  gap: 8px;
  margin-bottom: 17px;
}
.field label {
  font-weight: 850;
  font-size: 13px;
}
.input,
.select,
.textarea {
  width: 100%;
  border: 1px solid #e2dbea;
  background: white;
  border-radius: 13px;
  outline: none;
  padding: 12px 14px;
  min-height: 47px;
  color: var(--ink);
}
.textarea {
  resize: vertical;
  min-height: 95px;
}
.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px #eee7ff;
}
.help {
  font-size: 12px;
  color: var(--muted);
}
.link {
  color: var(--purple);
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
}
.dashboard-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 250px 1fr;
}
.sidebar {
  background: white;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 30px 17px;
  position: sticky;
  top: 0;
  height: 100vh;
  /* Menu longo: rola dentro da barra lateral, mesmo quando a página é curta. */
  overflow-y: auto;
  overscroll-behavior: contain;
}
.sidebar-brand {
  padding: 2px 17px 26px;
}
.sidebar-brand img {
  width: 155px;
}
.sidebar-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 900;
  color: #b1a6bf;
  padding: 14px 18px;
}
.nav-item {
  border: 0;
  width: 100%;
  background: transparent;
  color: #82768e;
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 13px;
  padding: 13px 16px;
  text-align: left;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 5px;
}
.nav-item:hover,
.nav-item.active {
  background: #f1eaff;
  color: var(--purple);
}
.nav-item > span {
  font-size: 20px;
}
.sidebar-bottom {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
.dashboard-main {
  min-width: 0;
}
.topbar {
  height: 92px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
  gap: 16px;
}
.topbar h1 {
  font-size: 25px;
  margin: 0;
}
.topbar small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}
.avatar {
  width: 43px;
  height: 43px;
  background: #eadfff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--purple);
  font-size: 19px;
  font-weight: 900;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.content {
  max-width: 1370px;
  padding: 35px 42px 85px;
  margin: auto;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 26px;
}
.stat {
  background: #fff;
  border: 1px solid #f1ebf8;
  border-radius: 21px;
  padding: 21px;
}
.stat-icon {
  width: 43px;
  height: 43px;
  background: #f1eaff;
  color: var(--purple);
  display: grid;
  place-items: center;
  border-radius: 13px;
  font-size: 21px;
  margin-bottom: 15px;
}
.stat span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 800;
}
.stat strong {
  display: block;
  font-size: 32px;
  letter-spacing: -0.04em;
  margin-top: 5px;
}
.panel {
  background: #fff;
  border: 1px solid #eee9f4;
  border-radius: 22px;
  padding: 25px;
  margin-bottom: 22px;
  box-shadow: 0 5px 20px #39245305;
}
.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 21px;
}
.panel h2 {
  font-size: 21px;
  margin: 0;
}
.panel h3 {
  font-size: 16px;
}
.panel > p {
  font-size: 14px;
}
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 27px;
}
.page-header h2 {
  font-size: 29px;
  margin: 0;
}
.page-header p {
  margin: 6px 0 0;
  font-size: 14px;
}
.pill {
  font-size: 11px;
  font-weight: 850;
  color: #614b83;
  background: #f0eaff;
  padding: 6px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.pill.green {
  background: #e5f8f1;
  color: #138d61;
}
.pill.orange {
  background: #fff2d9;
  color: #bc770a;
}
.pill.red {
  background: #ffedf0;
  color: #c33558;
}
.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}
th {
  text-align: left;
  color: #897e97;
  font-size: 12px;
}
td,
th {
  padding: 14px 12px;
  border-bottom: 1px solid #f0ecf5;
  vertical-align: middle;
}
td strong {
  font-size: 13px;
}
.row-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.empty {
  text-align: center;
  padding: 55px 10px;
  color: var(--muted);
}
.empty-emoji {
  font-size: 43px;
  margin-bottom: 10px;
}
.empty strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}
.toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 13px 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}
.toggle-row input {
  accent-color: var(--purple);
  width: 17px;
  height: 17px;
}
.notice {
  background: #f1eaff;
  border: 1px solid #e6dbff;
  color: #51359a;
  border-radius: 15px;
  padding: 14px 18px;
  font-size: 13px;
  margin-bottom: 21px;
  line-height: 1.6;
}
.notice.warm {
  background: #fff5e5;
  border-color: #ffe8c5;
  color: #96631a;
}
.order-list {
  display: grid;
  gap: 13px;
}
.order-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 19px;
  display: grid;
  gap: 12px;
}
.order-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.order-items {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}
.order-meta {
  font-size: 12px;
  color: var(--muted);
}
.order-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  border-top: 1px dashed var(--line);
  padding-top: 14px;
}
.product-icon {
  font-size: 32px;
  background: #fbf5ee;
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  border-radius: 12px;
}
.product-line {
  display: flex;
  align-items: center;
  gap: 12px;
}
.toast {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 40;
  max-width: min(450px, calc(100vw - 40px));
  background: #291c40;
  color: #fff;
  border-radius: 14px;
  padding: 15px 20px;
  box-shadow: var(--shadow);
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: 0.2s;
}
.toast.show {
  opacity: 1;
  transform: translateY(0);
}
.toast.error {
  background: #ac254e;
}
.loading-block {
  padding: 45px;
  text-align: center;
  color: var(--muted);
}
.mono {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  word-break: break-all;
}
.small-muted {
  font-size: 12px;
  color: var(--muted);
}
/* menu */
.menu-page {
  background: #f8f6fc;
  --local-color: #7444ed;
}
.menu-wrap {
  max-width: 1120px;
  padding: 0 22px 105px;
  margin: auto;
}
.menu-banner {
  min-height: 190px;
  background: linear-gradient(110deg, #5e36b8, #9c79fa);
  border-radius: 0 0 25px 25px;
  position: relative;
  overflow: hidden;
}
.menu-banner:after {
  content: '✳';
  font-size: 250px;
  color: #ffffff28;
  position: absolute;
  right: 30px;
  top: -70px;
}
.menu-header {
  position: relative;
  margin-top: -45px;
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: 22px;
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.restaurant-logo {
  width: 82px;
  height: 82px;
  border-radius: 21px;
  background: #f3eaff;
  display: grid;
  place-items: center;
  font-size: 40px;
  overflow: hidden;
}
.restaurant-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.menu-header h1 {
  font-size: 28px;
  margin-bottom: 5px;
}
.menu-header p {
  font-size: 13px;
  margin: 0;
}
.menu-section-title {
  font-size: 27px;
  margin: 30px 0 18px;
}
.category-tabs {
  display: flex;
  gap: 9px;
  overflow: auto;
  padding: 27px 0 10px;
}
.tab-btn {
  white-space: nowrap;
  background: white;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 850;
  color: #756a84;
}
.tab-btn.active {
  background: var(--local-color);
  border-color: var(--local-color);
  color: #fff;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.menu-product {
  background: #fff;
  border: 1px solid #ebe5f2;
  border-radius: 19px;
  padding: 14px;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 15px;
  align-items: center;
}
.menu-product-image {
  height: 110px;
  border-radius: 13px;
  background: #f8eafa;
  display: grid;
  place-items: center;
  font-size: 42px;
  overflow: hidden;
}
.menu-product-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.menu-product h3 {
  font-size: 17px;
  margin: 0 0 4px;
}
.menu-product p {
  font-size: 12px;
  line-height: 1.4;
  margin: 0 0 10px;
  min-height: 30px;
}
.menu-product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
}
.menu-product strong {
  color: var(--local-color);
  font-size: 16px;
}
.add-btn {
  background: var(--local-color);
  border: 0;
  color: #fff;
  font-size: 23px;
  min-width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
}
.cart-floating {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: min(490px, calc(100vw - 36px));
  border: 0;
  border-radius: 17px;
  background: var(--local-color);
  color: #fff;
  padding: 17px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 900;
  z-index: 9;
  box-shadow: 0 10px 26px #3d1e8b40;
}
.cart-floating[hidden] {
  display: none;
}
.menu-footer {
  text-align: center;
  padding: 26px;
  color: #857a91;
  font-size: 12px;
}
.menu-footer img {
  display: block;
  width: 120px;
  margin: 0 auto 12px;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: #190b32a6;
  display: grid;
  place-items: center;
  padding: 15px;
  z-index: 20;
}
.modal {
  width: min(100%, 530px);
  max-height: 94vh;
  overflow: auto;
  background: #fff;
  border-radius: 23px;
  padding: 25px;
}
.modal-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.icon-button {
  border: 0;
  background: #f4effb;
  border-radius: 10px;
  min-width: 36px;
  height: 36px;
  color: var(--ink);
}
.cart-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.qty-control {
  display: flex;
  align-items: center;
  gap: 10px;
}
.qty-control button {
  width: 29px;
  height: 29px;
  border: 0;
  border-radius: 8px;
  color: var(--purple);
  background: #f1eaff;
  font-weight: 900;
}
.sum-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin: 12px 0;
  color: var(--muted);
}
.sum-row.total {
  font-size: 18px;
  color: var(--ink);
  font-weight: 950;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}
.success-order {
  text-align: center;
  padding: 30px 10px;
}
.success-order .big-emoji {
  font-size: 75px;
}
.success-order h2 {
  font-size: 32px;
}
.status-line {
  padding: 12px;
  border-radius: 12px;
  background: #f1eaff;
  margin: 15px auto;
}
.radio-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.radio-option {
  border: 1px solid var(--line);
  padding: 8px 13px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.radio-option:has(input:checked) {
  border-color: var(--purple);
  background: #f1eaff;
  color: var(--purple);
}
.radio-option input {
  accent-color: var(--purple);
}
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 15px;
    padding-top: 25px;
  }
  .hero-copy {
    max-width: 720px;
  }
  .hero-art {
    max-width: 550px;
    width: 100%;
    margin: auto;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    gap: 30px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dashboard-shell {
    grid-template-columns: 210px 1fr;
  }
  .topbar,
  .content {
    padding-left: 24px;
    padding-right: 24px;
  }
}
@media (max-width: 690px) {
  .site-header {
    height: 75px;
  }
  .site-brand img {
    width: 142px;
  }
  .site-header nav {
    gap: 12px;
  }
  .site-header nav > a:not(.btn) {
    display: none;
  }
  .hero {
    padding: 32px 22px 58px;
  }
  .hero h1 {
    font-size: 43px;
  }
  .hero-art {
    height: 490px;
  }
  .mock-phone {
    transform: rotate(2deg);
  }
  .floating-card {
    right: 0;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 65px 20px;
  }
  .steps {
    grid-template-columns: 1fr;
    padding: 70px 22px;
  }
  .bottom-call {
    margin: 0 17px 50px;
    flex-wrap: wrap;
  }
  .prelaunch-pill {
    margin-left: 0;
  }
  .marketing footer {
    flex-wrap: wrap;
  }
  .auth-layout {
    grid-template-columns: 1fr;
  }
  .auth-aside {
    display: none;
  }
  .auth-card-wrap {
    padding: 25px 16px;
  }
  .auth-card {
    padding: 25px;
  }
  .dashboard-shell {
    display: block;
    padding-bottom: 74px;
  }
  .sidebar {
    height: auto;
    position: fixed;
    z-index: 30;
    bottom: 0;
    top: auto;
    left: 0;
    right: 0;
    flex-direction: row;
    padding: 8px;
    background: white;
    justify-content: center;
    gap: 2px;
    border-top: 1px solid var(--line);
    border-right: 0;
    overflow: auto;
  }
  .sidebar-brand,
  .sidebar-label,
  .sidebar-bottom {
    display: none;
  }
  .nav-item {
    min-width: 70px;
    flex: 1;
    flex-direction: column;
    text-align: center;
    gap: 2px;
    padding: 6px 4px;
    margin: 0;
    font-size: 10px;
    justify-content: center;
  }
  .nav-item > span {
    font-size: 19px;
  }
  .topbar {
    height: 78px;
    padding: 0 20px;
  }
  .topbar h1 {
    font-size: 20px;
  }
  .topbar small {
    font-size: 11px;
  }
  .topbar-right .small-muted {
    display: none;
  }
  .content {
    padding: 24px 15px 65px;
  }
  .stats-grid {
    gap: 9px;
  }
  .stat {
    padding: 13px;
  }
  .stat strong {
    font-size: 23px;
  }
  .panel {
    padding: 18px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .page-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .menu-wrap {
    padding-left: 14px;
    padding-right: 14px;
  }
  .menu-banner {
    min-height: 150px;
  }
  .menu-grid {
    grid-template-columns: 1fr;
  }
  .menu-header {
    padding: 19px;
  }
  .menu-product {
    grid-template-columns: 95px 1fr;
  }
  .menu-header h1 {
    font-size: 22px;
  }
}

/* Tululu 0.2 — cozinha, mesas e adicionais */
.kitchen-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(240px, 1fr));
  gap: 14px;
  align-items: start;
  overflow-x: auto;
  padding-bottom: 20px;
}
.kitchen-column {
  background: #f5f1fc;
  border: 1px solid #e7def6;
  border-radius: 18px;
  padding: 12px;
  min-height: 300px;
}
.kitchen-column h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  margin: 3px 0 14px;
}
.kitchen-ticket {
  background: white;
  border: 1px solid #e6dcf5;
  border-radius: 15px;
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: 0 5px 20px #3213630c;
}
.ticket-head {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.ticket-head b {
  font-size: 15px;
}
.ticket-head span {
  font-size: 12px;
  color: var(--muted);
}
.ticket-item {
  padding: 8px 0;
  border-bottom: 1px dashed #e5dcf1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
}
.ticket-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.table-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 15px;
  margin-top: 16px;
}
.table-card {
  margin: 0;
  text-align: center;
}
.table-card b {
  font-size: 19px;
}
.table-card .row-actions {
  justify-content: center;
  margin-top: 10px;
}
.table-card .small-muted {
  overflow-wrap: anywhere;
  font-size: 11px;
}
.muted-table {
  opacity: 0.72;
}
.qr-wrap {
  margin: 15px auto;
  max-width: 190px;
  padding: 8px;
  background: white;
  border: 1px solid #ede5fa;
  border-radius: 13px;
}
.table-qr {
  width: 100%;
  height: auto;
  display: block;
  image-rendering: pixelated;
}
.choice-row {
  display: flex;
  gap: 10px;
  align-items: end;
  margin: 10px 0;
}
.choice-row .field {
  flex: 1;
}
.choice-row .field:first-child {
  flex: 2;
}
.option-editor {
  margin-bottom: 16px;
}
.option-editor h4 {
  margin: 20px 0 4px;
}
.option-group {
  border: 1px solid #e8def6;
  border-radius: 14px;
  padding: 12px;
  margin: 18px 0;
}
.option-group legend {
  padding: 0 4px;
}
.option-group legend .small-muted {
  display: block;
  font-size: 12px;
  font-weight: 400;
}
.option-choice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  margin: 7px 0;
  cursor: pointer;
  background: #faf7ff;
  border: 1px solid #efe7ff;
}
.option-choice:has(input:checked) {
  border-color: var(--purple);
  background: #f1eaff;
}
.option-choice span {
  flex: 1;
  font-size: 14px;
}
.option-choice strong {
  font-size: 13px;
}
.option-choice input {
  accent-color: var(--purple);
  width: 17px;
  height: 17px;
}
@media (max-width: 690px) {
  .kitchen-board {
    display: flex;
    overflow: auto;
    scroll-snap-type: x mandatory;
  }
  .kitchen-column {
    flex: 0 0 min(84vw, 320px);
    scroll-snap-align: start;
  }
  .choice-row {
    flex-wrap: wrap;
  }
  .choice-row .field:first-child {
    flex: 1 1 100%;
  }
  .choice-row .field:nth-child(2) {
    flex: 1;
  }
}
@media print {
  body.app-page {
    background: white !important;
    color: #1b1630;
  }
  .dashboard-shell {
    display: block !important;
  }
  .sidebar,
  .topbar,
  .page-header,
  .table-controls,
  .no-print,
  #toast {
    display: none !important;
  }
  .dashboard-main,
  .content {
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
  }
  .table-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12mm;
  }
  .table-card {
    border: 1px solid #bbb !important;
    border-radius: 0 !important;
    break-inside: avoid;
    box-shadow: none !important;
    opacity: 1 !important;
    padding: 7mm !important;
  }
  .qr-wrap {
    max-width: 48mm !important;
  }
  .table-printable b {
    font-size: 20pt;
  }
  .table-printable .small-muted {
    font-size: 9pt;
  }
}

/* Tululu 0.3 — gestão de entregas, expediente, cupons e combos */
.hours-day {
  display: grid;
  grid-template-columns: minmax(115px, 170px) 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  gap: 12px;
  padding: 17px 0;
}
.hours-day > b {
  font-size: 14px;
  color: var(--ink);
}
.hours-slot {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin: 2px 0;
}
.hours-slot .input {
  width: 120px;
  min-height: 38px;
  padding: 8px;
  font-size: 13px;
}
.hours-slot .toggle-row {
  min-width: 116px;
  margin: 0;
  font-size: 12px;
}
.hours-slot span {
  font-size: 12px;
  color: var(--muted);
}
.hours-day .hours-slot:last-child {
  grid-column: 2;
}
.panel .table-wrap {
  overflow: auto;
}
@media (max-width: 790px) {
  .hours-day {
    grid-template-columns: 1fr;
  }
  .hours-day .hours-slot:last-child {
    grid-column: 1;
  }
  .hours-slot .input {
    width: 110px;
  }
}
@media (max-width: 690px) {
  .sidebar {
    justify-content: flex-start;
  }
  .nav-item {
    min-width: 74px;
    flex: 0 0 auto;
  }
  .hours-slot .toggle-row {
    min-width: 100px;
  }
}
/* Tululu 0.4 — painéis financeiros e assinaturas */
.billing-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.billing-highlight {
  background: linear-gradient(125deg, #6234d2, #9b75f8);
  border-radius: 23px;
  color: white;
  padding: 28px 30px;
  margin-bottom: 24px;
  box-shadow: 0 12px 28px #5936aa29;
}
.billing-highlight h2 {
  font-size: 31px;
  line-height: 1.1;
  margin: 10px 0 20px;
  color: white;
}
.billing-highlight p {
  color: #f0e5ff;
  font-size: 13px;
  margin-top: 12px;
}
.billing-highlight .small-muted {
  color: #f0e5ff;
}
.billing-highlight .pill {
  background: #fff;
  color: #6135b9;
}
.billing-highlight strong {
  font-size: 14px;
}
@media (max-width: 980px) {
  .billing-cards {
    grid-template-columns: 1fr;
  }
}
/* Tululu v0.5 — Domínios e CRM */
.domain-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid #ece7f5;
  flex-wrap: wrap;
}
.domain-row:first-of-type {
  border-top: 0;
}
.domain-row > div:first-child {
  flex: 1;
  min-width: 230px;
  overflow-wrap: anywhere;
}
.domain-row .pill {
  margin: 7px 6px 5px 0;
}
.client-activity {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}
.client-activity > div {
  padding: 12px 15px;
  background: #f8f5ff;
  border: 1px solid #eee6ff;
  border-radius: 12px;
}
.client-activity p {
  margin: 8px 0 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.mono {
  overflow-wrap: anywhere;
}
@media (max-width: 640px) {
  .domain-row {
    display: block;
  }
  .domain-row .row-actions {
    margin-top: 10px;
  }
}

/* v0.8: identidade visual da loja */
.brand-slot {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.brand-slot.cover {
  grid-template-columns: 220px 1fr;
}
.brand-preview {
  height: 120px;
  border-radius: 18px;
  background: #f3eaff;
  display: grid;
  place-items: center;
  overflow: hidden;
  font-size: 38px;
  border: 1px solid var(--line);
}
.brand-slot.logo .brand-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}
.brand-slot.cover .brand-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand-slot h3 {
  margin: 0 0 4px;
}
.menu-banner.has-cover {
  min-height: 240px;
}
.restaurant-logo img {
  object-fit: contain;
  background: #fff;
}
@media (max-width: 690px) {
  .brand-slot,
  .brand-slot.cover {
    grid-template-columns: 1fr;
  }
  .menu-banner.has-cover {
    min-height: 180px;
  }
}

/* v0.8: frente de caixa */
.pos-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, 1fr);
  gap: 20px;
  align-items: start;
}
.pos-cart {
  position: sticky;
  top: 16px;
}
.pos-cats {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 14px 0;
}
.pos-cats .pill {
  border: 0;
  cursor: pointer;
}
.pos-cats .pill.active {
  background: var(--purple);
  color: #fff;
}
.pos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 11px;
}
.pos-product {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 16px;
  padding: 10px;
  text-align: left;
  display: grid;
  gap: 4px;
  transition: 0.12s;
}
.pos-product:hover {
  border-color: var(--purple);
  transform: translateY(-1px);
}
.pos-product img {
  width: 100%;
  height: 84px;
  object-fit: cover;
  border-radius: 11px;
}
.pos-emoji {
  font-size: 30px;
  height: 84px;
  display: grid;
  place-items: center;
  background: #fbf5ee;
  border-radius: 11px;
}
.pos-product b {
  font-size: 13px;
}
.pos-product span {
  color: var(--purple);
  font-weight: 850;
}
.pos-product small {
  color: var(--muted);
  font-size: 11px;
}
.pos-line {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.pos-qty {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pos-qty .btn {
  min-height: 30px;
  padding: 4px 10px;
}
.pos-totals {
  display: grid;
  gap: 5px;
  margin: 12px 0;
  font-size: 14px;
}
.pos-totals div {
  display: flex;
  justify-content: space-between;
}
.pos-total {
  font-size: 19px;
  border-top: 1px dashed var(--line);
  padding-top: 6px;
}
.pos-methods {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.pos-pay-line {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 6px;
  margin: 8px 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 13px;
}
.pos-pay-line > button {
  grid-column: 3;
  grid-row: 1;
}
.pos-pay-line > :nth-child(3) {
  grid-column: 1;
  grid-row: 2;
}
.pos-pay-line > :nth-child(4) {
  grid-column: 2/4;
  grid-row: 2;
}
.pos-pay-line .input,
.pos-pay-line .select {
  min-height: 38px;
  padding: 7px 9px;
}
.pos-overlay {
  position: fixed;
  inset: 0;
  background: #2a1a4a88;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 16px;
}
.pos-picker {
  width: min(520px, 100%);
  max-height: 88vh;
  overflow: auto;
}
.pos-group {
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 0 0 12px;
  padding: 8px 14px;
}
.cash-group {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.pay-panel {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px #eee7ff;
}
.muted-row td {
  opacity: 0.55;
}
@media (max-width: 980px) {
  .pos-layout {
    grid-template-columns: 1fr;
  }
  .pos-cart {
    position: static;
  }
}
@media print {
  .sidebar,
  .topbar,
  .page-header form {
    display: none !important;
  }
  .dashboard-shell {
    display: block;
  }
}
.menu-banner.has-cover:before,
.menu-banner.has-cover:after {
  display: none;
}

/* v0.8: navegação no celular (barra com atalhos + menu completo) */
.mobile-nav,
.mnav-overlay {
  display: none;
}
@media (max-width: 690px) {
  .dashboard-shell .sidebar {
    display: none;
  }
  .mobile-nav {
    display: flex;
    position: fixed;
    z-index: 30;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    gap: 4px;
  }
  .mnav-item {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    color: #82768e;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 2px;
    border-radius: 12px;
    font-size: 10.5px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
  }
  .mnav-item > span {
    font-size: 20px;
  }
  .mnav-item.active {
    background: #f1eaff;
    color: var(--purple);
  }
  .mnav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 45;
    background: #2a1a4a77;
  }
  .mnav-sheet {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 82vh;
    overflow: auto;
    background: #fff;
    border-radius: 22px 22px 0 0;
    padding: 18px 16px calc(84px + env(safe-area-inset-bottom));
  }
  .mnav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .mnav-grid .mnav-item {
    background: #faf8ff;
    border: 1px solid var(--line);
    padding: 12px 4px;
    font-size: 11.5px;
  }
  .mnav-grid .mnav-item.active {
    background: #f1eaff;
  }
}
/* v0.8: botão do som de pedido novo */
.sound-btn {
  min-width: 42px;
  padding: 6px 10px;
  font-size: 17px;
}

/* v0.8: Pix automático no cardápio */
.pix-box {
  border: 2px solid #e4d6ff;
  background: #faf7ff;
  border-radius: 18px;
  padding: 18px;
  margin: 14px 0;
  text-align: center;
}
.pix-box h3 {
  margin: 0 0 4px;
}
.pix-qr {
  width: 220px;
  height: 220px;
  max-width: 100%;
  image-rendering: pixelated;
  margin: 10px auto;
  display: block;
  background: #fff;
  border-radius: 12px;
  padding: 8px;
}
.pix-code {
  background: #fff;
  border: 1px dashed #cdbbf5;
  border-radius: 10px;
  padding: 10px;
  margin: 8px 0 12px;
  font-size: 11px;
  max-height: 72px;
  overflow: auto;
  text-align: left;
}
.pix-wait {
  margin-top: 12px;
}
.pix-ok {
  background: #e5f8f1;
  border-color: #bfead9;
  color: #0d7a55;
}
.dot-pulse {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--purple);
  animation: pixpulse 1.2s infinite;
  vertical-align: middle;
  margin-right: 4px;
}
@keyframes pixpulse {
  0%,
  100% {
    opacity: 0.25;
  }
  50% {
    opacity: 1;
  }
}

/* Teste grátis */
.trial-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: #f1e9fd;
  border: 1px solid #dccaf8;
  color: #3b1d6e;
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 18px;
}
.trial-banner.warn {
  background: #fff4e5;
  border-color: #ffd8a8;
  color: #7a4300;
}
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.pix-choice {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 6px 0 10px;
}
/* Relatórios */
.bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 180px;
  padding-top: 8px;
}
.bars .bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
  min-width: 0;
}
.bars .bar span {
  display: block;
  width: 100%;
  max-width: 38px;
  background: linear-gradient(180deg, #8b5cf6, #56079f);
  border-radius: 6px 6px 2px 2px;
}
.bars .bar small {
  font-size: 10px;
  color: var(--muted, #7a728b);
  margin-top: 4px;
  white-space: nowrap;
}
.bars.hours {
  height: 120px;
}
@media print {
  .report-filter {
    display: none;
  }
}
/* Primeiros passos */
.setup-progress {
  height: 8px;
  background: #efe7fb;
  border-radius: 99px;
  overflow: hidden;
  margin: 4px 0 14px;
}
.setup-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #8b5cf6, #56079f);
  border-radius: 99px;
}
.setup-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.setup-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #eee6fb;
  border-radius: 12px;
}
.setup-list li.done {
  opacity: 0.6;
}
.setup-list li.done .setup-label {
  text-decoration: line-through;
}
.setup-check {
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 50%;
  border: 2px solid #cdb8f3;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
}
.setup-list li.done .setup-check {
  background: #16a34a;
  border-color: #16a34a;
}
.setup-label {
  flex: 1;
}
/* Carregando página */
.page-loading{display:flex;align-items:center;gap:12px;padding:40px 8px;color:var(--muted,#7a728b);font-weight:700}
.page-loading .spinner{width:22px;height:22px;border:3px solid #e9dffb;border-top-color:#7444ed;border-radius:50%;animation:tl-spin .8s linear infinite}
@keyframes tl-spin{to{transform:rotate(360deg)}}

/* Tululu 1.1 — cardápio vendedor e WhatsApp grátis */
.menu-search {
  margin: 14px 0 4px;
}
.menu-search .input {
  width: 100%;
  border-radius: 999px;
  padding-left: 18px;
}
.best-badge {
  display: inline-block;
  background: #fff1e6;
  color: #c2410c;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 9px;
  margin-bottom: 4px;
}
.upsell {
  border: 1px dashed var(--local-color);
  border-radius: 14px;
  padding: 12px;
  margin: 14px 0;
  display: grid;
  gap: 10px;
}
.upsell-item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 10px;
}
.upsell-item img,
.upsell-emoji {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  display: grid;
  place-items: center;
  background: #f4f0ff;
  font-size: 1.3rem;
}
.remember-me {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 4px 0 12px;
  font-size: 0.9rem;
}
.wa-box {
  border-radius: 14px;
  background: #ecfdf3;
  padding: 14px;
  margin-top: 16px;
  display: grid;
  gap: 8px;
  text-align: center;
}
.wa-box p {
  margin: 0;
}
.btn-wa,
.btn-wa:hover {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}
.wa-panel {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}

/* Tululu 1.2 — iFood */
.ifood-tag {
  display: inline-block;
  background: #ea1d2c;
  color: #fff;
  font-weight: 800;
  font-size: 0.72rem;
  border-radius: 6px;
  padding: 1px 6px;
  letter-spacing: 0.02em;
  vertical-align: middle;
}
.ifood-box {
  border: 1px solid #f7c6ca;
  background: #fff7f7;
  border-radius: 12px;
  padding: 10px 12px;
  margin: 10px 0;
  display: grid;
  gap: 4px;
}
.ifood-head {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}
.order-card.is-ifood,
.kitchen-ticket.is-ifood {
  border-left: 4px solid #ea1d2c;
}
.setup-steps {
  margin: 0 0 14px 18px;
  display: grid;
  gap: 6px;
}

/* Tululu 1.3 — avaliação e motoboy */
.rating-pill {
  margin-right: 6px;
}
.review-box,
.driver-box {
  border-radius: 14px;
  background: #f7f3ff;
  padding: 14px;
  margin-top: 16px;
  display: grid;
  gap: 10px;
  text-align: center;
}
.review-box.done {
  background: #ecfdf3;
}
.stars {
  display: flex;
  justify-content: center;
  gap: 6px;
}
.star {
  font-size: 2.1rem;
  line-height: 1;
  border: 0;
  background: none;
  color: #d6d0e5;
  cursor: pointer;
  padding: 2px;
}
.star.on {
  color: #f5b301;
}
.stars-static {
  color: #f5b301;
  font-size: 1.5rem;
  letter-spacing: 2px;
}
#driver-map {
  height: 230px;
  border-radius: 12px;
  overflow: hidden;
}
.moto-pin {
  font-size: 30px;
  line-height: 36px;
  text-align: center;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35));
}
.driver-app {
  max-width: 520px;
  margin: 0 auto;
  padding: 18px 14px 40px;
}
.driver-card {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  display: grid;
  gap: 14px;
  box-shadow: 0 10px 30px rgba(60, 20, 120, 0.08);
}
.driver-card h1 {
  margin: 0;
}
.driver-card section {
  display: grid;
  gap: 6px;
}
.driver-logo {
  width: 110px;
}
.driver-address {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 4px 0;
}
.driver-main {
  min-height: 56px;
  font-size: 1.1rem;
}
.driver-live {
  background: #ecfdf3;
  border-radius: 12px;
  padding: 10px;
  text-align: center;
}
.driver-live.bad {
  background: #fff1f1;
}
.driver-done {
  font-size: 1.2rem;
  text-align: center;
  padding: 16px;
}
.review-stars {
  color: #f5b301;
  letter-spacing: 1px;
}
.review-row.low {
  border-left: 4px solid #e5484d;
  background: #fff7f7;
}
.review-row {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #eee;
  display: grid;
  gap: 4px;
}
.rating-bars div {
  display: grid;
  grid-template-columns: 34px 1fr 40px;
  gap: 8px;
  align-items: center;
  font-size: 0.9rem;
}
.rating-bars span.bar {
  height: 10px;
  border-radius: 6px;
  background: #f5b301;
  display: block;
}
.driver-card {
  grid-template-columns: minmax(0, 1fr);
}
.driver-card h1 {
  overflow-wrap: anywhere;
  font-size: 1.5rem;
}

/* Tululu 1.4 — painel do motoboy */
.courier-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.courier-today {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.courier-today div {
  background: #f7f3ff;
  border-radius: 12px;
  padding: 10px;
  display: grid;
}
.courier-today span {
  font-size: 0.78rem;
  color: #6b6380;
}
.courier-order {
  border: 1px solid #ece6fa;
  border-radius: 14px;
  padding: 12px;
  display: grid;
  gap: 6px;
  margin-top: 8px;
}
.courier-order.out_for_delivery {
  border-color: #25d366;
  background: #f3fdf6;
}
.courier-order.ready {
  border-color: #f5b301;
}
.courier-order-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.courier-map {
  height: 320px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
}
.courier-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr auto;
  gap: 10px;
  align-items: center;
}

/* v1.5 — planos no painel */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 16px 0;
}
.plan-card {
  border: 1.5px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.plan-card.featured {
  border-color: var(--purple);
  box-shadow: var(--shadow);
}
.plan-card.current {
  border-color: var(--green);
}
.plan-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.plan-top h3 {
  margin: 0;
}
.plan-price {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--ink);
}
.plan-price small {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}
.plan-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;
  font-size: 0.92rem;
  flex: 1;
}
.plan-list li {
  margin: 0;
  flex: 0 0 auto;
}
.plan-list small {
  color: var(--muted);
}
.plan-pick {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}
.plan-pick:has(input:checked) {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
}
.plan-upsell {
  max-width: 720px;
}
.sched-pill{background:#fff4d9!important;color:#8a5a00!important;margin-left:6px}
.cashback-box{background:#f6f0ff;border:1px dashed #c9b3f7;border-radius:14px;padding:12px 14px}
.cashback-box .btn{margin-top:8px}

.dns-guide{border:1px solid var(--line,#e6e1ee);border-radius:12px;padding:12px 14px;margin:0 0 16px;background:#faf8fd}
.dns-guide details{border-top:1px solid var(--line,#e6e1ee);padding:8px 0}
.dns-guide summary{cursor:pointer;font-weight:600}
.dns-guide ol{margin:8px 0 4px 18px;line-height:1.6}
.input.input-small{min-height:36px;padding:6px 9px;font-size:.92rem;min-width:86px}
