/* ============================================================
   OVERRIDES GLOBAIS — Compatibilidade com classes existentes
   Aplica o visual premium sem precisar alterar todo o HTML
   ============================================================ */

/* filter-btn → visual de filter-pill premium */
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  padding: 0.45em 1.25em;
  border-radius: 50px;
  font-family: 'DM Sans', 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--card-bg);
  border: 1.5px solid var(--border-color);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.2, 1, 0.3, 1);
  user-select: none;
  white-space: nowrap;
  box-shadow: var(--shadow-card);
  letter-spacing: 0.02em;
}

.filter-btn:hover {
  border-color: var(--artisan-gold);
  color: var(--artisan-chocolate);
  background: var(--artisan-gold-pale);
  transform: translateY(-1px);
}

/* Botão ativo nos filtros */
.filter-btn.bg-\[\#1A1A1A\],
.filter-btn[class*="bg-[#1A1A1A]"],
.filter-btn.active-filter,
button.filter-btn.scale-105 {
  background: linear-gradient(135deg, #3D2415 0%, #5C3826 100%) !important;
  color: #E8D5A3 !important;
  border-color: transparent !important;
  box-shadow: 0 3px 12px rgba(44, 26, 14, 0.22) !important;
  transform: translateY(-1px) !important;
}

/* Textos cinzas em cards → elegante muted */
.text-gray-400 {
  color: var(--text-muted) !important;
}

/* Card eyebrow "Cerimônia", "Celebração" etc. nos potinhos */
.text-primary {
  color: var(--artisan-gold) !important;
}

/* Títulos de cards em Playfair → Cormorant Garamond */
.font-\[\'Playfair_Display\'\] {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif !important;
}

/* best-seller-badge atualizado — backdrop-filter removido para performance */
.best-seller-badge,
.badge-premium {
  background: rgba(44, 26, 14, 0.88) !important;
  color: #E8D5A3 !important;
  border: 1px solid rgba(184, 150, 62, 0.3) !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.62rem !important;
  letter-spacing: 0.07em !important;
  padding: 4px 10px !important;
  border-radius: 20px !important;
}

/* Inputs de modal/formulário existentes → visual premium */
[id*="modal"] input,
[id*="modal"] select,
[id*="modal"] textarea,
[id*="panel"] input,
[id*="panel"] textarea,
.modal-panel input,
.modal-panel select,
.modal-panel textarea {
  font-family: 'DM Sans', sans-serif;
  border-radius: 10px !important;
  border: 1.5px solid var(--border-color) !important;
  background: var(--card-bg) !important;
  color: var(--text-main) !important;
  padding: 0.78rem 1rem !important;
  outline: none !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}

[id*="modal"] input:focus,
[id*="modal"] select:focus,
[id*="modal"] textarea:focus,
[id*="panel"] input:focus,
[id*="panel"] textarea:focus {
  border-color: var(--artisan-gold) !important;
  box-shadow: 0 0 0 3px rgba(184, 150, 62, 0.12) !important;
}

/* Modais de Tailwind inline (Carrinho, Infos) */
#cart-panel-overlay,
.modal-overlay {
  background: rgba(20, 10, 5, 0.6) !important;
  backdrop-filter: blur(8px) saturate(60%);
  -webkit-backdrop-filter: blur(8px) saturate(60%);
}

#cart-panel,
.modal-panel,
div[role="dialog"] > div[class*="bg-white"] {
  background: var(--bg-primary) !important;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-elevated) !important;
}

/* Labels de form → DM Sans premium */
label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

/* Seção de busca do menu */
#search-input,
input[id*="search"],
input[placeholder*="abor"],
input[placeholder*="Buscar"] {
  font-family: 'DM Sans', sans-serif !important;
  border-radius: 50px !important;
}

/* Header existente: glassmorphism elegante — blur reduzido para performance */
header {
  background: rgba(253, 252, 248, 0.95) !important;
  backdrop-filter: saturate(150%) blur(6px) !important;
  -webkit-backdrop-filter: saturate(150%) blur(6px) !important;
  border-bottom: 1px solid var(--border-color) !important;
  box-shadow: 0 1px 0 var(--border-subtle), 0 4px 20px rgba(0,0,0,0.04) !important;
  will-change: transform;
  transform: translateZ(0);
}

/* Nav links de desktop → DM Sans + underline */
header nav a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

header nav a:not(.nav-pill-highlight):hover {
  color: var(--artisan-gold);
}

/* Subtítulos genéricos de seção */
h2.section-title-premium,
h2.heading-premium {
  color: var(--text-main) !important;
}

/* Toujours — garante que Cormorant seja usado em todos h1 h2 h3 */
h1, h2, h3 {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
}

/* ============================================================
   SCATAMBULO — PREMIUM DESIGN SYSTEM 2026
   Tipografia, Navegação, Modais, Botões, Cards, Inputs, Filtros
   ============================================================ */

/* ─── 1. TIPOGRAFIA GLOBAL PREMIUM ──────────────────────── */

/* Reset tipográfico elegante */
body {
  font-family: 'DM Sans', 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Headings com Cormorant Garamond — máxima elegância */
h1, h2, h3 {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h4, h5, h6 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Classe utilitária de heading premium */
.heading-premium {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-main);
}

.heading-premium em {
  font-style: italic;
  color: var(--artisan-gold);
}

/* Eyebrow label refinado */
.eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--artisan-gold);
  opacity: 0.9;
}

/* Caption / label pequeno */
.caption-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ─── 2. NAVEGAÇÃO PREMIUM ───────────────────────────────── */

/* Header com glassmorphism pérola refinado */
header.premium-nav {
  background: rgba(253, 252, 248, 0.90);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 1px 0 var(--border-subtle), 0 4px 24px rgba(0,0,0,0.04);
  transition: background 0.3s, box-shadow 0.3s;
}

header.premium-nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.10);
}

/* Logo do site */
.site-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: color 0.2s;
}

.site-logo span {
  color: var(--artisan-gold);
}

.site-logo:hover {
  color: var(--artisan-gold);
}

/* Links de navegação desktop */
.nav-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.02em;
  padding: 0.3rem 0;
  position: relative;
  transition: color 0.2s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--artisan-gold);
  transition: width 0.28s cubic-bezier(0.2, 1, 0.3, 1);
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--artisan-gold);
}

/* Pill de destaque na nav (Promoções) */
.nav-pill-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  background: linear-gradient(135deg, #BF953F, #E8D5A3 50%, #B38728);
  color: #2C1A0E;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4em 1.1em;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 2px 10px rgba(184, 150, 62, 0.3);
}

.nav-pill-highlight:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 18px rgba(184, 150, 62, 0.4);
}

/* ─── 3. SISTEMA DE MODAIS MODERNO ───────────────────────── */

/* Overlay escurecido */
.modal-overlay-premium {
  position: fixed;
  inset: 0;
  background: rgba(20, 10, 5, 0.72);
  backdrop-filter: blur(8px) saturate(60%);
  -webkit-backdrop-filter: blur(8px) saturate(60%);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay-premium.active {
  opacity: 1;
  visibility: visible;
}

/* Painel do modal */
.modal-panel-premium {
  background: var(--card-bg);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow:
    0 30px 80px rgba(44, 26, 14, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(16px) scale(0.98);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.3s ease;
}

.modal-overlay-premium.active .modal-panel-premium {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Cabeçalho do modal */
.modal-header-premium {
  padding: 1.5rem 1.75rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.modal-header-premium h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
}

.modal-header-premium .modal-eyebrow {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--artisan-gold);
  opacity: 0.8;
  display: block;
  margin-bottom: 0.2rem;
}

/* Botão fechar */
.modal-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--artisan-gold-pale, #F7F0DC);
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: all 0.2s;
}

.modal-close-btn:hover {
  background: var(--artisan-gold-light);
  color: var(--artisan-chocolate);
  transform: rotate(90deg);
}

.modal-close-btn svg {
  width: 14px;
  height: 14px;
}

/* Corpo do modal */
.modal-body-premium {
  padding: 1.5rem 1.75rem;
}

/* Rodapé do modal */
.modal-footer-premium {
  padding: 1.25rem 1.75rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

/* ─── 4. SISTEMA DE INPUTS PREMIUM ─────────────────────── */

/* Label elegante */
.input-label-premium {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

/* Input/textarea base */
.input-premium {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--card-bg);
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 3px rgba(44, 26, 14, 0.04);
  -webkit-appearance: none;
  appearance: none;
}

.input-premium::placeholder {
  color: var(--text-muted);
  opacity: 0.55;
}

.input-premium:focus {
  border-color: var(--artisan-gold);
  box-shadow: 0 0 0 3px rgba(184, 150, 62, 0.12);
}

.input-premium:hover:not(:focus) {
  border-color: rgba(184, 150, 62, 0.35);
}

/* Grupo de input (label + input) */
.input-group-premium {
  margin-bottom: 1.1rem;
}

/* Select estilizado */
.select-premium {
  width: 100%;
  padding: 0.8rem 2.5rem 0.8rem 1rem;
  background: var(--card-bg);
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8963E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 1.1em;
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: var(--text-main);
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.select-premium:focus {
  border-color: var(--artisan-gold);
  box-shadow: 0 0 0 3px rgba(184, 150, 62, 0.12);
}

textarea.input-premium {
  resize: vertical;
  min-height: 100px;
}

/* ─── 5. FILTROS / PILLS DE CATEGORIA ───────────────────── */

/* Container dos filtros */
.filter-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

/* Pill de filtro */
.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  padding: 0.45em 1.1em;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--card-bg);
  border: 1.5px solid var(--border-color);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.2, 1, 0.3, 1);
  user-select: none;
  white-space: nowrap;
}

.filter-pill:hover {
  border-color: var(--artisan-gold);
  color: var(--text-main);
  background: var(--artisan-gold-pale, #F7F0DC);
  transform: translateY(-1px);
}

.filter-pill.active {
  background: linear-gradient(135deg,
    #3D2415 0%,
    #5C3826 100%
  );
  color: var(--artisan-gold-light);
  border-color: transparent;
  box-shadow: 0 3px 12px rgba(44, 26, 14, 0.22);
}

/* ─── 6. CARDS DE PRODUTO PREMIUM ───────────────────────── */

/* Card base reescrito */
.cake-card-premium {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s;
  will-change: transform;
}

.cake-card-premium:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-elevated);
  border-color: var(--border-color);
}

/* Imagem do card */
.card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-secondary);
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.cake-card-premium:hover .card-img-wrap img {
  transform: scale(1.06);
}

/* Overlay gradiente na imagem */
.card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(44, 26, 14, 0.3) 0%,
    transparent 50%
  );
  pointer-events: none;
}

/* Badge no card */
.badge-premium {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(44, 26, 14, 0.85);
  backdrop-filter: blur(6px);
  color: var(--artisan-gold-light);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 10;
  border: 1px solid rgba(184, 150, 62, 0.25);
}

/* Corpo do card */
.card-body {
  padding: 1.1rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Eyebrow da categoria no card */
.card-category {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--artisan-gold);
  opacity: 0.8;
  margin-bottom: 0.25rem;
}

/* Título do card */
.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 0.4rem;
}

/* Descrição do card */
.card-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 0.9rem;
}

/* Preço */
.card-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.85rem;
}

.card-price small {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--text-muted);
  opacity: 0.7;
  display: block;
  margin-bottom: 0.1rem;
}

/* Actions */
.card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: auto;
}

/* ─── 7. CARDS DE POTINHO (potes.html) ──────────────────── */

.pote-card {
  background: var(--card-bg);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.pote-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-elevated);
}

.pote-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-secondary);
}

.pote-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.pote-card:hover .pote-card-img img {
  transform: scale(1.06);
}

.pote-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pote-card-eyebrow {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--artisan-gold);
  opacity: 0.8;
  margin-bottom: 0.3rem;
  font-family: 'DM Sans', sans-serif;
}

.pote-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.pote-card-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.1rem;
}

/* ─── 8. HERO SECTION PREMIUM ───────────────────────────── */

/* Seção hero genérica para qualquer página */
.section-hero-premium {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg,
    var(--bg-secondary) 0%,
    var(--bg-primary) 60%
  );
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
}

.section-hero-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(232, 213, 163, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 80%, rgba(212, 168, 154, 0.1) 0%, transparent 45%);
  pointer-events: none;
}

/* Ornamento — diamante dourado decorativo */
.ornament-diamond {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--artisan-gold);
  transform: rotate(45deg);
  margin: 0 0.5rem;
  opacity: 0.7;
}

/* Linha separadora dourada */
.gold-rule {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--artisan-gold) 50%, transparent);
  opacity: 0.25;
  margin: 1.5rem 0;
}

/* ─── 9. MENU MOBILE DRAWER ─────────────────────────────── */

.mobile-drawer {
  background: var(--card-bg);
  border-left: 1px solid var(--border-color);
  box-shadow: -8px 0 40px rgba(44, 26, 14, 0.15);
}

.mobile-drawer-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-drawer-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s;
}

.mobile-drawer-close:hover {
  background: var(--artisan-gold-pale, #F7F0DC);
  color: var(--artisan-chocolate);
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 10px;
  margin: 0.1rem 0.75rem;
  transition: all 0.2s;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
  background: var(--artisan-gold-pale, #F7F0DC);
  color: var(--artisan-chocolate);
}

.mobile-nav-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.6;
}

.mobile-nav-item.active svg {
  opacity: 1;
  color: var(--artisan-gold);
}

/* ─── 10. TAPAS DE SEÇÃO (side-tabs) PREMIUM ────────────── */

.side-tab-premium {
  position: fixed;
  left: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 0.6rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-left: none;
  border-radius: 0 10px 10px 0;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  box-shadow: 3px 0 16px rgba(44, 26, 14, 0.08);
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  user-select: none;
}

.side-tab-premium:hover {
  background: var(--artisan-gold-pale, #F7F0DC);
  color: var(--artisan-chocolate);
  border-color: var(--artisan-gold);
  transform: translateX(2px);
}

.side-tab-premium svg {
  width: 16px;
  height: 16px;
  transform: none;
  opacity: 0.65;
}

/* ─── 11. TOAST / NOTIFICAÇÕES ──────────────────────────── */

.toast-container-premium {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  pointer-events: none;
}

.toast-premium {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  box-shadow: 0 8px 32px rgba(44, 26, 14, 0.15);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  color: var(--text-main);
  max-width: 320px;
  pointer-events: auto;
  animation: toast-in 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  border-left: 3px solid var(--artisan-gold);
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateX(20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.toast-premium.success { border-left-color: #5A9E6E; }
.toast-premium.error   { border-left-color: #C0433A; }
.toast-premium.info    { border-left-color: var(--artisan-gold); }

.toast-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

/* ─── 12. CARROSSEL PREMIUM ─────────────────────────────── */

.carousel-caption-premium {
  position: absolute;
  inset: 0;
  z-index: 20;
  background: linear-gradient(
    to top,
    rgba(20, 10, 5, 0.88) 0%,
    rgba(20, 10, 5, 0.4) 40%,
    transparent 70%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem 2.5rem;
}

.carousel-caption-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--artisan-gold-light);
  margin-bottom: 0.35rem;
  opacity: 0.9;
}

.carousel-caption-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 4rem);
  font-weight: 700;
  font-style: italic;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 0.4rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.carousel-caption-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
}

/* Botões do carrossel */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.22s;
  z-index: 30;
}

.carousel-btn:hover {
  background: rgba(184, 150, 62, 0.4);
  border-color: rgba(232, 213, 163, 0.5);
  transform: translateY(-50%) scale(1.08);
}

.carousel-btn.left { left: 1rem; }
.carousel-btn.right { right: 1rem; }

/* ─── 13. SEÇÃO DE DESTAQUES / PROMO BANNER ─────────────── */

.promo-banner {
  background: linear-gradient(135deg,
    #2C1A0E 0%,
    #4A2D1C 50%,
    #2C1A0E 100%
  );
  border-radius: 16px;
  padding: 2rem 2.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.promo-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 90% 50%, rgba(232, 213, 163, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.promo-banner-text {
  position: relative;
  z-index: 1;
}

.promo-banner-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
  line-height: 1.15;
}

.promo-banner-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
}

/* ─── 14. MOBILE BOTTOM NAV REFINADO ───────────────────── */

.mobile-bottom-nav {
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -2px 20px rgba(44, 26, 14, 0.08);
}


.mobile-bottom-nav a.active,
.mobile-bottom-nav button.active {
  color: var(--artisan-gold) !important;
}

.mobile-bottom-nav a,
.mobile-bottom-nav button {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  transition: color 0.18s, transform 0.18s;
}

.mobile-bottom-nav a:hover,
.mobile-bottom-nav button:hover {
  color: var(--artisan-gold);
  transform: translateY(-1px);
}

/* ─── 15. DARK MODE REFINAMENTOS ────────────────────────── */

.dark-mode .cake-card-premium,
.dark-mode .pote-card {
  background: var(--card-bg);
  border-color: var(--border-color);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.dark-mode .cake-card-premium:hover,
.dark-mode .pote-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--border-color);
}

.dark-mode .filter-pill {
  background: var(--card-bg);
  border-color: var(--border-color);
}

.dark-mode .filter-pill:hover {
  background: rgba(201, 168, 76, 0.08);
}

.dark-mode .modal-panel-premium {
  background: var(--card-bg);
  border-color: var(--border-color);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.dark-mode .input-premium,
.dark-mode .select-premium {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-color);
  color: var(--text-main);
}

.dark-mode .input-premium::placeholder {
  color: var(--text-muted);
  opacity: 0.4;
}

/* ─── 16. ANIMAÇÕES UTILITÁRIAS ─────────────────────────── */

/* Fade in suave */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Escalonamento de animações */
.anim-delay-1 { animation-delay: 0.07s; }
.anim-delay-2 { animation-delay: 0.14s; }
.anim-delay-3 { animation-delay: 0.21s; }
.anim-delay-4 { animation-delay: 0.28s; }
.anim-delay-5 { animation-delay: 0.35s; }

/* Shimmer de carregamento */
@keyframes shimmer {
  0% { background-position: -300px 0; }
  100% { background-position: 300px 0; }
}

.skeleton {
  background: linear-gradient(90deg,
    var(--bg-secondary) 0%,
    var(--artisan-gold-pale, #F7F0DC) 50%,
    var(--bg-secondary) 100%
  );
  background-size: 600px 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

/* ─── 17. BOTÃO CTA HERO (grande, para seções principais)── */

.btn-cta-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  background: linear-gradient(135deg,
    #C9A84C 0%,
    #E8D5A3 40%,
    #B8963E 65%,
    #A07830 100%
  );
  color: #2C1A0E;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.85em 2.2em;
  border-radius: 50px;
  border: none;
  box-shadow:
    0 4px 20px rgba(184, 150, 62, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-cta-hero:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 10px 32px rgba(184, 150, 62, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-cta-hero:active {
  transform: translateY(-1px) scale(0.99);
}

/* ─── 18. RESPONSIVIDADE GERAL ──────────────────────────── */

@media (max-width: 640px) {
  .heading-premium {
    font-size: 1.9rem;
  }

  .card-body {
    padding: 0.9rem 1rem 1.1rem;
  }

  .cake-card-premium:hover {
    transform: none;
  }

  .filter-pill {
    font-size: 0.72rem;
    padding: 0.4em 0.9em;
  }

  .modal-panel-premium {
    border-radius: 16px 16px 0 0;
    max-height: 95vh;
    margin-top: auto;
  }

  .modal-body-premium,
  .modal-header-premium {
    padding: 1.25rem;
  }
}

/* ─── 19. PRINT ─────────────────────────────────────────── */

@media print {
  header, .mobile-bottom-nav, .side-tab-premium,
  .toast-container-premium, #floating-cart {
    display: none !important;
  }

  body {
    background: white;
    color: #000;
  }
}

/* ─── SKELETON LOADING — Image Lazy ─────────────────────────────────────────── */

/* Keyframe do shimmer dourado */
@keyframes sk-shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}

/* Estado de loading: o wrapper exibe o skeleton */
.card-img-wrap.sk-loading {
  background: #f0ebe0;
  background-image: linear-gradient(
    90deg,
    #f0ebe0 0px,
    rgba(212, 175, 55, 0.12) 40px,
    rgba(212, 175, 55, 0.22) 80px,
    rgba(212, 175, 55, 0.12) 120px,
    #f0ebe0 160px
  );
  background-size: 600px 100%;
  animation: sk-shimmer 1.4s ease-in-out infinite;
}

/* A imagem começa invisível e aparece com fade ao carregar */
.sk-img {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.sk-img.sk-img-visible {
  opacity: 1;
}

/* Wrapper já carregado: sem shimmer */
.card-img-wrap.sk-loaded {
  background: transparent;
  animation: none;
}

/* Skeleton para cards carousel também */
.carousel-slide .sk-img {
  opacity: 0;
  transition: opacity 0.7s ease;
}
.carousel-slide .sk-img.sk-img-visible {
  opacity: 1;
}

/* Reveal cards — animação de entrada */
.reveal-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-card.revealed {
  opacity: 1;
  transform: translateY(0);
}
