:root {
  /* ─── PALETA PÉROLA + PRETO + DOURADO ──────────────────── */

  /* Fundos: branco pérola e branco suave */
  --bg-primary:      #FDFCF8;   /* Pérola suave — fundo principal */
  --bg-secondary:    #F5F2EC;   /* Off-white levemente quente — seções alternadas */
  --card-bg:         #FFFFFF;   /* Branco puro — cards e modais */

  /* Textos: preto e cinza escuro — MÁXIMO CONTRASTE */
  --text-main:       #0F0F0F;   /* Preto quase puro — títulos e corpo */
  --text-muted:      #4A4A4A;   /* Cinza escuro — subtextos, labels (contraste 8:1+ em branco) */

  /* Dourado rico — acento principal */
  --artisan-gold:       #C4973A;  /* Ouro profundo — acentos e botões */
  --artisan-gold-light: #E8CC85;  /* Ouro claro — hovers, destaques leves */
  --artisan-gold-pale:  #FBF5E0;  /* Ouro palha — fundos de badge, hover suave */
  --artisan-gold-deep:  #9A7428;  /* Ouro escuro — texto sobre fundo claro */
  --artisan-gold-dark:  #7A5B1A;  /* Ouro muito escuro — subtítulos dourados, italics */

  /* Preto e variantes */
  --artisan-black:      #0F0F0F;
  --artisan-chocolate:  #1A1008;  /* Quase preto com toque dourado */
  --artisan-chocolate-light: #3D2E18;

  /* Creme /pérola */
  --artisan-cream:   #FDFCF8;
  --artisan-white:   #FFFFFF;

  /* Bordas — finas, legíveis */
  --border-color:    #E0DDD6;   /* Cinza quente — bordas visíveis */
  --border-subtle:   #EDEAE4;   /* Borda ainda mais suave */

  /* Sombras */
  --shadow-card:     0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-elevated: 0 8px 32px rgba(0, 0, 0, 0.12);

  /* Tokens semânticos */
  --accent-gold:       var(--artisan-gold);
  --accent-gold-light: var(--artisan-gold-light);

  /* Transições */
  --transition-smooth: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-plush:  0.38s cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-fast:   0.18s ease-in-out;
}

/* O Dark Mode foi removido permanentemente a pedido do cliente para garantir cores claras e neutras sempre */
body {
  font-family: "Poppins", "Inter", sans-serif;
  color: var(--text-main);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background-color: var(--bg-primary);
  padding-bottom: 0;
  transition: background-color 0.5s ease, color 0.5s ease;
}



/* Textura de fundo — fixo, promovido para GPU para evitar repaint no scroll */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(196, 151, 58, 0.04) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 100%, rgba(196, 151, 58, 0.03) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 60%, var(--bg-primary) 100%);
  z-index: -1;
  pointer-events: none;
  will-change: transform;
  transform: translateZ(0);
}

h2 {
  color: inherit;
}

section {
  scroll-margin-top: 80px;
}

.side-name-right {
  position: fixed;
  right: 0;
  top: 50%;
  transform: rotate(-90deg) translateY(50%) translateX(50%);
  transform-origin: right center;
  color: var(--artisan-gold);
  font-size: 48px;
  z-index: 30;
  letter-spacing: 1px;
  pointer-events: none;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.15);
  opacity: 0.35;
}


/* ─── BOTÃO DOURADO METÁLICO PREMIUM ────────────────────── */
.btn-gold-metallic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  background: linear-gradient(135deg,
    #C9A84C 0%,
    #E8D5A3 40%,
    #B8963E 65%,
    #A07830 100%
  );
  color: #2C1A0E;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.65em 1.6em;
  border-radius: 50px;
  border: 1px solid rgba(201, 168, 76, 0.4);
  box-shadow:
    0 2px 8px rgba(184, 150, 62, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn-gold-metallic:hover {
  background: linear-gradient(135deg,
    #D4B85C 0%,
    #F0DDB5 40%,
    #C9A84C 65%,
    #B08030 100%
  );
  transform: translateY(-2px);
  box-shadow:
    0 6px 20px rgba(184, 150, 62, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Feedback tátil para Mobile */
.btn-gold-metallic:active,
.button-link:active,
.btn-encomendar-premium:active {
  transform: scale(0.97) translateY(0);
  filter: brightness(0.93);
}


/* --- Barra de Navegação Inferior Mobile --- */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
  will-change: transform;
  transform: translateZ(0);
}

.mobile-bottom-nav a,
.mobile-bottom-nav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #555;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  width: 33.33%;
}

.mobile-bottom-nav a.active,
.mobile-bottom-nav button.active {
  color: #D4AF37;
}

.mobile-bottom-nav svg {
  width: 22px;
  height: 22px;
}

/* Esconde a barra em desktops */
@media (min-width: 769px) {
  .mobile-bottom-nav {
    display: none;
  }
}

/* Garante que a nav removida nao apareca em nenhum contexto */
.mobile-bottom-nav { display: none !important; }

/* Ajuste nos modais para não ficarem escondidos atrás da barra */
.modal-content,
.modal-panel {
  margin-bottom: 60px;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #faf8f0;
  /* Branco Perolado */
  padding: 2rem;
  border-radius: 0.5rem;
  max-width: 500px;
  width: 90%;
  position: relative;
}

.embalagens-modal-content {
  max-width: 900px;
}

.embalagens-modal-content .video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio (9 / 16 * 100) */
  height: 0;
  overflow: hidden;
  margin-bottom: 1rem;
  /* Add some space below the video */
}

.embalagens-modal-content .video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Ensure the whole video is visible */
}



.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #888;
}

#floating-cart.jump {
  animation: jump 0.5s;
}

@keyframes jump {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  50% {
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }

  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

.cake-size-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #faf8f0;
  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='%23D4AF37' 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.2em;
  padding: 0.6rem 2.5rem 0.6rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #4a4a4a;
  font-weight: 500;
  transition: all 0.3s ease;
}

.cake-size-select:focus {
  outline: none;
  border-color: #D4AF37;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.cake-card-image {
  width: 100%;
  object-fit: cover;
  /* Garante que a imagem preencha o espaço no mobile */
  background-color: #f0ede5;
  /* Um fundo suave para preencher o espaço vazio */
  transition: transform 0.3s ease-in-out;
  /* Adiciona transição suave para o zoom */
}



/* Efeito de zoom na imagem ao passar o mouse sobre o card pai */
.group:hover .cake-card-image {
  transform: scale(1.05);
  /* Aumenta a imagem em 5% */
}

/* Ajuste específico para a imagem do Bolo Nuvem de Morango */
#nuvem-de-morango-img {
  object-position: center 20%;
  /* Move o foco da imagem para cima (mostra mais da parte de cima) */
}

.best-seller-badge,
.badge-premium {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  color: #D4AF37;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Responsive styles for modals */

/* General mobile and iOS optimizations */
body {
  -webkit-overflow-scrolling: touch;
  /* Smooth scrolling on iOS */
}

/* Make the modal background cover the entire screen */
.modal-overlay {
  padding: 1rem;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  /* Promote to a hardware layer */
  perspective: 1000px;
}

/* Make the modal content responsive */
.modal-content {
  width: 95%;
  max-width: 500px;
  padding: 1.5rem;
}

/* Make the packaging modal responsive */
.embalagens-modal-content {
  max-width: 95%;
}

/* Make the video container responsive */
.embalagens-modal-content .video-container {
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
}



/* 3D effect for modals */
.modal-3d {
  transform-style: preserve-3d;
  animation: open-modal 0.5s forwards;
}

@keyframes open-modal {
  from {
    transform: rotateY(90deg);
  }

  to {
    transform: rotateY(0deg);
  }
}

/* Specific styles for mobile devices */
@media (max-width: 768px) {

  /* Make the side tabs responsive */
  #side-tabs-container {
    display: none !important;
    /* Hide side tabs on mobile */
  }

  /* Make the main header responsive */
  header {
    padding: 1rem;
  }

  /* Make the mobile menu button visible on mobile */
  #mobile-menu-button {
    display: block;
  }

  /* Hide the desktop navigation on mobile */
  header nav {
    display: none;
  }

  /* Show the mobile menu when active */
  #mobile-menu.hidden {
    display: none;
  }

  #mobile-menu:not(.hidden) {
    display: block;
  }



  /* Sub-modais flutuantes no mobile */
  #modal-pagamento .modal-panel,
  #modal-entrega .modal-panel,
  #modal-horarios .modal-panel {
    width: 92% !important;
    max-height: 90vh !important;
    /* Mais altura disponível */
    border-radius: 1rem !important;
  }

  .modal-wrapper {
    padding: 1rem !important;
  }

  .logo-wrapper {
    width: 8rem !important;
    height: 8rem !important;
  }

  h1 {
    font-size: 2.2rem !important;
    margin-bottom: 0.2rem !important;
  }

  p.desc-text {
    margin-bottom: 1rem !important;
    font-size: 0.9rem !important;
  }

  .countdown-wrapper {
    margin-bottom: 1.5rem !important;
  }

  footer {
    padding-bottom: 0.5rem !important;
  }
}

/* styles for loading overlay */
#loading-overlay {
  transition: opacity 0.3s ease-in-out;
}

/* Custom styles for packaging video and overlays */
.video-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  /* Adjust as needed */
  margin: 0 auto;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  /* Allow clicks to pass through by default */
}

.overlay-item {
  position: absolute;
  background-color: rgba(212, 175, 55, 0.8);
  /* Gold metallic with transparency */
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  pointer-events: auto;
  /* Make this item clickable */
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  font-weight: bold;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
}

.overlay-item.active {
  opacity: 1;
}

.carousel-container {
  max-width: 90%;
}

.carousel-img-focus {
  object-position: center 20%;
}




/* --- Animação de Pulsação Suave --- */
@keyframes gentle-pulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
  }
}

.animate-gentle-pulse {
  animation: gentle-pulse 2s infinite ease-in-out;
}

/* --- Animação de Pulso para o Carrinho --- */
@keyframes cart-pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }
}

.animate-cart-pulse {
  /* Usa uma curva de easing que "estica" um pouco para um efeito mais vivo */
  animation: cart-pulse 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Debug Alert Styling --- */
.debug-alert {
  border: 4px dashed #ef4444;
  /* red-500 */
  background-color: #fef2f2;
  /* red-50 */
}

.debug-alert #custom-alert-title {
  color: #991b1b;
  /* red-800 */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.debug-alert #custom-alert-title::before {
  content: '🐞';
  font-size: 1.5rem;
}

/* Animação do Modal de Embalagens */
@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-modal-entry {
  animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.animate-fade-in {
  animation: fadeIn 0.3s ease-out forwards;
}

/* Animação de Pulsação para Aba Lateral */
@keyframes pulse-attention {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
  }
}

.animate-pulse-attention {
  animation: pulse-attention 2s infinite;
}

/* Posicionamento das Abas Laterais */
#side-tabs-container {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  pointer-events: none;
}

.side-tab {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding: 1.5rem 0.8rem;
  background: #D4AF37;
  border: 1px solid #b5952f;
  border-left: 0;
  border-radius: 0 1rem 1rem 0;
  box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 700;
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  pointer-events: auto;
  position: relative;
  /* Necessário para posicionar o tooltip */
  margin-bottom: 0.5rem;
  /* Adiciona pequena margem entre os botões */
}

.side-tab:hover {
  background: #f5e6b3;
  color: black;
  padding-left: 1rem;
  transform: translateX(5px);
}

/* Ícones dentro das abas */
.side-tab svg {
  transform: rotate(-90deg);
  /* Ajusta a orientação do ícone */
  width: 1.25rem;
  height: 1.25rem;
}

/* Ajustes Responsivos para Abas Laterais */
@media (max-width: 768px) {
  .side-tab {
    padding: 1rem 0.5rem;
    font-size: 0.8rem;
  }

  .side-tab svg {
    width: 1rem;
    height: 1rem;
  }
}

/* Animação de Shake para Erro */
@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-4px);
  }

  20%,
  40%,
  60%,
  80% {
    transform: translateX(4px);
  }
}

.animate-shake {
  animation: shake 0.4s cubic-bezier(.36, .07, .19, .97) both;
}

/* styles for loading overlay */
#loading-overlay {
  transition: opacity 0.3s ease-in-out;
}

/* Custom styles for packaging video and overlays */
.video-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  /* Adjust as needed */
  margin: 0 auto;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  /* Allow clicks to pass through by default */
}

.overlay-item {
  position: absolute;
  background-color: rgba(212, 175, 55, 0.8);
  /* Gold metallic with transparency */
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  pointer-events: auto;
  /* Make this item clickable */
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  font-weight: bold;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
}

.overlay-item.active {
  opacity: 1;
}

/* Responsive styles for modals */

/* General mobile and iOS optimizations */
body {
  -webkit-overflow-scrolling: touch;
  /* Smooth scrolling on iOS */
}

/* Make the modal background cover the entire screen */
.modal-overlay {
  padding: 1rem;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  /* Promote to a hardware layer */
  perspective: 1000px;
}

/* Make the modal content responsive */
.modal-content {
  width: 95%;
  max-width: 500px;
  padding: 1.5rem;
}

/* Make the packaging modal responsive */
.embalagens-modal-content {
  max-width: 95%;
}

/* Make the video container responsive */
.embalagens-modal-content .video-container {
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
}



/* 3D effect for modals */
.modal-3d {
  transform-style: preserve-3d;
  animation: open-modal 0.5s forwards;
}

@keyframes open-modal {
  from {
    transform: rotateY(90deg);
  }

  to {
    transform: rotateY(0deg);
  }
}

/* Specific styles for mobile devices */
@media (max-width: 768px) {

  /* Make the side tabs responsive */
  #side-tabs-container {
    display: none !important;
    z-index: 50;
    /* Lower z-index on mobile so it doesn't overlap everything */
  }

  /* Make the main header responsive */
  header {
    padding: 1rem;
  }

  /* Make the mobile menu button visible on mobile */
  #mobile-menu-button {
    display: block;
  }

  /* Hide the desktop navigation on mobile */
  header nav {
    display: none;
  }

  /* Show the mobile menu when active */
  #mobile-menu.hidden {
    display: none;
  }

  #mobile-menu:not(.hidden) {
    display: block;
  }



  /* Sub-modais flutuantes no mobile */
  #modal-pagamento .modal-panel,
  #modal-entrega .modal-panel,
  #modal-horarios .modal-panel {
    width: 92% !important;
    max-height: 90vh !important;
    /* Mais altura disponível */
    border-radius: 1rem !important;
  }

  .modal-wrapper {
    padding: 1rem !important;
  }

  .logo-wrapper {
    width: 8rem !important;
    height: 8rem !important;
  }

  h1 {
    font-size: 2.2rem !important;
    margin-bottom: 0.2rem !important;
  }

  p.desc-text {
    margin-bottom: 1rem !important;
    font-size: 0.9rem !important;
  }

  .countdown-wrapper {
    margin-bottom: 1.5rem !important;
  }

  footer {
    padding-bottom: 0.5rem !important;
  }
}

/* ============================================================
   SCATAMBULO — PREMIUM REDESIGN 2026
   ============================================================ */

/* --- HERO ANGELA (perfil) --- */
.angela-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg,
    #FFFFFF 0%,
    #FDFCF8 50%,
    #F8F6F0 100%
  );
  border-radius: 24px;
  border: 1px solid var(--border-color);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.angela-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 85% 30%, rgba(196, 151, 58, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 75%, rgba(196, 151, 58, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.angela-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem 2.5rem;
  flex-wrap: wrap;
}

.angela-hero-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(184, 150, 62, 0.4);
  box-shadow: 0 0 0 6px rgba(184, 150, 62, 0.08), 0 8px 30px rgba(44, 26, 14, 0.15);
  flex-shrink: 0;
}

.angela-hero-text {
  flex: 1;
  min-width: 200px;
}

.angela-hero-eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--artisan-gold);
  opacity: 0.75;
  margin-bottom: 0.35rem;
}

.angela-hero-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.1;
  margin-bottom: 0;
}

.angela-hero-divider {
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, var(--artisan-gold), transparent);
  border-radius: 2px;
  margin: 0.65rem 0;
}

.angela-hero-desc {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
  font-weight: 400;
  max-width: 520px;
}

.angela-hero-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.angela-hero-tag {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--artisan-chocolate-light);
  background: rgba(184, 150, 62, 0.09);
  border: 1px solid rgba(184, 150, 62, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  letter-spacing: 0.04em;
}

/* --- SECTION HEADERS PREMIUM --- */
.section-eyebrow-gold {
  display: block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--artisan-gold);
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.section-title-premium {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.15;
}

.section-title-premium em {
  font-style: italic;
  color: var(--artisan-gold);
}

/* Divisor decorativo */
.section-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.75rem auto 2.5rem;
  max-width: 140px;
}

.section-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent);
}

.section-divider-diamond {
  width: 7px;
  height: 7px;
  background: #D4AF37;
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* --- PREMIUM CAKE CARD --- */
.cake-card-premium {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(212, 175, 55, 0.15);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cake-card-premium:hover {
  transform: translateY(-8px);
  box-shadow:
    0 30px 60px -12px rgba(212, 175, 55, 0.18),
    0 18px 36px -18px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(212, 175, 55, 0.3);
}

.cake-card-premium .card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f5f0e8;
}

.cake-card-premium .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.cake-card-premium:hover .card-img-wrap img {
  transform: scale(1.07);
}

.cake-card-premium .card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 28, 28, 0.45) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.35s;
}

.cake-card-premium:hover .card-img-overlay {
  opacity: 1;
}

.cake-card-premium .card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cake-card-premium .card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.cake-card-premium .card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 0.85rem;
}

.cake-card-premium .card-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  font-style: normal;
  color: #AF8531;           /* Dourado sofisticado e maduro */
  margin-bottom: 0.85rem;
  line-height: 1;
}

.cake-card-premium .card-price small {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.3rem;
}

.cake-card-premium .card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.card-actions .btn-info-premium {
  width: 100%;
  white-space: normal;
  text-align: center;
}

.card-actions .btn-encomendar-premium {
  width: 100%;
}

/* --- BOTÃO ENCOMENDAR PREMIUM — Dourado vivo, texto preto, máximo contraste --- */
.btn-encomendar-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: linear-gradient(135deg,
    #C4973A 0%,
    #E8CC85 45%,
    #C4973A 80%,
    #A07828 100%
  );
  color: #0F0F0F;           /* PRETO — contraste máximo sobre dourado */
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.9rem 1.5rem;
  border-radius: 12px;      /* Menos pill, mais botão claro */
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow:
    0 4px 18px rgba(196, 151, 58, 0.45),
    inset 0 1px 0 rgba(255,255,255,0.45);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.btn-encomendar-premium:hover {
  transform: translateY(-3px);
  box-shadow:
    0 10px 30px rgba(196, 151, 58, 0.55),
    inset 0 1px 0 rgba(255,255,255,0.5);
  background: linear-gradient(135deg,
    #D4A84A 0%,
    #F0D890 45%,
    #D4A84A 80%,
    #B08030 100%
  );
  color: #0A0A0A;
}

.btn-encomendar-premium:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 4px 12px rgba(196, 151, 58, 0.4);
}

/* --- BOTÃO VER INFORMAÇÕES (branco / outlined escuro, bem legível) --- */
.btn-info-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: #FFFFFF !important;
  color: #0F0F0F !important;           /* Texto preto sobre branco forçado */
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.82rem 1.4rem;
  border-radius: 12px;
  border: 2px solid #0F0F0F !important;  /* Borda grossa preta force */
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.26s cubic-bezier(0.2, 0.8, 0.2, 1);
  width: 100%;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.btn-info-premium::before {
  content: 'ℹ';
  font-size: 0.85rem;
  opacity: 0.75;
}

.btn-info-premium:hover {
  background: #0F0F0F;
  color: #FFFFFF;
  border-color: #0F0F0F;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.2);
}

.btn-info-premium:active {
  transform: translateY(0) scale(0.98);
}

/* Dark Mode desativado: as cores continuam fixas claras */
.dark-mode .btn-info-premium {
  background: #FFFFFF !important;
  color: #0F0F0F !important;
  border-color: #0F0F0F !important;
}

.dark-mode .btn-info-premium:hover {
  background: #F8F5EF;
  color: #0F0F0F;
  border-color: #F8F5EF;
}

.btn-info-premium:active {
  transform: translateY(0) scale(0.98);
}


/* --- SEARCH PREMIUM --- */
.search-wrap-premium {
  position: relative;
  max-width: 500px;
  margin: 0 auto 2.5rem;
}

.search-wrap-premium input {
  width: 100%;
  padding: 0.88rem 1.25rem 0.88rem 3rem;
  border-radius: 99px;
  border: 1.5px solid var(--border-color);
  background: var(--card-bg);
  font-size: 0.875rem;
  color: var(--text-main);
  outline: none;
  box-shadow: var(--shadow-card);
  transition: all 0.3s;
  font-family: 'Poppins', sans-serif;
}

.search-wrap-premium input:focus {
  border-color: var(--artisan-gold);
  box-shadow:
    var(--shadow-card),
    0 0 0 3px rgba(184, 150, 62, 0.1);
}

.search-wrap-premium svg {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--artisan-gold);
  opacity: 0.65;
  width: 1.1rem;
  height: 1.1rem;
}

/* --- COCO SELECT PREMIUM --- */
.coco-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  border-radius: 10px;
  border: 1.5px solid rgba(212, 175, 55, 0.25);
  background-color: #fff;
  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='%23D4AF37' 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.5rem center;
  background-size: 1em;
  font-size: 0.8rem;
  color: #1c1c1c;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  margin-bottom: 0.75rem;
}

/* --- SCROLL REVEAL --- */
.sr-item {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.sr-item.sr-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .sr-item {
    opacity: 1 !important;
    transform: none !important;
  }
}

.sr-delay-1 {
  transition-delay: 0.08s;
}

.sr-delay-2 {
  transition-delay: 0.16s;
}

.sr-delay-3 {
  transition-delay: 0.24s;
}

.sr-delay-4 {
  transition-delay: 0.32s;
}

/* ============================================================
   MOBILE UX + COLOR SYSTEM — 2026
   ============================================================ */

/* --- SAFE AREAS (iOS notch / Dynamic Island) --- */
:root {
  --sat: env(safe-area-inset-top, 0px);
  --sar: env(safe-area-inset-right, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px);

  /* Second accent: rich burgundy */
  --clr-burgundy: #8B1A3A;
  --clr-burgundy-light: rgba(139, 26, 58, 0.08);
  --clr-terracotta: #C1683B;
}

/* --- HEADER — gold underline + safe-area padding --- */
header {
  padding-top: var(--sat);
  border-bottom: 1px solid var(--border-color);
  background: var(--card-bg);
  box-shadow: 0 1px 12px rgba(44, 26, 14, 0.06);
}

header.scrolled {
  background:
    linear-gradient(rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.97)) padding-box,
    linear-gradient(90deg, transparent, #D4AF37, transparent) border-box;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* --- iOS FONT SIZE FIX (prevents auto-zoom on input focus) --- */
input,
select,
textarea {
  font-size: max(16px, 1em) !important;
}

/* Override for very small labels that should stay small */
.text-xs,
.text-\[0\.6rem\],
.text-\[0\.65rem\],
.text-\[0\.7rem\] {
  font-size: inherit;
}

/* --- TOUCH TARGETS — minimum 44px on all interactive elements --- */
button,
a[onclick],
.btn-encomendar-premium,
.btn-info-premium,
.btn-gold-metallic,
.btn-open-embalagens,
.side-tab {
  min-height: 44px;
  min-width: 44px;
}

.btn-encomendar-premium,
.btn-info-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* --- ACTIVE TAP FEEDBACK (tactile feel on mobile) --- */
.btn-encomendar-premium:active {
  transform: scale(0.96);
  transition: transform 0.1s;
  opacity: 0.92;
}

.btn-info-premium:active {
  transform: scale(0.96);
  transition: transform 0.1s;
}

.btn-gold-metallic:active,
.btn-open-embalagens:active {
  transform: scale(0.96);
  opacity: 0.88;
  transition: transform 0.1s, opacity 0.1s;
}

/* --- CAROUSEL — touch zone (wider tap areas) --- */
#prev-slide,
#next-slide {
  min-width: 52px;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- MODAL — overscroll-behavior to prevent body scroll leak --- */
[role="dialog"],
#packaging-selection-modal,
#saber-mais-modal,
#info-modal {
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.modal-content-inner {
  overscroll-behavior: contain;
}

/* --- STICKY MOBILE BOTTOM BAR --- */
#mobile-bottom-bar {
  display: none;
  /* hidden on desktop */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 0.75rem 1rem calc(0.75rem + var(--sab));
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  align-items: center;
  gap: 0.75rem;
}

.mobile-bar-encomendar {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #D4AF37, #c49b28);
  color: #000;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.8rem 1.25rem;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
  transition: all 0.2s;
  min-height: 48px;
}

.mobile-bar-encomendar:active {
  transform: scale(0.97);
  transition: transform 0.1s;
}

.mobile-bar-cart {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(212, 175, 55, 0.1);
  border: 1.5px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #1c1c1c;
  flex-shrink: 0;
  transition: all 0.2s;
}

.mobile-bar-cart:active {
  transform: scale(0.94);
  background: rgba(212, 175, 55, 0.2);
}

.mobile-bar-cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #D4AF37;
  color: #000;
  font-size: 0.6rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #fff;
}

/* Show bottom bar on mobile only */
@media (max-width: 768px) {
  #mobile-bottom-bar {
    display: flex;
  }

  /* Push page content up so it doesn't hide behind the bar */
  main.container {
    padding-bottom: calc(4.5rem + var(--sab));
  }
}

/* --- HORIZONTAL CATEGORY PILL NAV (mobile) --- */
#category-pill-nav {
  display: none;
}

@media (max-width: 768px) {
  #category-pill-nav {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    position: sticky;
    top: 57px;
    /* below header */
    z-index: 19;
  }

  #category-pill-nav::-webkit-scrollbar {
    display: none;
  }

  .category-pill {
    flex-shrink: 0;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 99px;
    border: 1.5px solid rgba(212, 175, 55, 0.3);
    background: #fff;
    color: #6b5b3e;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    min-height: 36px;
    display: flex;
    align-items: center;
  }

  .category-pill.active,
  .category-pill:active {
    background: linear-gradient(135deg, #D4AF37, #c49b28);
    color: #000;
    border-color: #D4AF37;
    font-weight: 700;
  }
}

/* --- ALTERNATING SECTION BACKGROUNDS --- */
#destaques-semana {
  background: linear-gradient(180deg, #fff 0%, #faf8f0 100%);
  border-radius: 24px;
  padding: 2.5rem 1.5rem;
  margin-bottom: 2rem;
}

#sabores {
  background: #fff;
  border-radius: 24px;
  padding: 2.5rem 1.5rem;
  margin-bottom: 2rem;
}

/* --- PRODUCT GRID — better gap on mobile --- */
@media (max-width: 640px) {
  .grid.grid-cols-1 {
    gap: 1.25rem;
  }

  .cake-card-premium {
    border-radius: 16px;
  }

  .cake-card-premium .card-img-wrap {
    aspect-ratio: 16/9;
  }
}

/* --- ANGELA HERO — mobile padding fix --- */
@media (max-width: 640px) {
  .angela-hero-inner {
    padding: 1.5rem;
    gap: 1.25rem;
    justify-content: center;
    text-align: center;
  }

  .angela-hero-tags {
    justify-content: center;
  }

  .angela-hero-divider {
    margin: 0.5rem auto;
  }
}

/* --- HAMBURGER BUTTON — larger touch target --- */
#mobile-menu-button {
  min-height: 44px;
  min-width: 44px;
  border-radius: 10px;
}

/* --- CAROUSEL SLIDES — smooth GPU scroll on mobile --- */
.carousel-container {
  will-change: transform;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* --- SECTION TITLES on mobile --- */
@media (max-width: 640px) {
  .section-title-premium {
    font-size: 1.75rem;
  }
}

/* ============================================================
   LUXURY PATISSERIE — PREMIUM VISUAL OVERHAUL 2026
   Design: Dark Chocolate · Gold · Cream White
   "A interface que vende sozinha"
   ============================================================ */

/* --- 1. PAGE BACKGROUND — deep dark luxury --- */
body {
  background: #0f0d0a !important;
  background-attachment: fixed !important;
}

/* --- 2. MAIN CONTAINER — warm ivory island --- */
main.container {
  background: transparent;
}

/* --- 3. LUXURY HEADER — dark glass --- */
header {
  background: rgba(15, 13, 10, 0.92) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18) !important;
  box-shadow: 0 1px 0 rgba(212, 175, 55, 0.08), 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

/* ============================================================
   FASE 6: CLEAN BOUTIQUE REDESIGN (Elegance & Performance)
   ============================================================ */

/* --- 1. BASE CLEAN (Pearl White) --- */
body {
  background-color: #FDFBF7 !important;
  color: #1A1A1A !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- 2. HEADER TRANSLÚCIDO E MINIMALISTA --- */
header,
header.scrolled {
  background: rgba(253, 251, 247, 0.85) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03) !important;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

header h1 {
  color: #1A1A1A !important;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

header nav a {
  color: #4A4A4A !important;
  font-weight: 500;
  letter-spacing: 0.03em;
  position: relative;
  transition: color 0.3s;
}

header nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #D4AF37;
  transition: width 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

header nav a:hover {
  color: #1A1A1A !important;
}

header nav a:hover::after {
  width: 100%;
}

#mobile-menu-button {
  color: #1A1A1A !important;
  background: transparent !important;
}

/* --- 3. ANGELA HERO (Soft Elegance) --- */
.angela-hero {
  background: linear-gradient(135deg, #FFFFFF 0%, #FDFBF7 100%) !important;
  border: 1px solid rgba(212, 175, 55, 0.1) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04) !important;
  position: relative;
  overflow: hidden;
}

/* Glow sutíl de fundo (champagne leak) */
.angela-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  background: radial-gradient(circle at 70% 30%, rgba(221, 184, 146, 0.08) 0%, transparent 40%);
  pointer-events: none;
  animation: slowPan 15s linear infinite alternate;
}

@keyframes slowPan {
  0% {
    transform: translateY(0) scale(1);
  }

  100% {
    transform: translateY(5%) scale(1.05);
  }
}

.angela-hero-avatar {
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15) !important;
  border: 1px solid rgba(212, 175, 55, 0.2) !important;
}

/* --- 4. TÍTULOS E TIPOGRAFIA ESCULPIDA --- */
.section-eyebrow-gold {
  color: #c49b28 !important;
  letter-spacing: 0.25em !important;
  font-weight: 600 !important;
  font-size: 0.75rem !important;
}

.section-title-premium {
  color: #1A1A1A !important;
  font-family: 'Playfair Display', serif;
  font-weight: 700 !important;
  line-height: 1.15;
}

.section-title-premium em {
  color: #c49b28 !important;
  font-style: italic;
  font-weight: 400;
}

.section-divider-line {
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent) !important;
}

.section-divider-diamond {
  background: #c49b28 !important;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2) !important;
}

/* --- 5. CAROUSEL (Cinematic Minimalism) --- */
.carousel-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 60%);
  pointer-events: none;
  z-index: 5;
}

.carousel-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 2.5rem;
}

.carousel-slide-caption h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
  margin-bottom: 0.5rem;
}

.carousel-slide-caption p {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.carousel-slide-caption .carousel-cta {
  display: inline-flex;
  background: #fff;
  color: #1A1A1A;
  padding: 0.8rem 2rem;
  font-weight: 600;
  border-radius: 99px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.carousel-slide-caption .carousel-cta:hover {
  transform: translateY(-3px);
}

.carousel-price-pill {
  background: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #fff !important;
}

/* --- 6. SABORES E CARDS (Float Effect) --- */
#sabores {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

.cake-card-premium {
  background: #FFFFFF !important;
  border-radius: 24px !important;
  border: 1px solid rgba(0, 0, 0, 0.04) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03) !important;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  will-change: transform;
}

.cake-card-premium:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(212, 175, 55, 0.15) !important;
}

.cake-card-premium .card-img-wrap {
  aspect-ratio: 4/3 !important;
  border-radius: 24px 24px 0 0 !important;
  overflow: hidden;
}

.cake-card-premium .card-img-wrap img {
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cake-card-premium:hover .card-img-wrap img {
  transform: scale(1.05);
}

.cake-card-premium .card-body {
  padding: 1.5rem !important;
}

.cake-card-premium .card-title {
  color: #1A1A1A !important;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
}

.cake-card-premium .card-desc {
  color: #666 !important;
  font-size: 0.85rem !important;
  line-height: 1.6 !important;
}

.cake-card-premium .card-price {
  color: #c49b28 !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  text-shadow: none !important;
}

.cake-card-premium .card-price small {
  color: #999 !important;
}

.badge-premium {
  background: #fff !important;
  color: #c49b28 !important;
  border: 1px solid rgba(212, 175, 55, 0.2) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* --- 7. BOTÕES DE ENCOMENDAR --- */
/* Estilo boutique: Dourado elegante sem gradientes agressivos */
.btn-primary-scatambulo {
  background: #D4AF37 !important;
  color: #fff !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25) !important;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s !important;
  border: none !important;
}

.btn-primary-scatambulo:hover {
  background: #c49b28 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35) !important;
}

.btn-secondary-scatambulo {
  background: rgba(212, 175, 55, 0.05) !important;
  color: #c49b28 !important;
  font-weight: 600 !important;
  border: 1px solid rgba(212, 175, 55, 0.2) !important;
}

.btn-secondary-scatambulo:hover {
  background: rgba(212, 175, 55, 0.1) !important;
}

/* --- 8. UI MOBILE ULTRA CLEAN --- */
#category-pill-nav {
  background: transparent !important;
  border-bottom: none !important;
  backdrop-filter: none !important;
  position: relative !important;
  top: auto !important;
  padding: 0.5rem 1rem 1rem !important;
  /* Respiro */
}

.category-pill {
  background: #fff !important;
  color: #666 !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
  font-weight: 500 !important;
  padding: 0.4rem 1rem !important;
  border-radius: 99px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  transition: all 0.2s !important;
}

.category-pill.active {
  background: #1A1A1A !important;
  color: #fff !important;
  border-color: #1A1A1A !important;
}

/* Esconder barra inferior intrusiva no mobile */
#mobile-bottom-bar {
  display: none !important;
}

/* Menu Burger Gaveta */
#mobile-menu {
  background: #FDFBF7 !important;
  border-left: 1px solid rgba(0, 0, 0, 0.05) !important;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.05) !important;
}

#mobile-menu nav a {
  color: #1A1A1A !important;
  font-weight: 500 !important;
}

#mobile-menu nav a:hover {
  background: rgba(212, 175, 55, 0.05) !important;
  color: #c49b28 !important;
}

#mobile-menu .border-b {
  border-color: rgba(0, 0, 0, 0.05) !important;
}


/* --- 10. BOTÃO BACK TO TOP --- */
button[aria-label="Voltar ao topo"] {
  background: #fff !important;
  color: #1A1A1A !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

/* --- 11. ANIMAÇÕES SCROLL REVEAL (Butter Smooth) --- */
.sr-item {
  opacity: 0;
  transform: translateY(40px);
  will-change: opacity, transform;
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sr-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Input Search Clean */
.search-wrap-premium input {
  background: #fff !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  color: #1A1A1A !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02) !important;
}

.search-wrap-premium input:focus {
  border-color: #D4AF37 !important;
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.1) !important;
}

.search-wrap-premium svg {
  color: #999;
}

/* Loader background */
#page-loader {
  background: #FDFBF7 !important;
}

.cake-card-premium .card-actions {
  position: relative;
  z-index: 10;
}

/* --- Page Transition Animation --- */
.page-animate-in {
  animation: pageFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Skeleton Shimmer --- */
.skeleton {
  background: linear-gradient(90deg,
      var(--bg-secondary) 25%,
      rgba(212, 175, 55, 0.1) 50%,
      var(--bg-secondary) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite linear;
  border-radius: 8px;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* --- Cascade Entrance --- */
.cascade-item {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity var(--transition-smooth), transform var(--transition-smooth);
}


.cascade-item.reveal {
  opacity: 1;
  transform: translateY(0);
}

.cascade-item:nth-child(1) {
  transition-delay: 0.1s;
}

.cascade-item:nth-child(2) {
  transition-delay: 0.2s;
}

.cascade-item:nth-child(3) {
  transition-delay: 0.3s;
}

.cascade-item:nth-child(4) {
  transition-delay: 0.4s;
}

.cascade-item:nth-child(5) {
  transition-delay: 0.5s;
}

.cascade-item:nth-child(6) {
  transition-delay: 0.6s;
}

.cascade-item:nth-child(7) {
  transition-delay: 0.7s;
}

.cascade-item:nth-child(8) {
  transition-delay: 0.8s;
}


/* --- Enhanced Active States --- */
.btn-gold-metallic:active,
.button-link:active,
.btn-encomendar-premium:active,
.filter-btn:active {
  transform: scale(0.97) !important;
  transition: transform 0.1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dark-mode .mobile-bottom-nav {
  background: rgba(10, 10, 10, 0.85);
  border-top-color: rgba(212, 175, 55, 0.1);
}

.dark-mode .mobile-bottom-nav a,
.dark-mode .mobile-bottom-nav button {
  color: #888;
}

/* ============================================================
   CONTRASTE — Sobrescritas para fundos escuros
   ============================================================ */

/* Título premium em seção de fundo escuro (ex: #sabores no menu) */
.section-title-premium--light {
  color: #fff !important;
}

.section-title-premium--light em {
  color: #D4AF37 !important;
}

/* Garante que section-title-premium em contexto escuro seja legível */
section[id="sabores"] .section-title-premium,
section.bg-dark .section-title-premium,
.dark-bg .section-title-premium {
  color: #fff;
}

/* ============================================================
   SCROLL REVEAL — Animação de entrada nos cards
   ============================================================ */

/* Estado inicial — invisível e deslocado para baixo */
.reveal-card {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Estado final — visível, após IntersectionObserver adicionar a classe */
.reveal-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Delay escalonado para cards em grid (aparece em sequência) */
.reveal-card:nth-child(1) { transition-delay: 0s; }
.reveal-card:nth-child(2) { transition-delay: 0.07s; }
.reveal-card:nth-child(3) { transition-delay: 0.14s; }
.reveal-card:nth-child(4) { transition-delay: 0.21s; }
.reveal-card:nth-child(5) { transition-delay: 0.28s; }
.reveal-card:nth-child(6) { transition-delay: 0.35s; }
.reveal-card:nth-child(7) { transition-delay: 0.42s; }
.reveal-card:nth-child(8) { transition-delay: 0.49s; }
.reveal-card:nth-child(n+9) { transition-delay: 0.56s; }

/* Respeita preferência do usuário por movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  .reveal-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   RODAPÉ RICO PREMIUM
   ============================================================ */

.footer-premium {
  background: linear-gradient(135deg, #24140a 0%, #140b05 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 40px 40px 0 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
  padding: 4rem 2rem 2rem;
  margin-top: 5rem;
  color: rgba(255, 255, 255, 0.55);
  font-family: 'DM Sans', 'Inter', sans-serif;
  position: relative;
}

.footer-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.6), transparent);
}

.footer-premium-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
}

@media (max-width: 768px) {
  .footer-premium-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #D4AF37;
  margin-bottom: 0.5rem;
}

.footer-brand-tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.footer-col-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.7);
  margin-bottom: 1rem;
}

.footer-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.footer-info-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #D4AF37;
  opacity: 0.7;
}

.footer-hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.4rem;
}

.footer-hours-row .day {
  color: rgba(255,255,255,0.38);
}

.footer-hours-row .time {
  color: rgba(255,255,255,0.65);
  font-variant-numeric: tabular-nums;
}

.footer-social-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.18);
  color: rgba(212, 175, 55, 0.7);
  transition: all 0.25s;
  text-decoration: none;
}

.footer-social-link:hover {
  background: rgba(212, 175, 55, 0.18);
  color: #D4AF37;
  transform: translateY(-2px);
}

.footer-social-link svg {
  width: 16px;
  height: 16px;
}

.footer-divider {
  max-width: 1100px;
  margin: 3rem auto 1.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.25), transparent);
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
}

.footer-bottom a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.2s;
}

/* ================================================================
   SCROLL PERFORMANCE OPTIMIZATIONS — 60 FPS
   ================================================================ */

/* CSS Containment em cards: o browser trata cada card como unidade
   isolada de layout/paint — nao precisa recalcular toda a pagina */
.cake-card-premium,
.pote-card,
.easter-card {
  contain: layout style paint;
}

/* content-visibility:auto: secoes fora da viewport sao puladas
   no render ate o usuario chegar nelas */
section {
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
}

/* Evita rubber-band scroll que causa jank extra no mobile */
html, body {
  overscroll-behavior-y: none;
}

/* Side tabs fixos — GPU layer proprio */
#side-tabs-container {
  transform: translateZ(0);
}

/* Floating cart group — GPU layer */
.fixed.bottom-24,
.fixed.bottom-8 {
  will-change: transform;
}


.footer-bottom a:hover {
  color: rgba(212,175,55,0.7);
}

/* --- SCROLL REVEAL ANIMATION --- */
.reveal-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* For users who prefer reduced motion, skip the animation */
@media (prefers-reduced-motion: reduce) {
  .reveal-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
