:root {
  --bg: #2f2519;
  --box: #423423;
  --title: #fdf6f0;
  --text: #cfa679;
  --link: #c96c36;
  --accent: #d45124;
  --accent-soft: #eda05a;
  --success-bg: #38512b;
  --success-text: #43b76a;
  --warning-bg: #70462e;
  --warning-text: #c96c36;
  --verified: #0095f6;
  --line: rgba(207, 166, 121, 0.14);
  --letterbox-bg: #1c150d;
  --on-accent: #fff;
  --bg-elevated: #392c1c;
  --text-faint: rgba(207, 166, 121, 0.58);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 26px;
  --radius-full: 999px;

  --nav-h: 84px;
  --nav-h-scrolled: 62px;

  --font:
    "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial,
    sans-serif;
}

[data-theme="light"] {
  --bg: #fbf8f4;
  --box: #ffffff;
  --title: #241a10;
  --text: #7a6650;
  --link: #b8431c;
  --accent-soft: #c9762f;
  --success-bg: rgba(47, 157, 91, 0.12);
  --success-text: #2f9d5b;
  --warning-bg: rgba(185, 121, 31, 0.14);
  --warning-text: #b9791f;
  --line: #ecdfd0;
  --letterbox-bg: #e4dccf;
  --bg-elevated: #f3ece2;
  --text-faint: #a4907a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  /* Reforça o bloqueio de pinch-zoom/duplo-toque em navegadores que
     ignoram user-scalable=no da viewport (a maioria dos Android
     modernos respeita isso) — ainda permite rolar/arrastar normal. */
  touch-action: pan-x pan-y;
}
img {
  display: block;
  max-width: 100%;
}
button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}
input {
  font-family: inherit;
}
a {
  text-decoration: none;
  color: var(--link);
}
ul {
  list-style: none;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

#preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  transition: opacity 0.6s ease;
}
#preloader.is-hidden {
  opacity: 0;
  pointer-events: none;
}
#preloader .pre-logo {
  width: 100px;
  height: auto;
}
#preloader .pre-tagline {
  color: var(--title);
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 600;
}
.pre-spinner {
  width: 26px;
  height: 26px;
  border: 3px solid rgba(207, 166, 121, 0.25);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

body.page-index .app {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  padding-bottom: 0;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
body.page-index .app.is-visible {
  opacity: 1;
  transform: translateY(0);
}

main {
  padding-top: calc(var(--nav-h) + 22px);
}

.navbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: transparent;
  z-index: 100;
  opacity: 0;
  transition:
    background-color 0.3s ease,
    height 0.3s ease,
    box-shadow 0.3s ease,
    opacity 0.5s ease;
}
.navbar.is-visible {
  opacity: 1;
}
.navbar.is-scrolled {
  height: var(--nav-h-scrolled);
  background: var(--bg);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.navbar .logo-wrap {
  display: flex;
  align-items: center;
  width: 70px;
  height: auto;
  border-radius: 8px;
}
.navbar .logo {
  height: 100%;
  width: auto;
}
.navbar-location {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
  align-items: center;
  gap: 6px;
  color: var(--title);
  font-size: 13px;
  font-weight: 600;
}
.navbar-location.is-visible {
  display: flex;
}
.navbar-location i {
  color: var(--accent-soft);
  font-size: 15px;
}

.navbar .nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 25px;
  transition: color 0.2s ease;
}
.nav-icon-btn:hover {
  color: var(--accent);
}
.nav-icon-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--box);
}
.nav-icon-badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: var(--on-accent);
  font-size: 9.5px;
  font-weight: 700;
  line-height: 15px;
  text-align: center;
}
.nav-icon-btn span {
  display: none;
}
.nav-avatar {
  display: flex;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--box);
  align-items: center;
  justify-content: center;
}
.nav-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  margin: 0 16px 14px 20px;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
}
.location-bar i {
  color: var(--accent-soft);
  font-size: 14px;
}

.hero-slider-wrap {
  margin: 0 16px 0;
}
.hero-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 150px;
  background: var(--accent);
}
.hero-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}
.hero-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slide-btn {
  position: absolute;
  left: 18px;
  bottom: 16px;
}
.slide-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
}
.slide-dots button {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-soft);
  transition: background-color 0.25s ease;
}
.slide-dots button.is-active {
  background: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition:
    filter 0.2s ease,
    transform 0.15s ease;
}
.btn i {
  font-size: 15px;
  font-weight: 400;
}
.btn:hover {
  filter: brightness(1.08);
}
.btn:active {
  transform: scale(0.97);
}
.btn-sm {
  padding: 7px 14px;
  font-size: 12px;
}
.btn[disabled] {
  background: var(--box);
  color: var(--text);
  cursor: not-allowed;
  opacity: 0.7;
}
.btn.btn-outline {
  background: var(--bg-elevated);
  color: var(--title);
  border: 1.5px solid var(--line);
}
.btn.btn-outline:hover {
  filter: none;
  border-color: var(--accent-soft);
}
.btn.btn-outline i {
  color: var(--accent-soft);
}
.account-section .social-btn {
  background: var(--bg-elevated);
  border: 1.5px solid var(--line);
  margin-bottom: 0;
}
.account-warning {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--warning-bg);
  color: var(--warning-text);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.5;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  margin-top: 14px;
  text-decoration: none;
}
.account-warning i {
  flex-shrink: 0;
  font-size: 17px;
  margin-top: 1px;
}
.account-warning a {
  color: inherit;
  text-decoration: none;
}
.account-warning.is-urgent {
  background: rgba(212, 81, 36, 0.14);
  color: var(--accent);
}
.account-warning-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  flex: 1;
}
.account-warning .btn {
  color: var(--on-accent);
}

.section {
  padding: 26px 16px 0;
}
.section-title {
  color: var(--title);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  border: 1.5px solid transparent;
  transition: border-color 0.2s ease;
}
.search-bar:focus-within {
  border-color: var(--accent);
}
.search-bar i {
  color: var(--text);
  font-size: 17px;
}
.search-bar input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.4px;
}
.search-bar input:focus-visible {
  outline: none;
  border-radius: 0;
}
.search-bar input::placeholder {
  color: var(--text-faint);
}

.filter-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 18px 0 4px;
  scrollbar-width: none;
}
.filter-tabs::-webkit-scrollbar {
  display: none;
}
.filter-tab {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--link);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
.filter-tab.is-active {
  background: var(--accent);
  color: var(--on-accent);
}
.filter-tab:hover:not(.is-active) {
  color: var(--accent);
}

.tab-panel {
  display: none;
}
.tab-panel.is-active {
  display: block;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.shop-card {
  background: var(--box);
  border-radius: var(--radius-md);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.shop-card .shop-head {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  min-width: 0;
}
.shop-grid .avatar-round {
  width: 28px;
  height: 28px;
}
.shop-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  flex: 1;
}
.avatar-round {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.avatar-round img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shop-name {
  color: var(--title);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.shop-name span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.shop-name i {
  color: var(--verified);
  font-size: 14px;
  flex-shrink: 0;
}

.card-meta-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  row-gap: 4px;
  gap: 6px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px 2px 6px;
  border-radius: var(--radius-full);
  width: fit-content;
}
.status-pill.is-open,
.status-pill.is-confirmed {
  background: var(--success-bg);
  color: var(--success-text);
}
.status-pill.is-closed,
.status-pill.is-pending,
.status-pill.is-analysis {
  background: var(--warning-bg);
  color: var(--warning-text);
}
.status-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  border: 1px solid currentColor;
  outline: 1px solid currentColor;
  outline-offset: 1px;
}

.amenity-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.amenity-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--title);
  background: var(--box);
  padding: 6px 12px;
  border-radius: var(--radius-full);
}
.amenity-badge i {
  font-size: 14px;
  color: var(--accent-soft);
}

.subscription-plan-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}
.subscription-plan-card {
  background: var(--box);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.subscription-plan-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--title);
}
.subscription-plan-desc {
  font-size: 11px;
  color: var(--text);
  margin-top: 3px;
  line-height: 1.4;
}
.subscription-plan-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 8px;
}
.subscription-plan-price span {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-faint);
}
.subscription-plan-meta,
.subscription-plan-services {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--text-faint);
  margin-top: 3px;
}
.subscription-plan-card .js-subscribe-plan {
  margin-top: 10px;
}
.subscription-plan-subscribed {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--success-text);
}

.subscription-detail-history {
  max-height: 160px;
  overflow-y: auto;
}
.subscription-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
.subscription-detail-row:last-child {
  border-bottom: none;
}
.subscription-detail-row .amount {
  color: var(--title);
  font-weight: 600;
}
.subscription-detail-row .date {
  color: var(--text-faint);
}
.subscription-detail-status {
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: var(--box);
  color: var(--text-faint);
}
.subscription-detail-status.is-paid {
  background: var(--success-bg);
  color: var(--success-text);
}
.subscription-detail-status.is-pending {
  background: var(--warning-bg);
  color: var(--warning-text);
}

.billing-pix-card {
  background: var(--box);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.billing-pix-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.billing-pix-head i {
  font-size: 22px;
  color: var(--accent);
  flex-shrink: 0;
}
.billing-pix-head .t {
  font-size: 14px;
  font-weight: 700;
  color: var(--title);
}
.billing-pix-head .d {
  font-size: 12px;
  color: var(--text-faint);
  margin-top: 2px;
}
.billing-pix-qr {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  padding: 16px;
  min-height: 196px;
}
.billing-pix-qr canvas {
  border-radius: var(--radius-sm);
}
.billing-pix-code {
  display: flex;
  gap: 8px;
}
.billing-pix-code .field-control {
  font-size: 11px;
  font-family: "Courier New", monospace;
}

.unavailable-line {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-size: 10.5px;
  font-weight: 600;
}
.unavailable-line i {
  font-size: 13px;
}

.rating-line {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--title);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rating-line i {
  color: var(--accent-soft);
  font-size: 12px;
  flex-shrink: 0;
}
.location-line {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text);
  font-weight: 400;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.location-line i {
  font-size: 12px;
  flex-shrink: 0;
}

.shop-card .btn {
  align-self: stretch;
  width: 100%;
  font-size: 10.5px;
  padding: 5px 8px;
}

.pagination-row {
  display: flex;
  align-items: center;
  margin-top: 16px;
}
.pagination-dots {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
}
.pagination-dots::-webkit-scrollbar {
  display: none;
}
.pagination-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-soft);
  flex-shrink: 0;
}
.pagination-dots span.is-active {
  background: var(--accent);
}
.find-more {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}
.find-more:hover {
  color: var(--accent);
  filter: brightness(1.1);
}

.shop-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}
.shop-row {
  background: var(--box);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.shop-row .shop-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.shop-row .avatar-round {
  width: 38px;
  height: 38px;
}
.shop-row .shop-info {
  gap: 4px;
}
.super-tag {
  background: var(--accent);
  color: var(--on-accent);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  width: fit-content;
}
.shop-row-btn {
  flex-shrink: 0;
  font-size: 10.5px;
  padding: 7px 12px;
}

.empty-state {
  margin-top: 20px;
  background: var(--box);
  border-radius: var(--radius-md);
  padding: 34px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.empty-state i {
  font-size: 30px;
  color: var(--accent);
}
.empty-state h3 {
  color: var(--title);
  font-size: 15px;
  font-weight: 700;
}
.empty-state p {
  color: var(--text);
  font-size: 12.5px;
  max-width: 230px;
}

.skel {
  position: relative;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
}
.skel::after {
  content: "";
  visibility: visible;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    100deg,
    rgba(207, 166, 121, 0.08) 8%,
    rgba(207, 166, 121, 0.22) 18%,
    rgba(207, 166, 121, 0.08) 33%
  );
  background-size: 200% 100%;
  animation: shimmer 0.7s ease-in-out infinite;
}
@keyframes shimmer {
  0% {
    background-position: 150% 0;
  }
  100% {
    background-position: -50% 0;
  }
}

@media (min-width: 431px) {
  body {
    background: var(--letterbox-bg);
  }
  body.page-index .app {
    background: var(--bg);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.4);
  }
  .navbar {
    box-shadow: none;
    background: var(--bg);
  }
}
@media (min-width: 431px) and (max-width: 900px) {
  body {
    background: var(--bg);
  }
}

/* iOS Safari força zoom automático ao focar qualquer campo com
   font-size menor que 16px — ignora a viewport travada acima. Só em
   telas de toque (não afeta o visual em desktop/mouse). */
@media (hover: none) and (pointer: coarse) {
  .field-input,
  .account-field input,
  .review-textarea {
    font-size: 16px;
  }
}

.sheet-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 10, 5, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.sheet-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.sheet {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 201;
  width: 100%;
  max-width: 430px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-radius: 28px 28px 0 0;
  box-shadow: none;
  transform: translate(-50%, 100%);
  transition:
    transform 0.4s cubic-bezier(0.32, 0.72, 0, 1),
    height 0.32s cubic-bezier(0.32, 0.72, 0, 1);
}
.sheet.open {
  /* Só com o sheet aberto — fechado, o topo do elemento transformado
     fica bem em cima da borda inferior da tela, e a sombra (que se
     estende pra cima do topo) ficava visível ali mesmo com o sheet
     "escondido". */
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
  transform: translate(-50%, 0);
}
.sheet.is-animating-height {
  transition: height 0.32s cubic-bezier(0.32, 0.72, 0, 1);
}
.sheet-handle {
  display: flex;
  justify-content: center;
  padding: 10px 0 6px;
  flex-shrink: 0;
  cursor: pointer;
}
.sheet-handle span {
  width: 38px;
  height: 4px;
  border-radius: var(--radius-full);
  background: var(--text);
  opacity: 0.4;
  transition: opacity 0.2s ease;
}
.sheet-handle:hover span {
  opacity: 0.7;
}

.sheet-panel {
  display: none;
  min-height: 0;
  flex: 1;
  flex-direction: column;
}
.sheet-panel.is-active {
  display: flex;
}

.sheet-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 18px 14px;
  flex-shrink: 0;
}
.sheet-header.is-confirm {
  justify-content: space-between;
}
.sheet-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.sheet-header-title {
  color: var(--title);
  font-size: 15px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sheet-header-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--warning-text);
  font-size: 17px;
  flex-shrink: 0;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}
.sheet-header-icon:hover {
  color: var(--title);
}
.sheet-header-icon.is-active {
  color: var(--accent);
}

.sheet-body {
  overflow-y: auto;
  padding: 0 18px 24px;
}

.sheet-profile {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
}
.sheet-profile .shop-info {
  flex: none;
  align-items: flex-start;
  text-align: left;
}
.sheet-profile .card-meta-row {
  justify-content: flex-start;
}
.sheet-avatar {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}
.sheet-profile .shop-name {
  font-size: 17px;
}
.sheet-profile .shop-name i {
  font-size: 16px;
}
.sheet-profile .rating-line,
.sheet-profile .location-line {
  font-size: 12px;
}

.sheet-full-profile {
  display: block;
  text-align: center;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 16px;
}
.sheet-full-profile:hover {
  filter: brightness(1.1);
}

.sheet-cta {
  width: 100%;
  padding: 13px 16px;
  font-size: 13.5px;
  margin-bottom: 8px;
}
.sheet-response-time {
  text-align: center;
  color: var(--text);
  font-size: 11px;
  margin-bottom: 22px;
}

.sheet-section-title {
  color: var(--title);
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 12px;
}

.service-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
.service-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 9px 0;
  text-align: left;
}
.service-list .service-row:last-child {
  border-bottom: none;
}
.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg);
  color: var(--accent-soft);
  font-size: 14px;
  flex-shrink: 0;
}
.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.service-name {
  color: var(--title);
  font-size: 12.5px;
  font-weight: 600;
}
.service-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text);
  font-size: 10px;
}
.service-meta i {
  font-size: 11px;
}
.service-price-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.service-price {
  color: var(--title);
  font-size: 12px;
  font-weight: 700;
}
.service-checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--bg-elevated);
  flex-shrink: 0;
}
.service-checkbox i {
  font-size: 25px;
  position: relative;
  left: 2px;
  top: -3px;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.15s ease;
}
.service-row.is-active .service-checkbox i {
  opacity: 1;
}

.env-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.env-photo {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--box);
}
.env-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.confirm-shop {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.confirm-shop-avatar {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}
.confirm-shop-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}
.confirm-shop-name {
  color: var(--title);
  font-size: 16px;
  font-weight: 700;
}
.confirm-shop .location-line {
  font-size: 12px;
}

.detail-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--box);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 24px;
}
.detail-total-row span {
  color: var(--text);
  font-size: 12px;
}
.detail-total-row strong {
  color: var(--title);
  font-size: 15px;
  font-weight: 700;
}

.sheet-loading-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border-radius: 28px 28px 0 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.sheet-loading-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.date-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 22px;
  scrollbar-width: none;
}
.date-scroll::-webkit-scrollbar {
  display: none;
}
.date-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  min-width: 48px;
  padding: 10px 6px;
  border-radius: var(--radius-md);
  background: var(--box);
  border: 1.5px solid transparent;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}
.date-chip.is-active {
  background: var(--accent);
  border-color: var(--accent);
}
.date-chip-day {
  color: var(--text);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
}
.date-chip-num {
  color: var(--title);
  font-size: 14px;
  font-weight: 700;
}
.date-chip.is-active .date-chip-day,
.date-chip.is-active .date-chip-num {
  color: var(--on-accent);
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.time-chip {
  padding: 10px 4px;
  border-radius: var(--radius-md);
  background: var(--box);
  color: var(--title);
  font-size: 12.5px;
  font-weight: 600;
  border: 1.5px solid transparent;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}
.time-chip.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

.sheet-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  background: var(--bg);
  flex-shrink: 0;
}
.sheet-total {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sheet-total span {
  color: var(--text);
  font-size: 11px;
}
.sheet-total strong {
  color: var(--title);
  font-size: 16px;
  font-weight: 700;
}
.sheet-footer .btn {
  flex-shrink: 0;
  padding: 12px 26px;
  font-size: 13px;
}

.success-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 4px;
}
.success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success-text);
  font-size: 30px;
  margin-bottom: 16px;
}
.success-title {
  color: var(--title);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.success-text {
  color: var(--text);
  font-size: 12.5px;
  max-width: 260px;
  margin-bottom: 20px;
}
.success-summary {
  width: 100%;
  background: var(--box);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}
.success-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
}
.success-summary-row span {
  color: var(--text);
  flex-shrink: 0;
}
.success-summary-row strong {
  color: var(--title);
  font-weight: 600;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 60%;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 300;
  max-width: 380px;
  transform: translate(-50%, 12px);
  opacity: 0;
  pointer-events: none;
  background: var(--box);
  color: var(--title);
  font-size: 12.5px;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}
.toast.open {
  opacity: 1;
  transform: translate(-50%, 0);
}

.auth-screen {
  position: fixed;
  inset: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 210;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.auth-screen.open {
  opacity: 1;
  pointer-events: auto;
}

.auth-panel {
  display: none;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}
.auth-panel.is-active {
  display: flex;
}

.auth-top {
  display: flex;
  justify-content: flex-end;
  padding: 18px 18px 0;
  flex-shrink: 0;
}

.auth-body {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 28px 40px;
}

.auth-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 34px;
}
.auth-logo {
  width: 150px;
  height: 60px;
  margin-bottom: 22px;
}
.auth-slider {
  width: 100%;
  overflow: hidden;
}
.auth-slide-track {
  display: flex;
  transition: transform 0.5s ease;
}
.auth-slide-text {
  min-width: 100%;
  flex-shrink: 1;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  line-height: 1.6;
  padding: 0 4px;
}
.auth-dots {
  margin-top: 18px;
}

.field-group {
  width: 86%;
  margin: 0 auto 14px;
}
.field-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.field-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--bg-elevated);
  border-radius: var(--radius-full);
  padding: 12px 18px;
}
.field-input {
  width: 100%;
  min-width: 0;
  background: none;
  border: none;
  color: var(--title);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-align: center;
  transition: color 0.2s ease;
}
.field-input::placeholder {
  color: var(--text-faint);
}
.field-input:focus-visible {
  outline: none;
}
.field-input:-webkit-autofill,
.field-input:-webkit-autofill:hover,
.field-input:-webkit-autofill:focus,
.field-input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--title);
  -webkit-box-shadow: 0 0 0px 1000px var(--bg-elevated) inset;
  box-shadow: 0 0 0px 1000px var(--bg-elevated) inset;
  caret-color: var(--title);
  transition: background-color 9999s ease-in-out 0s;
}
.field-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  flex-shrink: 0;
  font-size: 15px;
  line-height: 1;
}
.field-mark.is-empty {
  visibility: hidden;
}
.field-mark .field-asterisk {
  display: none;
  color: var(--accent);
  font-size: 15px;
}
.field-mark .field-icon {
  display: none;
  font-size: 17px;
}
.field-mark .field-icon.icon-error {
  color: var(--accent);
}
.field-mark .field-icon.icon-ok {
  color: var(--accent);
}

.field-row.is-error .field-mark-left .field-asterisk {
  display: inline-block;
}
.field-row.is-error .field-mark-right .icon-error {
  display: inline-block;
}
.field-row.is-error .field-input {
  color: var(--accent);
}

.field-row.is-ok .field-mark-right .icon-ok {
  display: inline-block;
}

.field-row.is-required .field-mark-left .field-asterisk {
  display: inline-block;
}

.field-error-text {
  display: none;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  margin: 6px 4px 0;
  text-align: center;
}
.field-group.has-error .field-error-text {
  display: block;
}

.checkbox-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  margin: 6px 0 22px;
}
.checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--bg-elevated);
  flex-shrink: 0;
}
/* ---------------- Toggle mostrar/ocultar senha ---------------- */
.field-wrap .field-input {
  flex: 1;
  width: auto;
}
.field-toggle-pass {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text);
  font-size: 17px;
  padding: 2px;
  transition: color 0.2s ease;
}
.field-toggle-pass:hover {
  color: var(--accent);
}
.field-toggle-pass.is-active {
  color: var(--accent);
}

/* ---------------- Barra de força da senha ---------------- */
.pass-strength {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 4px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    opacity 0.25s ease,
    max-height 0.25s ease,
    margin 0.25s ease;
}
.pass-strength.is-visible {
  max-height: 20px;
  opacity: 1;
  width: 70%;
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  margin: 8px auto;
}
.pass-strength-track {
  position: relative;
  flex: 1;
  height: 4px;
  border-radius: var(--radius-full);
  background: var(--box);
}
.pass-strength-fill {
  position: relative;
  height: 100%;
  width: 0%;
  border-radius: var(--radius-full);
  background: var(--accent);
  overflow: hidden;
  transition:
    width 0.3s ease,
    background-color 0.3s ease;
}
.pass-strength-fill.is-weak {
  background: var(--accent);
}
.pass-strength-fill.is-medium {
  background: var(--accent-soft);
}
.pass-strength-fill.is-strong {
  background: var(--success-text);
}

/* Shimmer suave deslizando pelo preenchimento + glow respirando na
   ponta. Discreto, sem padrão repetitivo — sensação de "carregando
   energia", não de progress bar genérica. */
.pass-strength-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 30%,
    rgba(255, 255, 255, 0.35) 48%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0.35) 52%,
    transparent 70%
  );
  background-size: 200% 100%;
  background-position: 150% 0;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.pass-strength-fill.is-animating::after {
  opacity: 1;
  animation: pass-strength-shimmer 1.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes pass-strength-shimmer {
  0% {
    background-position: 150% 0;
  }
  100% {
    background-position: -50% 0;
  }
}

.pass-strength-glow {
  position: absolute;
  top: 50%;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  filter: blur(4px);
  transform: translate(50%, -50%) scale(0.6);
  opacity: 0;
  pointer-events: none;
}
.pass-strength-fill.is-animating .pass-strength-glow {
  animation: pass-strength-breathe 1.8s ease-in-out infinite;
}
@keyframes pass-strength-breathe {
  0%,
  100% {
    opacity: 0.25;
    transform: translate(50%, -50%) scale(0.55);
  }
  50% {
    opacity: 0.85;
    transform: translate(50%, -50%) scale(1);
  }
}
.pass-strength-label {
  flex-shrink: 0;
  min-width: 38px;
  text-align: right;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text);
}
.pass-strength-label.is-weak {
  color: var(--accent);
}
.pass-strength-label.is-medium {
  color: var(--accent-soft);
}
.pass-strength-label.is-strong {
  color: var(--success-text);
}
.checkbox i {
  font-size: 26px;
  position: relative;
  left: 2px;
  top: -3px;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.15s ease;
}
.checkbox-row.is-active .checkbox i {
  opacity: 1;
}
.checkbox-text {
  color: var(--text);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}
.checkbox-link {
  color: var(--accent);
  font-weight: 600;
}
.checkbox-link:hover {
  filter: brightness(1.1);
}

.auth-cta {
  padding: 6px 30px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.auth-cta-wrap {
  display: flex;
  justify-content: center;
}

.auth-switch,
.auth-forgot {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 13px;
}
.auth-switch {
  color: var(--title);
  font-weight: 600;
  margin-bottom: 14px;
}
.auth-forgot {
  color: var(--text);
  line-height: 1.5;
}
.auth-switch:hover,
.auth-forgot:hover {
  filter: brightness(1.15);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 14px;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.auth-divider span {
  font-size: 11px;
  color: var(--text);
  font-weight: 500;
}

.social-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--box);
  color: var(--title);
  font-weight: 600;
  font-size: 13px;
  border-radius: var(--radius-full);
  padding: 12px;
  margin-bottom: 14px;
  transition: opacity 0.15s ease;
}
.social-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.social-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.pdz-recaptcha-v2:empty {
  display: none;
}
.pdz-recaptcha-v2 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 8px 0;
  height: 62px;
}
.pdz-recaptcha-v2 > div {
  transform: scale(0.77);
  transform-origin: center;
}

.otp-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 6px;
}
.otp-box {
  width: 44px;
  height: 52px;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--title);
  background: var(--bg-elevated);
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}
.otp-box:focus-visible {
  outline: none;
  border-color: var(--accent-soft);
}
.otp-row.is-valid .otp-box {
  background: var(--success-bg);
  color: var(--success-text);
}
.otp-row.is-invalid .otp-box {
  background: rgba(212, 81, 36, 0.1);
  animation: otp-shake 0.3s ease;
}
.otp-check {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 10px 0 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--success-text);
}
.otp-check.is-visible {
  display: flex;
}
.otp-check-circle {
  color: var(--success-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  animation: otp-pop 0.25s ease;
}
.recovery-password-group {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    opacity 0.3s ease;
}
.recovery-password-group.is-visible {
  max-height: 120px;
  opacity: 1;
}
@keyframes otp-pop {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}
@keyframes otp-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-4px);
  }
  75% {
    transform: translateX(4px);
  }
}

.open-booking-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--box);
  color: var(--text);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.4;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}
.open-booking-notice i {
  flex-shrink: 0;
  font-size: 15px;
  color: var(--accent-soft);
}
.open-booking-notice-warning {
  background: var(--warning-bg);
  color: var(--warning-text);
}
.open-booking-notice-warning i {
  color: var(--warning-text);
}

/* ---------------- Login: identity preview (conta já encontrada) ----------------
   Mesmo padrão do login do liga.pedizy.com — quando o e-mail/WhatsApp
   digitado já é de uma conta, troca o campo por esse card. */
.identity-preview {
  display: none;
  position: relative;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
  background: var(--box);
  border-radius: var(--radius-md);
  padding: 22px 18px 18px;
  margin-top: 8px;
}
.identity-preview-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  margin-bottom: 10px;
  background: var(--accent) center/cover no-repeat;
  color: var(--on-accent);
  font-weight: 700;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.identity-preview-name {
  font-size: 15px;
  color: var(--title);
  font-weight: 700;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.identity-preview-identifier {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  font-size: 11px;
  color: var(--success-text);
  font-weight: 600;
  background: var(--success-bg);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}
.identity-preview-identifier i {
  font-size: 12px;
  flex-shrink: 0;
}
.identity-preview-switch {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}
.identity-preview-switch:hover {
  color: var(--accent-soft);
}
/* Herda font-size do .open-booking-notice pai — só muda cor/peso. */
.open-booking-notice-link {
  color: var(--accent);
  font-weight: 700;
}
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 90px 16px 16px;
  background: rgba(15, 10, 5, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.menu-modal {
  width: 100%;
  max-width: 398px;
  background: var(--box);
  border-radius: var(--radius-md);
  padding: 22px 20px 14px;
  transform-origin: top center;
  transform: scale(0.82) translateY(-18px);
  opacity: 0;
  transition:
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.25s ease;
}
/* Variante compacta — mesmo cartão, mas largura pelo conteúdo em vez de
   esticar até 398px (usada pelo modal de Configurações, que hoje só tem
   1-2 ícones — não faz sentido ocupar a largura toda da tela). */
.menu-modal-sm {
  width: auto;
  max-width: none;
  padding: 18px 20px 16px;
  position: relative;
}
.menu-overlay.open .menu-modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.menu-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.menu-modal-title {
  color: var(--title);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  max-width: 260px;
}
.menu-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 18px;
}
/* Variante sem .menu-modal-head ao lado (modal sem título, tipo
   Configurações) — flutua no canto, o grid de itens ganha espaço no
   lugar do cabeçalho. */
.menu-modal-close-solo {
  position: absolute;
  top: 14px;
  right: 14px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 8px;
  margin-bottom: 8px;
}
/* Variante compacta — linha só (flex, não grid), tantos itens quanto
   existirem, sem forçar 3 colunas nem sobrar espaço vazio. */
.menu-grid-compact {
  display: flex;
  gap: 20px;
  margin: 22px 2px 2px;
}
/* .nav-icon-btn "aposentado" (ex.: localização já resolvida) migra pra
   cá — passa a se comportar visualmente como um .menu-item: ícone em
   cima, rótulo embaixo (o <span>, escondido por padrão, reaparece só
   aqui). A cor de ativo continua vindo de .nav-icon-btn.is-active. */
.menu-grid-compact .nav-icon-btn {
  flex-direction: column;
  gap: 8px;
  font-size: 26px;
  width: 68px;
  padding: 8px 4px;
}
.menu-grid-compact .nav-icon-btn span {
  display: block;
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
}
.menu-grid-compact .menu-item {
  width: 68px;
  padding: 8px 4px;
}
.menu-grid-compact .menu-item i {
  font-size: 26px;
}
.menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  position: relative;
}
.menu-item i {
  font-size: 22px;
  color: var(--link);
}
/* Contador de notificações não lidas — .menu-item é coluna (ícone em
   cima, texto embaixo), então o badge fica ancorado no canto do ícone
   em vez de inline com o texto. */
.menu-item-badge {
  position: absolute;
  top: 2px;
  right: 18px;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  padding: 2px 5px;
  min-width: 14px;
}
/* Dot discreto (sem número) — usado no item "Ativar notificações" pra
   ecoar visualmente o mesmo pontinho do ícone do dashboard, deixando
   claro que os dois são sobre a mesma coisa. */
.menu-item-dot {
  position: absolute;
  top: 2px;
  right: 18px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--box);
  animation: menu-item-dot-pulse 1.8s ease-in-out infinite;
}
@keyframes menu-item-dot-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.85);
  }
}

/* Popup de consentimento de notificação — clona a estrutura de
   #settingsModal (.menu-modal-sm), só troca o conteúdo. */
.notif-consent-modal {
  text-align: center;
}
.notif-consent-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success-text);
  font-size: 26px;
  margin: 0 auto 14px;
}
.notif-consent-title {
  color: var(--title);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}
.notif-consent-text {
  color: var(--text);
  font-size: 12.5px;
  line-height: 1.5;
  margin-bottom: 4px;
}
.menu-item span {
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
}

.menu-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 0 10px;
  margin-top: 6px;
  border-top: 1px solid var(--line);
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 700;
}
.menu-logout i {
  font-size: 16px;
}

.nav-icon-btn.is-active {
  color: var(--accent);
}
/* Engrenagem do modal de Configurações — gira ao abrir (fica --accent
   junto, herdado de .nav-icon-btn.is-active acima) e volta suavemente
   ao fechar (mesma transição, sentido invertido). */
#settingsBtn i {
  display: block;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
#settingsBtn.is-active i {
  transform: rotate(180deg);
}
/* Mesmo giro do #settingsBtn — #dashBtn abre o mesmo tipo de modal
   (#menuOverlay), então ganha o mesmo feedback ao abrir/fechar. */
#dashBtn i {
  display: block;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
#dashBtn.is-active i {
  transform: rotate(180deg);
}
.auth-server-error {
  margin: 4px 4px 18px;
}

/* ============================================================
   EXPLORE HERO + FOOTER — compartilhado por barbeiros.php e
   barbearias.php (era CSS inline idêntico nos dois arquivos).
   ============================================================ */
.explore-hero {
  padding: 26px 16px 0;
}
.explore-eyebrow {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-soft);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 10px;
}
.explore-eyebrow i {
  font-size: 14px;
}
.explore-title {
  color: var(--title);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 8px;
}
.explore-subtitle {
  color: var(--text);
  font-size: 12.5px;
  line-height: 1.5;
  margin-bottom: 18px;
}

.section-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}
.section-row .section-title {
  margin-bottom: 0;
}
.section-row .count {
  color: var(--text);
  font-size: 11.5px;
  font-weight: 600;
}

.app-footer {
  padding: 40px 16px 28px;
  margin-top: 10px;
  border-top: 1px solid var(--line);
}
.footer-brand .brand-mark {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--title);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}
.footer-brand .brand-logo-footer {
  width: auto;
  height: 26px;
  border-radius: 6px;
}
.footer-brand p {
  color: var(--text);
  font-size: 11.5px;
  line-height: 1.6;
  max-width: 320px;
}
.footer-cols {
  display: flex;
  gap: 28px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.footer-col h5 {
  color: var(--title);
  font-size: 12px;
  margin-bottom: 10px;
}
.footer-col a {
  display: block;
  color: var(--text);
  font-size: 12px;
  margin-bottom: 8px;
}
.footer-col a:hover {
  color: var(--accent);
}
.footer-bottom {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.footer-bottom p {
  color: var(--text);
  font-size: 10.5px;
  opacity: 0.8;
}

/* ============================================================
   PERFIL (loja/barbeiro) — compartilhado por shops/index.php e
   barbers/index.php (era CSS inline quase idêntico nos dois
   arquivos). Um punhado de classes só existe num dos dois lados
   (.team-grid/.gallery-grid só em loja; .cover-actions/.shop-link-chip/
   .home-service-badge só em barbeiro) — ficam aqui mesmo, inofensivas
   na página que não usa. A ÚNICA diferença real de layout entre os
   dois (.identity/.identity-avatar — barbeiro sobrepõe o avatar na
   capa, loja põe lado a lado) fica num resíduo pequeno de <style>
   dentro de barbers/index.php, não dá pra unificar sem mudar o HTML.
   ============================================================ */
/* page-cover = shops/index.php e barbers/index.php (têm foto de capa
   colada no topo) — só nessas duas o navbar entra DIREITO no estado
   "rolado" (fundo sólido + 62px), pra não ficar transparente flutuando
   sobre a capa, e o <main> sobe mais perto do navbar (só nessas duas;
   as outras páginas da área de conta do cliente — /panel, /perfil,
   /security, /preferences — não têm capa e continuam com o
   comportamento padrão de navbar transparente que ganha fundo só ao
   rolar). */
body.page-cover #navbar {
  height: var(--nav-h-scrolled);
  background: var(--bg);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
body.page-cover main {
  padding-top: calc(var(--nav-h) + -22px);
}

.profile-body {
  padding: 0 16px 24px;
}

.cover-wrap {
  position: relative;
  margin: 0 -16px 0;
  height: 190px;
  overflow: hidden;
  background: var(--box);
}
.cover-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cover-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 10, 5, 0.05) 40%,
    var(--bg) 100%
  );
}
.cover-actions {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  gap: 8px;
  z-index: 2;
}
.cover-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 10, 5, 0.45);
  color: var(--title);
  font-size: 17px;
  backdrop-filter: blur(4px);
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
.cover-icon-btn:hover {
  background: var(--accent);
}
.cover-icon-btn.favorited {
  color: var(--accent);
}
.cover-back-btn {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 10, 5, 0.45);
  color: var(--title);
  font-size: 18px;
}

.identity {
  margin-top: 18px;
  position: relative;
  z-index: 1;
}
.identity-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.identity-avatar {
  flex-shrink: 0;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 3px solid var(--bg);
  object-fit: cover;
  background: var(--box);
}
.identity-info {
  flex: 1;
  min-width: 0;
}
.identity-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  align-self: flex-start;
}
.identity-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.identity-name-row h1 {
  color: var(--title);
  font-size: 19px;
  font-weight: 700;
}
.identity-name-row i {
  color: var(--verified);
  font-size: 16px;
}
.identity-name-row .super-badge i {
  color: var(--accent-soft);
}
.identity-tag {
  color: var(--text);
  font-size: 12.5px;
  margin-top: 4px;
}
.identity-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.identity-location {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text);
  font-size: 12.5px;
  margin-top: 8px;
}
.identity-location i {
  color: var(--accent-soft);
  font-size: 14px;
  flex-shrink: 0;
}
.identity-location span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.shop-link-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  background: var(--box);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 600;
}
.shop-link-chip:hover {
  color: var(--title);
}
.shop-link-chip i {
  color: var(--accent-soft);
  font-size: 13px;
}
/* Sheet de agendamento do barbeiro (detailBodyHTML) - .shop-link-chip é
   inline-flex (encolhe pro tamanho do conteúdo), então margin:auto sozinho
   não centraliza; no perfil completo (barbers/index.php) ele fica dentro
   de um fluxo já alinhado à esquerda, então a classe base fica como está -
   só aqui no sheet, onde tudo em volta (.sheet-full-profile) é centralizado,
   precisa desse wrapper flex pra centralizar sem mexer na classe base. */
.shop-link-chip-wrap {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 14px;
}
.shop-link-chip-wrap .shop-link-chip {
  margin-top: 0;
}

.home-service-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--success-bg);
  color: var(--success-text);
  font-size: 11.5px;
  font-weight: 600;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
  gap: 8px;
  margin-top: 18px;
}
.qa-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: var(--box);
  border-radius: var(--radius-md);
  padding: 12px 6px;
  color: var(--title);
  font-size: 10.5px;
  font-weight: 600;
  transition: filter 0.2s ease;
}
.qa-btn:hover {
  filter: brightness(1.12);
}
.qa-btn i {
  font-size: 19px;
  color: var(--accent-soft);
}

.profile-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-top: 22px;
  padding-bottom: 2px;
  scrollbar-width: none;
}
.profile-tabs::-webkit-scrollbar {
  display: none;
}
.profile-tab {
  flex-shrink: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--link);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
.profile-tab.is-active {
  background: var(--accent);
  color: var(--on-accent);
}

.profile-panel {
  display: none;
  margin-top: 18px;
}
.profile-panel.is-active {
  display: block;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
}
.team-card img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--box);
}
.team-card .n {
  color: var(--title);
  font-size: 12px;
  font-weight: 700;
}
.team-card .role {
  color: var(--text);
  font-size: 10.5px;
}
.team-card .r {
  display: flex;
  align-items: center;
  gap: 3px;
  color: var(--title);
  font-size: 10.5px;
}
.team-card .r i {
  color: var(--accent-soft);
  font-size: 11px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.gallery-grid img {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--box);
}

.rating-summary {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}
.rating-big {
  color: var(--title);
  font-size: 40px;
  font-weight: 700;
}
.rating-stars-count .stars {
  color: var(--accent-soft);
  font-size: 15px;
  margin-bottom: 4px;
}
.rating-stars-count .count {
  color: var(--text);
  font-size: 12px;
}

.review-card {
  background: var(--box);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 10px;
}
.review-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--box);
}
.review-head-info {
  flex: 1;
  min-width: 0;
}
.review-name {
  color: var(--title);
  font-size: 13px;
  font-weight: 700;
}
.review-rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.review-rating-num {
  color: var(--title);
  font-size: 12px;
  font-weight: 700;
}
.review-stars {
  color: var(--accent-soft);
  font-size: 12px;
}
.review-date {
  color: var(--text);
  font-size: 10.5px;
  margin-top: 2px;
}
.review-text {
  color: var(--text);
  font-size: 12.5px;
  margin-top: 8px;
  line-height: 1.5;
}
.review-reply {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-top: 10px;
}
.review-reply-label {
  color: var(--accent-soft);
  font-size: 10.5px;
  font-weight: 700;
  margin-bottom: 4px;
}
.review-reply-text {
  color: var(--text);
  font-size: 12px;
}

/* Lista de /notifications */
.notif-item {
  display: flex;
  gap: 12px;
  background: var(--box);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 10px;
}
.notif-item.is-unread {
  border: none;
}
.notif-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  color: var(--accent-soft);
  font-size: 19px;
}
.notif-item-icon.is-cancelled {
  background: var(--warning-bg);
  color: var(--warning-text);
}
.notif-item-icon.is-pending {
  background: var(--bg-elevated);
  color: var(--text);
}
.notif-item-body {
  flex: 1;
  min-width: 0;
}
.notif-item-title {
  color: var(--title);
  font-size: 13px;
  font-weight: 700;
}
.notif-item-text {
  color: var(--text);
  font-size: 12px;
  margin-top: 3px;
  line-height: 1.4;
}
.notif-item-date {
  color: var(--text-faint);
  font-size: 10.5px;
  margin-top: 6px;
}

.about-text {
  color: var(--text);
  font-size: 13px;
  line-height: 1.6;
}
.hours-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
}
.hours-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
}
.hours-row:last-child {
  border-bottom: none;
}
.hours-row .day {
  color: var(--text);
}
.hours-row .day.today {
  color: var(--title);
  font-weight: 700;
}
.hours-row .hrs {
  color: var(--title);
  font-weight: 600;
}
.hours-row .hrs.off {
  color: var(--warning-text);
}

.map-card-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 160px;
  background: var(--box);
  margin-top: 12px;
}
.map-card-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.map-card-link {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  margin-top: 10px;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 600;
}

/* ---------------- Breadcrumb (topo das páginas de conta) ---------------- */
.acc-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}
.acc-breadcrumb-link {
  color: var(--text);
}
.acc-breadcrumb-link:hover {
  color: var(--accent);
}
.acc-breadcrumb-sep {
  color: var(--text-faint);
}
.acc-breadcrumb-current {
  color: var(--accent);
}

.booking-bar {
  position: relative;
  width: 100%;
  z-index: 90;
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
}
.booking-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.booking-bar-info .l1 {
  color: var(--text);
  font-size: 10.5px;
}
.booking-bar-info .l2 {
  color: var(--title);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}
.booking-bar-info .l2 i {
  color: var(--success-text);
  font-size: 15px;
}

/* Aviso inline reaproveitando o padrão do sheet (openBookingNoticeHTML) */
#profileBookingNotice:empty {
  display: none;
}

/* ============================================================
   CONTA DO CLIENTE — compartilhado por user/perfil.php,
   user/reviews.php e user/favorites.php (era CSS inline idêntico
   nos três). .empty-note também é usado em shops/index.php e
   barbers/index.php (seção Perfil, acima).
   ============================================================ */
/* Escondido só nessas 3 páginas de conta (tinham essa regra idêntica
   inline antes da migração) — em TODO o resto do site (index, shops,
   barbers, barbeiros, barbearias) o #navbarLocation precisa continuar
   visível: é ele que mostra "Defina sua localização" ou a cidade/UF
   depois de resolvida, pro cliente logado ou não. */
body.page-perfil #navbar .navbar-location,
body.page-reviews #navbar .navbar-location,
body.page-favorites #navbar .navbar-location,
body.page-panel #navbar .navbar-location,
body.page-account #navbar .navbar-location,
body.page-security #navbar .navbar-location,
body.page-preferences #navbar .navbar-location {
  display: none !important;
}
.avatar-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  color: var(--accent-soft);
  font-size: 16px;
}
.empty-note {
  color: var(--text);
  font-size: 12.5px;
}

/* ============================================================
   MINHA CONTA — AGENDAMENTOS (user/perfil.php)
   ============================================================ */
.perfil-hello {
  color: var(--title);
  font-size: 20px;
  font-weight: 600;
}

/* Estatísticas rápidas do dashboard (/panel) — agendamentos, cashback,
   saldo. Cashback/saldo ainda são só front (R$ 0,00 fixo, sem tabela
   no banco) — o card já fica no lugar certo pro dia que existir. */
.perfil-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.stat-card {
  background: var(--box);
  border-radius: var(--radius-md);
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
}
.stat-card.is-soon {
  position: relative;
  opacity: 0.6;
}
.stat-card-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(212, 81, 36, 0.14);
  padding: 2px 6px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.stat-card i {
  font-size: 19px;
  color: var(--accent-soft);
}
.stat-card .stat-value {
  color: var(--title);
  font-size: 14px;
  font-weight: 700;
}
.stat-card .stat-label {
  color: var(--text);
  font-size: 9.5px;
  font-weight: 600;
}

/* Cartões da área de conta (/perfil "Editar conta", /security,
   /preferences) — mesmo box/radius de .stat-card/.oa-card, só com
   layout de formulário dentro. */
.account-section {
  background: var(--box);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 14px;
}
.account-section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--title);
  margin-bottom: 12px;
}
.account-avatar-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.account-avatar-preview {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-elevated);
  flex-shrink: 0;
}
.account-avatar-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.account-avatar-actions .btn,
.account-avatar-actions .btn-outline {
  padding: 8px 16px;
  font-size: 11.5px;
}
.account-field {
  margin-bottom: 12px;
}
.account-field label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.account-field input {
  width: 100%;
  background: var(--bg-elevated);
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--title);
  font-size: 13.5px;
  font-family: inherit;
}
.account-field input::placeholder {
  color: var(--text-faint);
}
.account-field input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

/* Toggles de /preferences — não existia nenhum switch no projeto,
   componente novo simples (checkbox real por baixo, pra
   acessibilidade, só escondido e substituído visualmente). */
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.toggle-row:last-child {
  border-bottom: none;
}
.toggle-row-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--title);
}
.toggle-row-hint {
  display: block;
  font-size: 11px;
  color: var(--text);
  margin-top: 2px;
}
.toggle-switch {
  position: relative;
  width: 44px;
  height: 26px;
  flex-shrink: 0;
}
.toggle-switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}
.toggle-switch-track {
  position: absolute;
  inset: 0;
  background: var(--bg-elevated);
  border-radius: var(--radius-full);
  transition: background-color 0.2s ease;
}
.toggle-switch-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--text-faint);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}
.toggle-switch input:checked ~ .toggle-switch-track {
  background: var(--accent);
}
.toggle-switch input:checked ~ .toggle-switch-thumb {
  transform: translateX(18px);
  background: var(--on-accent);
}

.oa-card {
  background: var(--box);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}
.oa-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.oa-label {
  color: var(--text);
  font-size: 11.5px;
  font-weight: 600;
}
.oa-body {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.oa-avatar {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
}
.oa-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.oa-content .shop-name {
  font-size: 15px;
}
.oa-service-name {
  color: var(--text);
  font-size: 12.5px;
  font-weight: 600;
}
.oa-meta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.oa-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text);
  font-weight: 600;
}
.oa-meta-item i {
  color: var(--text);
  font-size: 14px;
}
.oa-address {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--warning-text);
}
.oa-address i {
  font-size: 14px;
  flex-shrink: 0;
}

.oa-actions {
  display: flex;
  gap: 10px;
}
.oa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}
.oa-btn i {
  font-size: 14px;
}
.oa-btn-cancel {
  background: var(--warning-bg);
  color: var(--warning-text);
}
.oa-btn-details {
  background: var(--accent);
  color: var(--on-accent);
}
.oa-btn-confirm {
  align-self: flex-start;
  padding: 10px 18px;
}

.history-chips {
  display: flex;
  gap: 8px;
  margin: 14px 0 16px;
  overflow-x: auto;
  scrollbar-width: none;
}
.history-chips::-webkit-scrollbar {
  display: none;
}
.h-chip {
  flex-shrink: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--link);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
.h-chip.is-active {
  background: var(--accent);
  color: var(--on-accent);
}

.hist-item {
  background: var(--box);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}
.hist-body {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.hist-avatar {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.hist-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.hist-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.hist-name {
  color: var(--title);
  font-size: 13.5px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.hist-name i {
  color: var(--verified);
  font-size: 13px;
  flex-shrink: 0;
}
.hist-service {
  color: var(--text);
  font-size: 11.5px;
  font-weight: 600;
}
.hist-datetime {
  color: var(--text);
  font-size: 11px;
}
.hist-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}
.hist-price {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}
.hist-consult {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--warning-text);
  font-size: 10.5px;
  font-weight: 600;
}
.hist-actions .btn {
  width: auto;
  padding: 8px 14px;
  font-size: 11.5px;
}
.hist-more {
  display: block;
  width: 100%;
  text-align: center;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 700;
  padding: 10px 0;
}

/* ============================================================
   AVALIAÇÕES (user/reviews.php)
   ============================================================ */
.rv-tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 16px;
  overflow-x: auto;
  scrollbar-width: none;
}
.rv-tabs::-webkit-scrollbar {
  display: none;
}
.rv-tab {
  flex-shrink: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--link);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
.rv-tab.is-active {
  background: var(--accent);
  color: var(--on-accent);
}

.rv-panel {
  display: none;
}
.rv-panel.is-active {
  display: block;
}
.rv-reply {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-top: 2px;
}
.rv-reply-label {
  color: var(--accent-soft);
  font-size: 10.5px;
  font-weight: 700;
  margin-bottom: 4px;
}
.rv-reply-text {
  color: var(--text);
  font-size: 12px;
}
.rv-rejection {
  background: var(--warning-bg);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-top: 2px;
}
.rv-rejection-label {
  color: var(--warning-text);
  font-size: 10.5px;
  font-weight: 700;
  margin-bottom: 4px;
}
.rv-rejection-text {
  color: var(--warning-text);
  font-size: 12px;
}
.rv-item {
  background: var(--box);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}
.rv-body {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.rv-avatar {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.rv-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.rv-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.rv-name {
  color: var(--title);
  font-size: 13.5px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.rv-service {
  color: var(--text);
  font-size: 11.5px;
  font-weight: 600;
}
.rv-datetime {
  color: var(--text);
  font-size: 11px;
}
.rv-stars {
  display: flex;
  align-items: center;
  gap: 3px;
}
.rv-stars i {
  color: var(--accent-soft);
  font-size: 13px;
}
.rv-comment {
  color: var(--text);
  font-size: 12px;
  line-height: 1.5;
}
.rv-actions .btn {
  width: auto;
  padding: 8px 14px;
  font-size: 11.5px;
}

/* Formulário de avaliação (dentro do painel "info" do sheet) */
.review-form {
  width: 100%;
  text-align: left;
}
.review-form .success-title,
.review-form .success-text {
  text-align: center;
}
.review-stars-input {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 4px 0 20px;
}
.review-star-btn {
  font-size: 30px;
  color: var(--line);
  transition: color 0.15s ease;
}
.review-star-btn i {
  display: block;
}
.review-star-btn.is-filled {
  color: var(--accent-soft);
}
.review-textarea {
  width: 100%;
  background: var(--bg-elevated);
  border: 1.5px solid transparent;
  border-radius: var(--radius-md);
  color: var(--title);
  font-family: inherit;
  font-size: 12.5px;
  padding: 12px 14px;
  min-height: 90px;
  resize: vertical;
  margin-bottom: 16px;
  transition: border-color 0.2s ease;
}
.review-textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
}
.review-textarea::placeholder {
  color: var(--text-faint);
}

/* ============================================================
   FAVORITOS (user/favorites.php)
   ============================================================ */
.fv-tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 16px;
  overflow-x: auto;
  scrollbar-width: none;
}
.fv-tabs::-webkit-scrollbar {
  display: none;
}
.fv-tab {
  flex-shrink: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--link);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
.fv-tab.is-active {
  background: var(--accent);
  color: var(--on-accent);
}

.fv-panel {
  display: none;
}
.fv-panel.is-active {
  display: block;
}

.fv-item {
  background: var(--box);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}
.fv-body {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.fv-avatar {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.fv-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.fv-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.fv-name {
  color: var(--title);
  font-size: 13.5px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.fv-unfav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 17px;
  border-radius: 50%;
  transition:
    background-color 0.2s ease,
    transform 0.15s ease;
}
/* rgba(212,81,36,...) é o RGB exato de --accent — não precisa de var,
   --accent não muda entre temas, então o hover fica seguro nos dois. */
.fv-unfav-btn:hover {
  background: rgba(212, 81, 36, 0.12);
}
.fv-unfav-btn:active {
  transform: scale(0.92);
}
.fv-unfav-btn[disabled] {
  opacity: 0.4;
  pointer-events: none;
}
.fv-actions {
  margin-top: 2px;
}
.fv-actions .btn {
  width: auto;
  padding: 8px 14px;
  font-size: 11.5px;
}
