/* =====================================================
   Monster Delivery — stylesheet único (sem Tailwind)
   ===================================================== */

:root {
  --monster: #97d700;
  --monster-dark: #6b9a00;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f9fafb;
  --surface-3: #f3f4f6;
  --border: #e5e7eb;
  --border-strong: #d1d5db;
  --text: #111827;
  --text-muted: #4b5563;
  --text-soft: #6b7280;
  --text-faint: #9ca3af;
  --danger: #dc2626;
  --success: #059669;
  --amber: #f59e0b;
  --radius-sm: 0.5rem;
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --app-max: 28rem;
  --cart-h: 140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--text);
}

/* Utilidades */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.hidden {
  display: none !important;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* =====================================================
   Cabeçalho / Hero
   ===================================================== */
.site-header {
  position: relative;
  z-index: 30;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.hero-monster {
  background: linear-gradient(135deg, #111827 0%, #1f2937 45%, #365314 100%);
  min-height: 11.5rem;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 1.25rem 1rem 1rem;
  position: relative;
  color: #fff;
}

.hero-monster::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(151, 215, 0, 0.18),
      transparent 55%
    ),
    radial-gradient(
      circle at 85% 85%,
      rgba(151, 215, 0, 0.1),
      transparent 60%
    );
  pointer-events: none;
}

.hero-logo-wrap {
  position: relative;
  z-index: 2;
  margin-bottom: 0.5rem;
  padding: 0 0.75rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  width: min(92vw, 17.5rem);
  height: auto;
  max-height: 6.5rem;
  border-radius: 0.75rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: #000;
  padding: 0.45rem 0.65rem;
  object-fit: contain;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45), 0 0 24px rgba(191, 255, 0, 0.12);
}

.hero-card {
  background: var(--bg);
  border-radius: 2.5rem 2.5rem 0 0;
  position: relative;
  z-index: 1;
  margin-top: -3.5rem;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.05);
}

.hero-card-inner {
  padding: 3.5rem 1rem 0.75rem;
}

.hero-title {
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  color: var(--text);
}

.hero-meta {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  align-items: center;
}

.hero-meta .dot {
  color: var(--text-faint);
}

.hero-meta .success {
  color: var(--success);
  font-weight: 600;
}

.hero-meta b {
  color: var(--text);
  font-weight: 700;
}

.icon-inline {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: -2px;
}

.hero-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.hero-location .icon-pin {
  color: var(--monster-dark);
}

.hero-location .place {
  color: var(--text);
  font-weight: 600;
}

.btn-cep-link {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--monster-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  margin: 0.5rem auto 0;
  display: block;
}

.btn-cep-link:hover {
  color: var(--monster);
}

.hero-review {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.75rem;
}

.hero-review-line {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  flex-wrap: wrap;
  justify-content: center;
}

.stars {
  color: var(--amber);
  letter-spacing: -1px;
}

.badge-top {
  background: #ecfccb;
  color: #3f6212;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  margin-left: 0.25rem;
}

.hero-open {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--success);
}

.hero-open-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #10b981;
  animation: pulse 1.6s infinite ease-in-out;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.9;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.35);
  }
}

/* =====================================================
   Barra de categorias sticky
   ===================================================== */
.category-nav {
  background: #111827;
  border-bottom: 1px solid #1f2937;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.category-nav-inner {
  display: flex;
  overflow-x: auto;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0.5rem;
  gap: 0.35rem;
  justify-content: flex-start;
}

@media (min-width: 640px) {
  .category-nav-inner {
    justify-content: center;
  }
}

.category-chip {
  flex-shrink: 0;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: #1f2937;
  color: #e5e7eb;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.category-chip:hover,
.category-chip.active {
  background: var(--monster);
  color: #111827;
}

/* =====================================================
   Main / Container
   ===================================================== */
.main-wrap {
  padding-top: 1rem;
  padding-bottom: 7rem;
}

.container {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.search-wrap {
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.search-box {
  max-width: 26rem;
  margin: 0 auto;
  position: relative;
}

.search-box .icon-search {
  position: absolute;
  top: 50%;
  left: 0.85rem;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: var(--text-faint);
  pointer-events: none;
}

#filter-search {
  width: 100%;
  border: 2px solid var(--border);
  border-radius: 999px;
  padding: 0.55rem 1rem 0.55rem 2.35rem;
  font-size: 0.875rem;
  background: var(--bg);
  color: var(--text);
  outline: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: border-color 0.15s, box-shadow 0.15s;
}

#filter-search:focus {
  border-color: var(--monster);
  box-shadow: 0 0 0 3px rgba(151, 215, 0, 0.2);
}

#search-results-banner {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* =====================================================
   Secções de produtos (scroll horizontal)
   ===================================================== */
.product-section {
  margin-bottom: 2rem;
  scroll-margin-top: 6.5rem;
  content-visibility: auto;
  contain-intrinsic-size: auto 280px;
}

.product-section-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  padding: 0 0.25rem;
  color: var(--text);
}

.product-row-wrap {
  position: relative;
  margin: 0 -0.35rem;
  padding: 0 0.35rem;
}

.product-row-hint {
  display: none;
  font-size: 0.6875rem;
  color: var(--text-soft);
  text-align: center;
  margin: 0.25rem 0 0;
}

.product-row-wrap.is-scrollable:not(.at-end) .product-row-hint {
  display: block;
}

.product-row {
  position: relative;
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.25rem 0.15rem 0.5rem;
  margin: 0;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
  cursor: grab;
}

.product-row-wrap.is-scrollable:not(.at-start) .product-row::before,
.product-row-wrap.is-scrollable:not(.at-end) .product-row::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1.75rem;
  z-index: 1;
  pointer-events: none;
}

.product-row-wrap.is-scrollable:not(.at-start) .product-row::before {
  left: 0;
  background: linear-gradient(to right, var(--bg) 20%, transparent);
}

.product-row-wrap.is-scrollable:not(.at-end) .product-row::after {
  right: 0;
  background: linear-gradient(to left, var(--bg) 20%, transparent);
}

.product-row.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
  user-select: none;
}

.product-row-nav {
  position: absolute;
  top: calc(50% - 0.65rem);
  transform: translateY(-50%);
  z-index: 3;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
}

.product-row-nav svg {
  width: 1.1rem;
  height: 1.1rem;
}

.product-row-nav:active {
  transform: translateY(-50%) scale(0.94);
}

.product-row-nav--prev {
  left: 0;
}

.product-row-nav--next {
  right: 0;
}

.product-row-nav[hidden] {
  display: none;
}

.grid-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .grid-results {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Card */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.12s ease, box-shadow 0.2s ease;
}

.card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.card.card-carousel {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 38%;
  min-width: 8.75rem;
  max-width: 11rem;
}

.card.card-grid {
  width: 100%;
}

.card-img {
  position: relative;
  aspect-ratio: 1;
  background: var(--surface-3);
  border-bottom: 1px solid var(--border);
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.5rem;
}

.card-badge {
  position: absolute;
  top: 0.35rem;
  left: 0.35rem;
  z-index: 1;
  font-size: 0.625rem;
  font-weight: 700;
  background: var(--monster);
  color: #111827;
  padding: 0.15rem 0.4rem;
  border-radius: 0.3rem;
}

.card-body {
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
  min-height: 2.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.card-price-block {
  margin-top: auto;
  padding-top: 0.5rem;
}

.card-price-old {
  font-size: 0.625rem;
  color: var(--text-faint);
  text-decoration: line-through;
}

.card-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
}

.add-btn {
  margin-top: 0.5rem;
  width: 100%;
  background: linear-gradient(135deg, #111827, #374151);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  border: none;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: opacity 0.15s;
}

.add-btn:hover {
  opacity: 0.9;
}

.add-btn:active {
  transform: translateY(1px);
}

/* Secção de avaliações */
.reviews-block {
  margin-top: 2.5rem;
  margin-bottom: 2rem;
  border: 2px solid var(--surface-3);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  background: rgba(249, 250, 251, 0.8);
}

.reviews-score {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
}

.reviews-score .stars {
  font-size: 1.35rem;
}

.reviews-count {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.reviews-quote {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.empty-state {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  padding: 2rem 0;
}

/* =====================================================
   Rodapé
   ===================================================== */
.site-footer {
  background: #111827;
  color: #d1d5db;
  padding: 1.75rem 1rem 2rem;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.6;
}

.site-footer-inner {
  max-width: var(--app-max);
  margin: 0 auto;
}

.site-footer strong {
  display: block;
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
}

.site-footer-legal {
  margin: 0 0 0.5rem;
  color: #e5e7eb;
  font-weight: 600;
}

.site-footer-info {
  margin: 0 0 0.75rem;
  color: #9ca3af;
}

.site-footer-info a {
  color: var(--monster);
  text-decoration: none;
}

.site-footer-info a:hover {
  text-decoration: underline;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.75rem;
}

.site-footer-links a {
  color: #d1d5db;
  text-decoration: none;
  font-weight: 500;
}

.site-footer-links a:hover,
.site-footer-links a[aria-current="page"] {
  color: var(--monster);
}

.site-footer-disclaimer {
  margin: 0 0 0.75rem;
  font-size: 0.625rem;
  color: #6b7280;
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
}

.site-footer-copy {
  margin: 0;
  color: #6b7280;
  font-size: 0.625rem;
}

/* =====================================================
   Páginas legais
   ===================================================== */
.legal-header {
  background: #111827;
  color: #fff;
  padding: 1.25rem 1rem 1.5rem;
}

.legal-back {
  display: inline-block;
  color: var(--monster);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.legal-header h1 {
  margin: 0;
  font-size: 1.25rem;
  color: #fff;
}

.legal-main {
  padding: 1.5rem 1rem 3rem;
  max-width: 40rem;
}

.legal-updated {
  color: var(--text-soft);
  font-size: 0.8125rem;
  margin: 0 0 1.5rem;
}

.legal-main section {
  margin-bottom: 1.5rem;
}

.legal-main h2 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.legal-main p,
.legal-main li {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.legal-main ul {
  padding-left: 1.25rem;
  margin: 0.5rem 0 0;
}

.legal-main a {
  color: var(--monster-dark);
  font-weight: 600;
}

/* =====================================================
   Carrinho flutuante
   ===================================================== */
#shopping-cart-container {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.5rem;
  transform: translateY(110%);
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
  pointer-events: none;
}

#shopping-cart-container.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}

#cart-content {
  max-width: var(--app-max);
  margin: 0 auto;
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  border: 1px solid var(--border);
}

#cart-collapsed {
  width: 100%;
  padding: 0.75rem 1rem;
  display: none;
  justify-content: space-between;
  align-items: center;
  background: #111827;
  color: #fff;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: inherit;
}

#shopping-cart-container .cart-collapsed-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cart-badge {
  background: var(--monster);
  color: #111827;
  border-radius: 999px;
  height: 2.25rem;
  width: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

#cart-total-collapsed {
  font-weight: 800;
  font-size: 1.1rem;
}

#cart-expanded {
  display: none;
}

.cart-expanded-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.cart-expanded-header h3 {
  font-size: 1rem;
  font-weight: 700;
}

.icon-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
  font-size: 1.5rem;
}

.icon-btn svg {
  width: 1.35rem;
  height: 1.35rem;
}

#cart-lines-mini {
  padding: 0.5rem 0.75rem;
  max-height: 13rem;
  overflow-y: auto;
  font-size: 0.875rem;
}

.cart-mini-row {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--surface-3);
  font-size: 0.8rem;
}

.cart-mini-row:last-child {
  border-bottom: none;
}

.cart-mini-thumb {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.cart-mini-info {
  flex: 1;
  min-width: 0;
}

.cart-mini-title {
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-mini-qty {
  font-size: 0.72rem;
  color: var(--text-soft);
  margin-top: 0.15rem;
}

.cart-footer-expanded {
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
}

.cart-total-line {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.btn-primary {
  width: 100%;
  background: var(--monster);
  color: #111827;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.15s;
}

.btn-primary:hover {
  background: var(--monster-dark);
  color: #fff;
}

.btn-primary:disabled {
  background: var(--border-strong);
  color: var(--text-soft);
  cursor: not-allowed;
}

/* =====================================================
   Drawer da sacola (detalhe)
   ===================================================== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 100%);
  width: 100%;
  max-width: var(--app-max);
  max-height: min(88vh, 640px);
  background: var(--bg);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  border: 1px solid var(--border);
  border-bottom: none;
  z-index: 201;
  display: flex;
  flex-direction: column;
  padding-bottom: env(safe-area-inset-bottom);
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}

.drawer.open {
  transform: translate(-50%, 0);
}

.drawer-handle {
  width: 2.5rem;
  height: 0.25rem;
  border-radius: 999px;
  background: var(--border-strong);
  margin: 0.5rem auto;
}

.drawer-header {
  padding: 0.25rem 1rem 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--surface-3);
}

.drawer-header h2 {
  font-size: 1.1rem;
  font-weight: 700;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 0.25rem 1rem 0.75rem;
}

.drawer-footer {
  padding: 0.85rem 1rem 1rem;
  border-top: 1px solid var(--surface-3);
  background: var(--surface-2);
}

.drawer-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.cart-line {
  display: flex;
  gap: 0.65rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--surface-3);
  font-size: 0.875rem;
}

.cart-line:last-child {
  border-bottom: none;
}

.cart-thumb {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.cart-line-title {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  font-size: 0.82rem;
  line-height: 1.3;
  color: var(--text);
}

.cart-line-meta {
  font-size: 0.72rem;
  color: var(--text-soft);
  margin-top: 0.2rem;
}

.qty {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.qty button {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 0.35rem;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1;
}

.cart-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem 0;
  font-size: 0.9rem;
  margin: 0;
}

/* =====================================================
   Modal CEP
   ===================================================== */
.cep-modal {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.55);
}

@media (min-width: 640px) {
  .cep-modal {
    align-items: center;
  }
}

.cep-modal.hidden {
  display: none !important;
}

.cep-modal-inner {
  background: var(--bg);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  width: 100%;
  max-width: var(--app-max);
  padding: 1.25rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-height: 90vh;
  overflow-y: auto;
}

@media (min-width: 640px) {
  .cep-modal-inner {
    border-radius: var(--radius-xl);
  }
}

.cep-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}

.cep-modal-head h2 {
  font-size: 1.05rem;
  font-weight: 700;
}

.cep-modal-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.cep-row {
  display: flex;
  gap: 0.5rem;
}

#cep-input {
  flex: 1;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.75rem;
  font-size: 0.875rem;
  background: var(--bg);
  color: var(--text);
  outline: none;
  font-family: inherit;
}

#cep-input:focus {
  border-color: var(--monster);
}

#cep-search {
  background: var(--monster);
  color: #111827;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0 1rem;
  cursor: pointer;
  font-size: 0.875rem;
  flex-shrink: 0;
}

#cep-search:hover {
  background: var(--monster-dark);
  color: #fff;
}

#cep-result {
  margin-top: 0.75rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 0.875rem;
}

#cep-result.error {
  border-color: var(--danger);
  color: var(--danger);
  background: #fef2f2;
}

@media (min-width: 480px) {
  .hero-monster {
    min-height: 13rem;
  }
  .hero-logo {
    width: min(90vw, 20rem);
    max-height: 7.5rem;
  }
  .hero-card {
    margin-top: -4rem;
  }
  .hero-card-inner {
    padding-top: 4rem;
  }
  .hero-title {
    font-size: 1.5rem;
  }
}
