/* ==========================================================================
   RENOVO AROMAS — FOLHA DE ESTILOS PRINCIPAL (MOBILE-FIRST)
   Arquitetura: CSS3 Moderno (Variáveis CSS, Flexbox, CSS Grid)
   ========================================================================== */

:root {
  /* Paleta Oficial do PRD */
  --bg-main: #F4F1F1;          /* Off-white / Creme suave */
  --surface: #FFFFFF;          /* Branco puro */
  --primary: #8C6D46;          /* Dourado fosco / Bronze */
  --primary-hover: #765B39;    /* Tom de bronze mais profundo para hover/active */
  --primary-soft: rgba(140, 109, 70, 0.10);
  --secondary: #9CAF94;        /* Verde-sálvia suave */
  --secondary-soft: rgba(156, 175, 148, 0.18);
  --secondary-text: #4F6348;   /* Contraste acessível sobre o verde-sálvia suave */
  --text-main: #2C2C2C;        /* Cinza chumbo escuro */
  --text-muted: #6E6E6E;       /* Cinza médio */
  --border-subtle: #EAE6DF;    /* Borda delicada em tom areia */
  --danger: #B84A39;           /* Vermelho terroso para alertas/remoção */
  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;

  /* Tipografia */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Espaçamentos, Bordas e Sombras */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-card: 0 4px 18px rgba(44, 44, 44, 0.04);
  --shadow-sheet: 0 -8px 36px rgba(44, 44, 44, 0.14);
  --shadow-float: 0 10px 28px rgba(44, 44, 44, 0.16);

  /* Transição Padrão do PRD */
  --transition-base: all 0.25s ease;
}

/* ==========================================================================
   1. RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 84px; /* Espaço para barra flutuante da sacola no mobile */
}

body.no-scroll {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  -webkit-tap-highlight-color: transparent;
  transition: var(--transition-base);
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   2. RF01 — CABEÇALHO MINIMALISTA E BARRA DE CATEGORIAS
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: rgba(249, 248, 246, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 10px;
}

.brand {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  min-height: 44px;
  justify-content: center;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.02em;
  line-height: 1.05;
}

.brand-subtitle {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Botão da Sacola no Topo (Área de toque >= 44x44px) */
.cart-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 14px;
  background-color: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  color: var(--text-main);
  box-shadow: 0 2px 8px rgba(44, 44, 44, 0.03);
}

.cart-trigger-btn:hover,
.cart-trigger-btn:focus-visible {
  border-color: var(--primary);
  transform: translateY(-1px);
}

.cart-trigger-label {
  font-size: 0.85rem;
  font-weight: 500;
}

.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--radius-pill);
  background-color: var(--primary);
  color: var(--surface);
  font-size: 0.75rem;
  font-weight: 700;
  transition: var(--transition-base);
}

.cart-badge.bump {
  transform: scale(1.22);
}

/* Navegação Horizontal de Categorias */
.category-nav {
  padding-bottom: 12px;
}

.category-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  padding-top: 2px;
  padding-bottom: 2px;
}

.category-scroll::-webkit-scrollbar {
  display: none; /* Chrome/Safari/Opera */
}

.category-pill {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background-color: var(--surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: var(--transition-base);
}

.category-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.category-pill.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--surface);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(140, 109, 70, 0.22);
}

/* ==========================================================================
   3. RF02 — VITRINE DE PRODUTOS (GRID MOBILE-FIRST)
   ========================================================================== */
.main-content {
  flex: 1;
  padding-top: 20px;
  padding-bottom: 36px;
}

.catalog-intro {
  margin-bottom: 18px;
}

.catalog-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--secondary-text);
  font-weight: 600;
}

.catalog-heading {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-main);
  margin-top: 2px;
}

/* Grid 2 colunas no mobile */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

/* Card de Produto */
.product-card {
  background-color: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: var(--transition-base);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(44, 44, 44, 0.08);
  border-color: rgba(140, 109, 70, 0.35);
}

.product-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background-color: #EFECE6;
  overflow: hidden;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.product-card:hover .product-card-media img {
  transform: scale(1.04);
}

.card-category-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  color: var(--secondary-text);
  border: 1px solid rgba(156, 175, 148, 0.45);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.product-card-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: 10px;
}

.product-card-title {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.22;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-scents-hint {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
}

.product-card-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
}

/* Botão de Ação Rápida no Card (>= 44x44px) */
.card-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background-color: var(--primary-soft);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  transition: var(--transition-base);
}

.product-card:hover .card-action-btn,
.card-action-btn:hover {
  background-color: var(--primary);
  color: var(--surface);
}

/* Estado Vazio para Categorias sem Produtos */
.empty-catalog-state {
  grid-column: 1 / -1;
  background-color: var(--surface);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 40px 20px;
  text-align: center;
}

.empty-catalog-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--text-main);
  margin-bottom: 6px;
}

.empty-catalog-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* ==========================================================================
   4. BARRA FLUTUANTE INFERIOR DA SACOLA (MOBILE)
   ========================================================================== */
.floating-cart-bar {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 35;
  max-width: 520px;
  margin: 0 auto;
  transition: var(--transition-base);
}

.floating-cart-btn {
  width: 100%;
  min-height: 54px;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background-color: var(--primary);
  color: var(--surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-float);
}

.floating-cart-btn:hover {
  background-color: var(--primary-hover);
}

.floating-cart-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.floating-cart-qty {
  font-size: 0.88rem;
  font-weight: 500;
}

.floating-cart-cta {
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.18);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

.floating-cart-total {
  font-size: 0.96rem;
  font-weight: 700;
}

/* ==========================================================================
   5. RF03, RF04, RF05 — BOTTOM SHEETS (GAVETAS INFERIORES)
   ========================================================================== */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background-color: rgba(28, 26, 23, 0.48);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.sheet-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.bottom-sheet {
  width: 100%;
  max-width: 580px;
  max-height: 90dvh;
  background-color: var(--surface);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: var(--shadow-sheet);
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.25s ease;
  overflow: hidden;
}

.sheet-backdrop.open .bottom-sheet {
  transform: translateY(0);
}

.sheet-header-bar,
.sheet-header {
  position: relative;
  padding: 10px 16px 8px;
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.sheet-header-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 52px;
}

.sheet-drag-handle {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 5px;
  border-radius: var(--radius-pill);
  background-color: #DCD7CE;
}

.sheet-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  min-height: 44px;
}

.sheet-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-main);
}

.icon-close-btn {
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  background-color: var(--bg-main);
}

.icon-close-btn:hover {
  color: var(--text-main);
  background-color: var(--border-subtle);
}

.back-step-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  background-color: var(--primary-soft);
}

.sheet-body {
  padding: 18px 18px 24px;
  overflow-y: auto;
  flex: 1;
  overscroll-behavior: contain;
}

/* Detalhes do Produto no Bottom Sheet */
.product-modal-hero {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 22px;
}

.product-modal-image-wrap {
  width: 100%;
  max-height: 300px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #EFECE6;
}

.product-modal-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge-category {
  display: inline-block;
  background-color: var(--secondary-soft);
  color: var(--secondary-text);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 6px;
}

.modal-product-title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.15;
}

.modal-product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 4px;
}

.modal-product-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.55;
}

/* Grupos de Variação (Aromas e Decorações) */
.variation-group {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.variation-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.variation-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
}

.variation-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.variation-badge.required {
  background-color: var(--primary-soft);
  color: var(--primary);
}

.variation-badge.optional {
  background-color: var(--secondary-soft);
  color: var(--secondary-text);
}

.chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Chips Clicáveis (Área de toque >= 44x44px) */
.chip-btn {
  min-height: 44px;
  min-width: 44px;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-subtle);
  background-color: var(--bg-main);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-base);
}

.chip-btn:hover {
  border-color: var(--primary);
}

.chip-btn.selected {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--surface);
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(140, 109, 70, 0.22);
}

.chip-price-delta {
  font-size: 0.75rem;
  opacity: 0.85;
}

.field-error {
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--danger);
  font-weight: 600;
}

/* Rodapé das Gavetas */
.sheet-footer {
  padding: 14px 18px calc(14px + env(safe-area-inset-bottom, 0px));
  background-color: var(--surface);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Controle de Quantidade (- 1 +) */
.qty-control {
  display: inline-flex;
  align-items: center;
  background-color: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.qty-btn {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
}

.qty-btn:hover {
  background-color: var(--border-subtle);
}

.qty-value {
  min-width: 32px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
}

/* Botões Principais */
.primary-btn {
  min-height: 48px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  background-color: var(--primary);
  color: var(--surface);
  font-size: 0.92rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.primary-btn:hover {
  background-color: var(--primary-hover);
}

.add-to-cart-btn {
  flex: 1;
  justify-content: space-between;
}

.btn-price-tag {
  background: rgba(255, 255, 255, 0.18);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
}

.full-width {
  width: 100%;
}

/* ==========================================================================
   6. SACOLA DE COMPRAS & FORMULÁRIO DE CHECKOUT
   ========================================================================== */
.cart-step-container {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.cart-footer {
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.cart-subtotal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.subtotal-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.subtotal-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Lista de Itens na Sacola */
.cart-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.cart-item:first-child {
  padding-top: 0;
}

.cart-item-thumb {
  width: 68px;
  height: 85px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background-color: #EFECE6;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.cart-item-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.2;
}

.cart-item-remove {
  min-width: 44px;
  min-height: 44px;
  margin: -10px -10px 0 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border-radius: 50%;
}

.cart-item-remove:hover {
  color: var(--danger);
  background-color: rgba(184, 74, 57, 0.08);
}

.cart-item-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.cart-item-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
}

/* Sacola Vazia */
.empty-cart-box {
  text-align: center;
  padding: 36px 16px;
}

.empty-cart-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background-color: var(--bg-main);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-cart-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.empty-cart-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Formulário de Checkout */
.checkout-summary-banner {
  background-color: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.required-asterisk {
  color: var(--primary);
}

.optional-tag {
  font-weight: 400;
  color: var(--text-muted);
}

.form-input,
.form-textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-subtle);
  background-color: var(--bg-main);
  color: var(--text-main);
  font-size: 0.92rem;
  transition: var(--transition-base);
}

.form-textarea {
  resize: vertical;
  min-height: 76px;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--surface);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.form-input.invalid {
  border-color: var(--danger);
}

.form-helper {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Seletor de Forma de Entrega */
.delivery-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.delivery-option {
  cursor: pointer;
}

.delivery-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.delivery-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 46px;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-subtle);
  background-color: var(--bg-main);
  font-size: 0.83rem;
  font-weight: 500;
  transition: var(--transition-base);
}

.delivery-option input:checked + .delivery-chip {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--surface);
  font-weight: 600;
}

/* Botão WhatsApp */
.whatsapp-btn {
  min-height: 50px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  background-color: var(--primary);
  color: var(--surface);
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 18px rgba(140, 109, 70, 0.25);
}

.whatsapp-btn:hover {
  background-color: var(--primary-hover);
}

/* ==========================================================================
   7. RODAPÉ & TOAST DE FEEDBACK
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 28px 0;
  text-align: center;
  background-color: var(--bg-main);
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary);
}

.footer-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.toast {
  position: fixed;
  top: 76px;
  left: 50%;
  transform: translate(-50%, -20px);
  z-index: 80;
  background-color: var(--text-main);
  color: var(--surface);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: var(--shadow-float);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-base);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ==========================================================================
   8. RESPONSIVIDADE PARA TELAS MAIORES (TABLET & DESKTOP)
   ========================================================================== */
@media (min-width: 640px) {
  .products-grid {
    gap: 18px;
  }

  .product-card-body {
    padding: 16px;
  }

  .product-card-title {
    font-size: 1.25rem;
  }

  .product-modal-hero {
    flex-direction: row;
    align-items: flex-start;
  }

  .product-modal-image-wrap {
    width: 180px;
    max-height: 225px;
    flex-shrink: 0;
  }
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .sheet-backdrop {
    align-items: center;
    padding: 20px;
  }

  .bottom-sheet {
    border-radius: var(--radius-lg);
    max-height: 85dvh;
    transform: translateY(24px);
  }

  .sheet-drag-handle {
    display: none;
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }

  .brand-title {
    font-size: 1.9rem;
  }
}
