:root {
  --primary: #6bc14c;
  --primary-dark: #54a038;
  --primary-light: #e8f5e2;
  --secondary: #4a9e6b;
  --success: #10B981;
  --danger: #EF4444;
  --warning: #F59E0B;
  --bg: #f4f9f1;
  --white: #FFFFFF;
  --text: #1F2937;
  --text-light: #6B7280;
  --border: #E5E7EB;
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --radius: 14px;
  --radius-sm: 8px;
  --transition: all 0.2s ease;
}

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }

/* ─── NAVBAR ─── */
.navbar {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 200;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo span { color: var(--secondary); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  color: var(--text-light);
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a:hover { color: var(--primary); background: var(--primary-light); }
.nav-links .active-link { color: var(--primary); }
.cart-link { position: relative; }
.cart-count {
  position: absolute;
  top: 2px; right: 2px;
  background: var(--secondary);
  color: white;
  font-size: 10px;
  font-weight: 700;
  width: 17px; height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}
.cart-count.visible { display: flex; }
.nav-user {
  display: flex;
  align-items: center;
  gap: 8px;
}
.user-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

/* ─── BOTÕES ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 22px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover:not(:disabled) { background: var(--primary-dark); box-shadow: 0 4px 12px rgba(107, 193, 76, 0.4); transform: translateY(-1px); }
.btn-secondary { background: var(--white); color: var(--text); border: 1.5px solid var(--border); }
.btn-secondary:hover { background: var(--bg); }
.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { background: #DC2626; }
.btn-success { background: var(--success); color: white; }
.btn-success:hover { background: #059669; }
.btn-ghost { background: transparent; color: var(--text-light); }
.btn-ghost:hover { background: var(--bg); color: var(--text); }
.btn-sm { padding: 6px 14px; font-size: 0.8rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-full { width: 100%; }
.btn-icon { padding: 8px; border-radius: var(--radius-sm); }

/* ─── CONTAINER ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 32px 24px; }

/* ─── HERO ─── */
.hero {
  background: url('/hero-bg.jpg') center center / cover no-repeat;
  color: white;
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.45) 100%);
}
.hero > * { position: relative; z-index: 1; }
.hero h1 { font-size: 2.6rem; font-weight: 800; margin-bottom: 12px; line-height: 1.2; text-shadow: 0 2px 12px rgba(0,0,0,0.4); }
.hero p { font-size: 1.1rem; opacity: 0.95; max-width: 480px; margin: 0 auto 28px; text-shadow: 0 1px 6px rgba(0,0,0,0.4); }

/* ─── FILTROS ─── */
/* ─── FILTROS ─── */
.shop-filters {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow);
}
.search-wrap { position: relative; }
.search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-light); font-size: 1rem; pointer-events: none; }
.search-input {
  width: 100%;
  padding: 12px 40px 12px 42px;
  border: 2px solid var(--border);
  border-radius: 50px;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
  background: var(--bg);
}
.search-input:focus { border-color: var(--primary); background: white; }
.search-clear {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  background: var(--border); border: none; border-radius: 50%; width: 22px; height: 22px;
  cursor: pointer; font-size: .75rem; display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-light); transition: var(--transition);
}
.search-clear:hover { background: var(--text-light); color: white; }

.shop-filters-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.categories-scroll-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  flex: 1;
  padding: 2px 0;
}
.filter-chips::-webkit-scrollbar { display: none; }
.cat-arrow {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: white;
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: var(--transition);
  padding: 0;
}
.cat-arrow:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.cat-arrow-hidden { opacity: 0; pointer-events: none; }

.chip {
  padding: 7px 16px;
  border: 2px solid var(--border);
  border-radius: 50px;
  background: white;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.82rem;
  transition: var(--transition);
  color: var(--text-light);
  white-space: nowrap;
  flex-shrink: 0;
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.active { background: var(--primary); color: white; border-color: var(--primary); }

.shop-filters-right {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.filter-select {
  padding: 8px 14px;
  border: 2px solid var(--border);
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  background: white;
  cursor: pointer;
  outline: none;
  color: var(--text);
  transition: var(--transition);
}
.filter-select:focus { border-color: var(--primary); }
.price-range-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}
.price-input {
  width: 80px;
  padding: 8px 10px;
  border: 2px solid var(--border);
  border-radius: 50px;
  font-size: .85rem;
  text-align: center;
  outline: none;
  transition: var(--transition);
  background: white;
}
.price-input:focus { border-color: var(--primary); }
.price-sep { color: var(--text-light); font-weight: 600; }

.shop-filters-status {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-height: 24px;
}
.results-count { font-size: .82rem; color: var(--text-light); font-weight: 500; }
.active-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 50px;
  padding: 3px 10px 3px 12px;
  font-size: .78rem;
  font-weight: 600;
}
.active-filter-tag button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary-dark);
  font-size: .8rem;
  padding: 0;
  line-height: 1;
}
.clear-all-btn {
  background: none;
  border: none;
  color: var(--danger);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.clear-all-btn:hover { background: #fee2e2; }

/* ─── PRODUTOS ─── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 22px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--bg);
}
.product-img-ph {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--primary-light), #DDD6FE);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}
.product-body { padding: 16px; }
.product-cat {
  font-size: 0.72rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.product-name { font-size: 1rem; font-weight: 700; margin: 4px 0 6px; }
.product-desc {
  font-size: 0.83rem;
  color: var(--text-light);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-size: 1.25rem; font-weight: 800; color: var(--primary); }
.stock-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 50px;
}
.stock-ok { background: #D1FAE5; color: #065F46; }
.stock-low { background: #FEF3C7; color: #92400E; }
.stock-out { background: #FEE2E2; color: #991B1B; }

/* ─── FORMULÁRIOS ─── */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  transition: var(--transition);
  background: white;
  color: var(--text);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 80px; font-family: inherit; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { font-size: 0.78rem; color: var(--text-light); margin-top: 4px; }

/* ─── AUTH ─── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, #6bc14c71 100%);
  padding: 24px;
}
.auth-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}
.auth-brand { text-align: center; margin-bottom: 28px; }
.auth-brand h1 { font-size: 2.2rem; font-weight: 800; color: var(--primary); }
.auth-brand p { color: var(--text-light); font-size: 0.9rem; margin-top: 4px; }
.auth-title { font-size: 1.3rem; font-weight: 700; text-align: center; margin-bottom: 24px; }
.auth-footer { text-align: center; margin-top: 20px; font-size: 0.88rem; color: var(--text-light); }
.auth-footer a { color: var(--primary); font-weight: 600; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--text-light); font-size: 0.85rem; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ─── ALERTAS ─── */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.alert-error { background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; }
.alert-success { background: #D1FAE5; color: #065F46; border: 1px solid #A7F3D0; }
.alert-info { background: #DBEAFE; color: #1E40AF; border: 1px solid #BFDBFE; }

/* ─── CARRINHO ─── */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.cart-items-card { background: white; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.cart-item:last-child { border-bottom: none; }
.cart-item:hover { background: var(--bg); }
.cart-item-img {
  width: 78px; height: 78px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--bg);
  flex-shrink: 0;
}
.cart-item-img-ph {
  width: 78px; height: 78px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 700; font-size: 0.95rem; }
.cart-item-cat { font-size: 0.78rem; color: var(--text-light); margin-top: 2px; }
.cart-item-price { color: var(--primary); font-weight: 700; font-size: 1rem; margin-top: 6px; }
.qty-control { display: flex; align-items: center; gap: 10px; }
.qty-btn {
  width: 30px; height: 30px;
  border: 2px solid var(--border);
  border-radius: 50%;
  background: white;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: var(--transition);
  line-height: 1;
}
.qty-btn:hover { border-color: var(--primary); color: var(--primary); }
.qty-num { font-weight: 700; min-width: 20px; text-align: center; }
.cart-summary {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  position: sticky;
  top: 84px;
}
.summary-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 18px; }
.summary-row { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 10px; }
.summary-row.total { font-size: 1.2rem; font-weight: 800; color: var(--primary); border-top: 2px solid var(--border); padding-top: 12px; margin-top: 6px; }
.summary-label { color: var(--text-light); }

/* ─── CHECKOUT ─── */
.checkout-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.section-card { background: white; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; margin-bottom: 20px; }
.section-card-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.payment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.pay-option {
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 8px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
}
.pay-option:hover { border-color: var(--primary); color: var(--primary); }
.pay-option.selected { border-color: var(--primary); background: var(--primary-light); color: var(--primary); }
.pay-icon { font-size: 1.8rem; margin-bottom: 6px; }
.card-visual {
  background: linear-gradient(135deg, var(--primary), #A78BFA);
  color: white;
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 20px;
  font-family: 'Courier New', monospace;
}
.card-visual .card-num { font-size: 1.1rem; letter-spacing: 3px; margin: 16px 0; }
.card-visual .card-row { display: flex; justify-content: space-between; font-size: 0.8rem; opacity: 0.85; }
.card-form { display: none; }
.card-form.show { display: block; }
.mbway-form { display: none; }
.mbway-form.show { display: block; }

/* ─── ENCOMENDAS ─── */
.order-card { background: white; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 16px; overflow: hidden; }
.order-header {
  padding: 16px 22px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 10px;
}
.order-id { font-weight: 700; color: var(--primary); }
.order-date { font-size: 0.83rem; color: var(--text-light); }
.order-body { padding: 18px 22px; }
.order-item-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.9rem; border-bottom: 1px solid var(--border); }
.order-item-row:last-child { border-bottom: none; }
.order-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 1rem; margin-top: 12px; padding-top: 10px; border-top: 2px solid var(--border); }

/* ─── STATUS BADGES ─── */
.badge {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}
.badge-pendente { background: #FEF3C7; color: #92400E; }
.badge-a-processar { background: #DBEAFE; color: #1E40AF; }
.badge-enviado { background: #D1FAE5; color: #065F46; }
.badge-entregue { background: #E0E7FF; color: #3730A3; }
.badge-cancelado { background: #FEE2E2; color: #991B1B; }

/* ─── ADMIN ─── */
.admin-navbar {
  background: linear-gradient(135deg, var(--primary), #6bc14c71);
  color: white;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 200;
}
.admin-navbar .logo { color: white; font-size: 1.4rem; }
.admin-layout { display: grid; grid-template-columns: 220px 1fr; min-height: calc(100vh - 64px); }
.admin-sidebar { background: white; box-shadow: 2px 0 8px rgba(0,0,0,0.05); padding: 20px 0; }
.sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: var(--transition);
}
.sidebar-item:hover { color: var(--primary); background: var(--primary-light); }
.sidebar-item.active { color: var(--primary); background: var(--primary-light); border-left-color: var(--primary); }
.sidebar-icon { font-size: 1.1rem; }
.sidebar-item { position: relative; }
.notif-badge {
  display: none;
  position: absolute;
  top: 10px; right: 14px;
  background: var(--danger);
  color: white;
  font-size: 0.68rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 50px;
  padding: 0 5px;
  align-items: center;
  justify-content: center;
  line-height: 1;
  animation: pulse-badge 2s infinite;
}
.notif-badge.visible { display: flex; }
@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
.admin-main { padding: 30px; background: var(--bg); }
.admin-section { display: none; }
.admin-section.active { display: block; }

/* ─── STATS CARDS ─── */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; margin-bottom: 28px; }
.stat-card { background: white; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.stat-icon { font-size: 2rem; margin-bottom: 8px; }
.stat-label { font-size: 0.78rem; color: var(--text-light); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.stat-value { font-size: 2rem; font-weight: 800; color: var(--primary); margin-top: 4px; }

/* ─── TABELAS ─── */
.table-wrap { background: white; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.table-header { padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); }
.table-title { font-weight: 700; font-size: 1rem; }
table { width: 100%; border-collapse: collapse; }
th {
  padding: 12px 18px;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--bg);
}
td { padding: 13px 18px; border-top: 1px solid var(--border); font-size: 0.88rem; vertical-align: middle; }
tr:hover td { background: rgba(124,58,237,0.02); }
.table-img { width: 40px; height: 40px; object-fit: cover; border-radius: 6px; background: var(--bg); }

/* ─── MODAL ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: var(--transition);
}
.modal-overlay.open .modal { transform: scale(1); }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.modal-title { font-size: 1.2rem; font-weight: 700; }
.modal-close { background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--text-light); padding: 4px; }
.modal-close:hover { color: var(--text); }

/* ─── TOASTS ─── */
#toasts {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast {
  background: var(--text);
  color: white;
  padding: 13px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-size: 0.88rem;
  font-weight: 600;
  max-width: 300px;
  animation: toastIn 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }
.toast.info { background: var(--primary); }
.toast.fadeout { animation: toastOut 0.3s ease forwards; }
@keyframes toastIn { from { transform: translateX(110%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes toastOut { to { transform: translateX(110%); opacity: 0; } }

/* ─── EMPTY STATE ─── */
.empty-state { text-align: center; padding: 64px 24px; color: var(--text-light); }
.empty-icon { font-size: 4rem; margin-bottom: 16px; }
.empty-state h3 { font-size: 1.2rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.empty-state p { font-size: 0.9rem; }

/* ─── UTILITÁRIOS ─── */
.loading { text-align: center; padding: 48px; color: var(--text-light); font-size: 0.9rem; }
.spinner { display: inline-block; width: 28px; height: 28px; border: 3px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.section-title { font-size: 1.4rem; font-weight: 800; margin-bottom: 22px; display: flex; align-items: center; justify-content: space-between; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-light); }
.fw-bold { font-weight: 700; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.justify-between { justify-content: space-between; }
.success-page { text-align: center; padding: 80px 24px; }
.success-icon { font-size: 5rem; margin-bottom: 20px; }

/* ─── ABOUT PAGE ─── */
.about-hero {
  background: linear-gradient(135deg, #1a3a1a 0%, #2d5a2d 50%, #4a7c4a 100%);
  color: white;
  padding: 96px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(107,193,76,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.about-hero-content { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.about-hero-tag {
  display: inline-block;
  background: rgba(107,193,76,0.25);
  border: 1px solid rgba(107,193,76,0.4);
  color: #a8e88a;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.about-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.about-hero p {
  font-size: 1.1rem;
  opacity: 0.88;
  line-height: 1.7;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 20px 0 12px;
}
.about-story-text h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text);
}
.about-story-text p {
  font-size: 0.97rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 14px;
}
.about-story-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-stat {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: var(--transition);
}
.about-stat:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.about-stat-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}
.about-stat-label { font-size: 0.78rem; color: var(--text-light); font-weight: 600; }

.about-section { padding: 48px 0 0; }
.about-section-header { text-align: center; margin-bottom: 36px; }
.about-section-header h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 8px; }
.about-section-header p { color: var(--text-light); font-size: 0.97rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: var(--transition);
}
.value-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.value-icon { font-size: 2.5rem; margin-bottom: 14px; }
.value-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.value-card p { font-size: 0.87rem; color: var(--text-light); line-height: 1.7; }

.services-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  border: 2px solid var(--border);
  transition: var(--transition);
}
.service-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-soon-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--warning);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.service-icon { font-size: 3rem; margin-bottom: 14px; }
.service-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.service-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.7; }

.social-section {
  margin: 56px 0 0;
  padding: 56px 24px;
  background: linear-gradient(135deg, #1a3a1a 0%, #2d5a2d 100%);
  border-radius: var(--radius);
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.social-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(107,193,76,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.social-section-inner { position: relative; z-index: 1; }
.social-header-icon { font-size: 2.5rem; margin-bottom: 12px; }
.social-section h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 10px; }
.social-section p { opacity: 0.85; max-width: 480px; margin: 0 auto 32px; line-height: 1.7; }
.social-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
  color: white;
}
.social-tiktok { background: #010101; border: 2px solid rgba(255,255,255,0.15); }
.social-tiktok:hover { background: #1a1a1a; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
.social-instagram { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); border: 2px solid transparent; }
.social-instagram:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(253,29,29,0.4); }

@media (max-width: 768px) {
  .about-hero h1 { font-size: 1.9rem; }
  .about-story-grid { grid-template-columns: 1fr; gap: 32px; }
  .values-grid { grid-template-columns: 1fr; }
  .services-preview-grid { grid-template-columns: 1fr; }
  .about-story-stats { grid-template-columns: 1fr 1fr; }
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--primary); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--border); }
.breadcrumb span:last-child { color: var(--text); font-weight: 600; }

/* ─── PRODUCT DETAIL ─── */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.product-detail-img-wrap {
  position: sticky;
  top: 88px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-md);
  aspect-ratio: 1 / 1;
}
.product-detail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-detail-img-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  background: linear-gradient(135deg, var(--primary-light), #d4edcf);
}
.product-detail-cat {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}
.product-detail-name {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text);
}
.product-detail-price-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.product-detail-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
}
.product-detail-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}
.product-detail-desc {
  font-size: 0.97rem;
  color: var(--text-light);
  line-height: 1.75;
  white-space: pre-line;
}
.product-detail-qty-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.product-detail-qty-label {
  font-weight: 600;
  font-size: 0.9rem;
}
.product-detail-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.detail-badge {
  font-size: 0.78rem;
  color: var(--text-light);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 5px 12px;
  font-weight: 500;
}
@media (max-width: 768px) {
  .product-detail-layout { grid-template-columns: 1fr; gap: 24px; }
  .product-detail-img-wrap { position: static; aspect-ratio: 4/3; }
  .product-detail-name { font-size: 1.5rem; }
  .product-detail-price { font-size: 1.8rem; }
}

/* ─── UPLOAD ZONE ─── */
#upload-zone:hover { border-color: var(--primary); background: var(--primary-light); }

/* ─── HAMBURGER ─── */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.2s;
  flex-shrink: 0;
}
.hamburger-btn:hover { background: var(--primary-light); }
.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .hamburger-btn { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border-top: 1px solid var(--border);
    z-index: 199;
    gap: 0;
  }
  .navbar.nav-open .nav-links { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    padding: 13px 24px;
    border-radius: 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-user { gap: 8px; }

  .cat-arrow { display: none; }
  .shop-filters-right { width: 100%; }
  .filter-select { flex: 1; }
  .price-range-wrap { flex: 1; justify-content: center; }
  .price-input { width: 70px; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .payment-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 1.8rem; }
  .nav-inner { padding: 0 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .payment-grid { grid-template-columns: 1fr; }
}

/* ─── WHATSAPP BUTTON ─── */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  cursor: pointer;
  z-index: 999;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), box-shadow 0.25s ease;
  animation: wa-entrance 0.5s 1s cubic-bezier(0.22,1,0.36,1) both;
}
.whatsapp-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
}
.whatsapp-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2.5px solid rgba(37,211,102,0.4);
  animation: wa-pulse 2.5s ease-out infinite;
}
.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  background: #1a1a1a;
  color: white;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%; right: -5px;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #1a1a1a;
}
.whatsapp-btn:hover .whatsapp-tooltip { opacity: 1; }
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}
@keyframes wa-entrance {
  from { transform: scale(0) rotate(-180deg); opacity: 0; }
  to   { transform: scale(1) rotate(0deg); opacity: 1; }
}

/* ─── FOOTER ─── */
.site-footer {
  background: linear-gradient(135deg, #1a3a1a 0%, #2d5a2d 100%);
  color: rgba(255,255,255,0.85);
  margin-top: 80px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
}
.footer-logo span { color: #a8e88a; }
.footer-brand p { font-size: 0.87rem; line-height: 1.7; opacity: 0.8; margin-bottom: 20px; max-width: 260px; }
.footer-social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
}
.footer-social-btn:hover { border-color: #a8e88a; color: #a8e88a; }
.footer-links h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #a8e88a;
  margin-bottom: 16px;
}
.footer-links a {
  display: block;
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  margin-bottom: 10px;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  opacity: 0.6;
  flex-wrap: wrap;
  gap: 8px;
}
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1/-1; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ─── REVIEWS ─── */
.reviews-section { margin-top: 56px; }
.reviews-section h2 { font-size: 1.4rem; font-weight: 800; margin-bottom: 6px; }
.reviews-divider { height: 1px; background: var(--border); margin: 20px 0 28px; }

.reviews-summary {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.reviews-big-score {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
}
.reviews-stars-row { display: flex; flex-direction: column; gap: 4px; }
.reviews-count { font-size: 0.82rem; color: var(--text-light); }

.stars { display: inline-flex; gap: 2px; }
.star { font-size: 1.1rem; color: #D1D5DB; }
.star.filled { color: #F59E0B; }
.star.half { color: #F59E0B; opacity: 0.5; }
.stars-sm .star { font-size: 0.85rem; }
.stars-lg .star { font-size: 1.4rem; }

.review-form-card {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 28px;
}
.review-form-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
.star-picker { display: flex; gap: 6px; margin-bottom: 16px; }
.star-pick {
  font-size: 2rem;
  cursor: pointer;
  color: #D1D5DB;
  transition: color 0.15s, transform 0.15s;
  line-height: 1;
}
.star-pick:hover, .star-pick.active { color: #F59E0B; transform: scale(1.15); }
.review-form-card textarea {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: inherit;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s;
}
.review-form-card textarea:focus { border-color: var(--primary); }

.review-card {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.review-card:last-child { border-bottom: none; }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.review-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.review-author { font-weight: 700; font-size: 0.92rem; }
.review-date { font-size: 0.78rem; color: var(--text-light); }
.review-comment { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; margin-top: 6px; }
.no-reviews { text-align: center; padding: 32px; color: var(--text-light); font-size: 0.9rem; }

/* Stars on product cards */
.product-stars { display: flex; align-items: center; gap: 4px; margin-bottom: 6px; }
.product-stars .star { font-size: 0.78rem; }
.product-stars .rating-count { font-size: 0.72rem; color: var(--text-light); }

/* ─── LOCALIZAÇÃO ─── */
.location-section {
  margin: 48px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.location-info {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.location-info h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 4px; }
.location-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.92rem;
  color: var(--text);
}
.location-detail-icon {
  width: 38px; height: 38px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.location-detail strong { display: block; font-size: 0.78rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.location-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 300px;
}
.location-map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }

/* Modalidade toggle nas marcações */
.modalidade-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0 28px; }
.modalidade-card {
  border: 2.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: white;
}
.modalidade-card:hover { border-color: var(--primary); }
.modalidade-card.selected { border-color: var(--primary); background: var(--primary-light); }
.modalidade-card .mod-icon { font-size: 2rem; margin-bottom: 8px; }
.modalidade-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.modalidade-card p { font-size: 0.78rem; color: var(--text-light); line-height: 1.5; }
.footer-address {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.83rem;
  opacity: 0.8;
  margin-top: 12px;
  line-height: 1.5;
}
.footer-address-icon { flex-shrink: 0; margin-top: 1px; }

@media (max-width: 768px) {
  .location-section { grid-template-columns: 1fr; }
  .modalidade-grid { grid-template-columns: 1fr; }
}

/* ─── BOOKINGS ─── */
.booking-page-wrap { max-width: 780px; margin: 0 auto; padding: 0 24px 60px; }
.booking-hero {
  text-align: center;
  padding: 56px 24px 36px;
}
.booking-hero h1 { font-size: 2.2rem; font-weight: 800; margin: 12px 0 10px; }
.booking-hero p { color: var(--text-light); max-width: 480px; margin: 0 auto; line-height: 1.7; }

.booking-steps-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0 auto 40px;
  max-width: 520px;
}
.bstep {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.bstep-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-light);
  background: white;
  transition: var(--transition);
}
.bstep-label { font-size: 0.72rem; color: var(--text-light); font-weight: 600; white-space: nowrap; }
.bstep.active .bstep-num { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.bstep.active .bstep-label { color: var(--primary); }
.bstep.done .bstep-num { border-color: var(--primary); background: var(--primary); color: white; }
.bstep.done .bstep-num::before { content: '✓'; }
.bstep.done .bstep-num { font-size: 0; }
.bstep.done .bstep-num::before { font-size: 0.9rem; }
.bstep-line { flex: 1; height: 2.5px; background: var(--border); min-width: 32px; margin: 0 4px; margin-bottom: 20px; transition: background 0.3s; }

.booking-content {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 40px;
}
.booking-step-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; }
.booking-step-sub { color: var(--text-light); font-size: 0.92rem; margin-bottom: 28px; }
.booking-back {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  margin-bottom: 20px;
  display: inline-block;
}
.booking-back:hover { text-decoration: underline; }
.booking-service-tag {
  display: inline-flex;
  align-items: center;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50px;
  padding: 5px 14px;
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 24px;
}
.booking-date-input {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}
.booking-date-input:focus { border-color: var(--primary); }

.booking-slots-label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 12px; }
.time-slots-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.time-slot-btn {
  padding: 10px 22px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: white;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text);
}
.time-slot-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.time-slot-btn.selected { background: var(--primary); color: white; border-color: var(--primary); }
.time-slot-btn.taken { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }
.booking-slots-empty {
  padding: 20px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

.service-cards-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.service-pick-card {
  border: 2.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: white;
  position: relative;
}
.service-pick-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.service-pick-card.selected { border-color: var(--primary); background: var(--primary-light); }
.spc-icon { font-size: 2.4rem; margin-bottom: 12px; }
.service-pick-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.service-pick-card p { font-size: 0.8rem; color: var(--text-light); line-height: 1.6; margin-bottom: 12px; }
.spc-duration { font-size: 0.75rem; color: var(--primary); font-weight: 700; background: var(--primary-light); border-radius: 50px; padding: 3px 10px; display: inline-block; }
.spc-price { font-size: 1.25rem; font-weight: 800; color: var(--primary); margin-top: 10px; }

.booking-summary-mini, .confirmed-details {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 24px;
  border: 1.5px solid var(--border);
}
.bsm-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border);
}
.bsm-row:last-child { border-bottom: none; }
.bsm-row span { color: var(--text-light); }

.booking-confirmed { text-align: center; padding: 20px 0; }
.confirmed-icon { font-size: 4rem; margin-bottom: 16px; }
.booking-confirmed h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 10px; }
.booking-confirmed p { color: var(--text-light); margin-bottom: 24px; }
.confirmed-details { max-width: 400px; margin: 0 auto 8px; text-align: left; }

.booking-content .form-group input,
.booking-content .form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition);
  font-family: inherit;
}
.booking-content .form-group input:focus,
.booking-content .form-group textarea:focus { border-color: var(--primary); }
.booking-content .form-group label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; }

@media (max-width: 640px) {
  .service-cards-grid { grid-template-columns: 1fr; }
  .booking-content { padding: 24px 20px; }
  .booking-steps-bar { gap: 0; }
  .bstep-label { display: none; }
}

/* ─── ANIMAÇÕES ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.93) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Entrada suave da página */
body { animation: fadeIn 0.4s ease both; }

/* Elementos com scroll reveal */
[data-anim] { opacity: 0; }
[data-anim].anim-in { animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both; }
[data-anim="scale"].anim-in { animation: scaleUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) both; }
[data-anim="fade"].anim-in { animation: fadeIn 0.6s ease both; }

/* Navbar com scroll */
.navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.navbar { transition: box-shadow 0.3s ease; }

/* Hover mais suave nos cards */
.product-card { transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s ease; }
.value-card   { transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s ease, border-color 0.3s ease; }
.service-card { transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s ease, border-color 0.3s ease; }
.about-stat   { transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s ease, border-color 0.3s ease; }

/* Botões com micro-interação */
.btn { transition: background 0.2s ease, transform 0.2s cubic-bezier(0.22,1,0.36,1), box-shadow 0.2s ease, opacity 0.2s ease; }
.btn:active:not(:disabled) { transform: scale(0.97); }

/* ── Pagamento ─────────────────────────────────────────────────────────── */
.payment-method-btn {
  padding: 10px 20px;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: var(--surface, #fff);
  cursor: pointer;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}
.payment-method-btn.selected {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-dark);
}

/* ── Stock badge ───────────────────────────────────────────────────────── */
.stock-badge-out  { display:inline-block;padding:3px 10px;border-radius:20px;font-size:.75rem;font-weight:700;background:#fee2e2;color:#dc2626; }
.stock-badge-low  { display:inline-block;padding:3px 10px;border-radius:20px;font-size:.75rem;font-weight:700;background:#fef3c7;color:#d97706; }
.stock-badge-ok   { display:inline-block;padding:3px 10px;border-radius:20px;font-size:.75rem;font-weight:700;background:#dcfce7;color:#16a34a; }

/* Low stock alert card in admin */
.low-stock-alert {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 20px;
}
.low-stock-alert h4 { color: #c2410c; margin-bottom: 10px; font-size: .9rem; }
.low-stock-row { display:flex;justify-content:space-between;align-items:center;padding:5px 0;font-size:.85rem;border-bottom:1px solid #fed7aa; }
.low-stock-row:last-child { border-bottom: none; }

/* ── Produtos Relacionados ─────────────────────────────────────────────── */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

/* ── Order Stepper ─────────────────────────────────────────────────────── */
.order-stepper {
  display: flex;
  align-items: center;
  padding: 20px 24px 16px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 0 -1px;
  overflow-x: auto;
  scrollbar-width: none;
}
.order-stepper::-webkit-scrollbar { display: none; }

.order-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.step-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-light);
  transition: all 0.3s ease;
}
.order-step.done .step-circle {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  font-size: .85rem;
  font-weight: 700;
}
.order-step.active .step-circle {
  background: white;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}
.step-label {
  font-size: .72rem;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
  text-align: center;
}
.order-step.done .step-label,
.order-step.active .step-label { color: var(--primary-dark); }

.step-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  min-width: 24px;
  margin: 0 4px;
  margin-bottom: 22px;
  transition: background 0.3s ease;
}
.step-line.done { background: var(--primary); }

.order-cancelled-bar {
  background: #fee2e2;
  color: #dc2626;
  font-weight: 700;
  font-size: .88rem;
  padding: 12px 24px;
  border-top: 1px solid #fecaca;
  border-bottom: 1px solid #fecaca;
}

/* ── Cookie Banner ─────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #ffffff;
  border-top: 2px solid var(--primary-light);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 1200;
  box-shadow: 0 -4px 24px rgba(0,0,0,.10);
  flex-wrap: wrap;
  animation: slideUp .35s ease;
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.cookie-text { flex: 1; font-size: .88rem; color: var(--text-light); min-width: 220px; }
.cookie-text strong { color: var(--text); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-btn-accept {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 20px;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s;
}
.cookie-btn-accept:hover { opacity: .88; }
.cookie-btn-reject {
  background: transparent;
  color: var(--text-light);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 9px 16px;
  font-size: .88rem;
  cursor: pointer;
  transition: border-color .2s;
}
.cookie-btn-reject:hover { border-color: var(--text-light); }

/* ── Contact Page ──────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 32px;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}
.contact-card-icon { font-size: 2rem; margin-bottom: 12px; }
.contact-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.contact-card a { color: var(--primary); text-decoration: none; word-break: break-all; }
.contact-card a:hover { text-decoration: underline; }
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr; } }
