  :root {
    /* Cores escuras e clássicas */
    --primary: #8B0000;    /* Vermelho escuro */
    --primary-light: #A52A2A;
    --primary-dark: #660000;
    --secondary: #DAA520;   /* Dourado */
    --secondary-light: #F4A460;
    --accent: #556B2F;     /* Verde oliva escuro */
    --accent-light: #6B8E23;
    --accent-dark: #2F4F4F;
    --text: #F5F5DC;       /* Bege claro */
    --text-light: #FFF8DC;
    --bg: #2F2F2F;         /* Cinza escuro */
    --bg-light: #3C3C3C;   /* Cinza médio */
    --border: #696969;     /* Bordas cinza */
    --success: #228B22;    /* Verde floresta */
    --warning: #D2691E;    /* Laranja chocolate */
    
    /* Efeitos visuais */
    --radius: 8px;
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 6px 12px rgba(0, 0, 0, 0.4);
    --transition: all 0.3s ease;
    
    /* Degradês clássicos */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-accent: linear-gradient(135deg, var(--accent), var(--accent-light));
  }

  /* Estilo principal do modal */
  .swal2-popup {
    border-radius: var(--radius) !important;
    max-width: 95% !important;
    width: 100% !important;
    padding: 1rem !important;
    background: var(--bg) !important;
    box-shadow: var(--shadow) !important;
    font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif !important;
    border: 1px solid var(--border) !important;
    margin: 0.5rem !important;
    box-sizing: border-box !important;
    color: var(--text);
  }

  @media (min-width: 640px) {
    .swal2-popup {
      max-width: 500px !important;
      padding: 2rem !important;
    }
  }

  /* Título - estilo clássico */
  .swal2-title {
    color: var(--secondary) !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    text-align: center !important;
    position: relative;
    padding-bottom: 0.5rem;
    line-height: 1.3;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  }

  .swal2-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 2px;
    background: var(--secondary);
    border-radius: 3px;
  }

  /* Container do formulário */
  #formCalc {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  /* Grupos de campos */
  .form-group {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  /* Estilo dos labels */
  #formCalc label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  #formCalc label[required]::after {
    content: '*';
    color: var(--primary);
    margin-left: 0.25rem;
  }

  /* Ícones para os campos */
  #formCalc label[for="tipoEvento"]::before {
    content: '🎉';
  }
  #formCalc label[for="perfil"]::before {
    content: '👥';
  }
  #formCalc label[for="pessoas"]::before {
    content: '🧑‍🤝‍🧑';
  }

  /* Campos de entrada */
  #formCalc input[type="text"],
  #formCalc input[type="number"],
  #formCalc select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--bg-light);
    transition: var(--transition);
    box-sizing: border-box;
  }

  #formCalc input[type="text"]:focus,
  #formCalc input[type="number"]:focus,
  #formCalc select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 2px rgba(218, 165, 32, 0.3);
  }

  /* Estilo do select dropdown */
  #formCalc select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23DAA520'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
    padding-right: 2.5rem;
  }

  /* Grupo de checkboxes - estilo clássico */
  .checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1rem 0;
    justify-content: space-between;
  }

  .checkbox-item {
    position: relative;
    flex: 1 1 100px;
    min-width: 80px;
  }

  .checkbox-item label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.5rem;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    font-size: 0.85rem;
    color: var(--text);
  }

  /* Ícones para cada opção */
  .checkbox-item label::before {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
  }

  #salgado + label::before { content: '🍟'; }
  #bolo + label::before { content: '🎂'; }
  #doces + label::before { content: '🍬'; }

  .checkbox-item input[type="checkbox"]:checked + label {
    background-color: var(--primary);
    color: white;
    border-color: var(--secondary);
  }

  /* Grupo de botões */
  .button-group {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
  }

  /* Estilo dos botões */
  .swal2-styled {
    border-radius: 5px !important;
    padding: 0.75rem 1rem !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    transition: var(--transition) !important;
    flex: 1 !important;
    margin: 0 !important;
    letter-spacing: 0.5px;
    border: none !important;
    box-shadow: var(--shadow) !important;
  }

  .swal2-confirm {
    background: var(--gradient-primary) !important;
    color: white !important;
  }

  .swal2-confirm:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary)) !important;
    box-shadow: var(--shadow-hover) !important;
  }

  .swal2-cancel {
    background: var(--bg-light) !important;
    color: var(--text) !important;
    border: 1px solid var(--border) !important;
  }

  .swal2-cancel:hover {
    background: var(--primary) !important;
    color: white !important;
    box-shadow: var(--shadow-hover) !important;
  }

  /* Estilo do resultado */
  .result-container {
    text-align: left;
    width: 100%;
  }

  .result-box {
    background: var(--bg-light);
    border-radius: 5px;
    padding: 1rem;
    margin: 1rem 0;
    border: 1px solid var(--border);
    white-space: pre-wrap;
    line-height: 1.5;
    font-size: 0.95rem;
    overflow-wrap: break-word;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    color: var(--text);
  }

  .result-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--secondary);
  }

  .result-title {
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
  }

  .result-value {
    color: var(--text);
    padding-left: 0.75rem;
    position: relative;
    font-size: 0.9rem;
  }

  .result-value::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
  }

  /* Botão do WhatsApp */
  #enviarWhatsapp {
    background: var(--accent) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
  }

  #enviarWhatsapp:hover {
    background: var(--accent-dark) !important;
  }

  #enviarWhatsapp::before {
    content: '';
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3e%3cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-6.29-3.03c.545 1.37 1.698 2.506 2.05 2.683.349.174.553.148.756-.088.202-.238.861-1.011 1.089-1.358.228-.35.455-.291.756-.174.303.116 1.922.906 2.25 1.072.33.166.552.247.635.387.086.14.086.793-.19 1.644-.16.6-.487 1.127-.89 1.532-.356.356-.774.594-1.237.784-.665.272-1.392.425-2.203.457-.71.028-1.455-.096-2.101-.345-.82-.316-1.533-.855-2.202-1.533a8.96 8.96 0 01-1.675-2.258c-.45-.866-.753-1.803-.830-2.707-.08-.943.063-1.855.395-2.594.222-.49.618-.933.998-1.24.403-.324.88-.54 1.316-.66.43-.118.88-.15 1.3-.042.426.104.813.3 1.106.585.292.284.54.76.673 1.216.135.457.17.915.106 1.353z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    transition: var(--transition);
  }

  /* Mensagens de validação */
  .swal2-validation-message {
    background: rgba(139, 0, 0, 0.1) !important;
    color: var(--text) !important;
    border-left: 4px solid var(--primary) !important;
    font-weight: 600 !important;
    padding: 0.5rem !important;
    font-size: 0.85rem !important;
  }

  /* Loading animation */
  .swal2-loading {
    border-color: var(--primary) transparent var(--primary) transparent !important;
  }

      /* Estilo para o overlay de carregamento */
    .auto-load-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    .auto-load-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .auto-load-content {
        background: white;
        padding: 20px;
        border-radius: 10px;
        text-align: center;
        max-width: 300px;
    }

  /* Responsividade aprimorada */
  @media (max-width: 480px) {
    .swal2-popup {
      padding: 1rem !important;
      max-width: 98% !important;
      margin: 0.25rem !important;
    }
    
    .swal2-title {
      font-size: 1.3rem !important;
    }
    
    .checkbox-group {
      flex-direction: column;
      gap: 0.5rem;
    }
    
    .checkbox-item {
      flex: 1 1 auto;
      min-width: 100%;
    }
    
    .button-group {
      flex-direction: column;
      gap: 0.5rem;
    }
    
    .swal2-styled {
      width: 100% !important;
      padding: 0.75rem !important;
    }
    
    #formCalc input[type="text"],
    #formCalc input[type="number"],
    #formCalc select {
      padding: 0.65rem 0.9rem;
      font-size: 0.9rem;
    }
    
    .result-box {
      padding: 0.75rem;
      font-size: 0.9rem;
    }
  }
  
  /* Reset & Variáveis */
  :root {
      --marrom: #8B0000;
      --marrom-claro: #A52A2A;
      --bege: #D2B48C;
      --bege-escuro: #A08060;
      --branco: #2F2F2F;
      --cinza-claro: #3C3C3C;
      --sombra: 0 4px 8px rgba(0, 0, 0, 0.4);
      --sombra-hover: 0 6px 12px rgba(0, 0, 0, 0.5);
      --transicao: all 0.3s ease;
  }

  * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
  }

  body {
      font-family: 'Poppins', sans-serif;
      background-color: var(--branco);
      color: #F5F5DC;
      line-height: 1.6;
      overflow-x: hidden;
      font-family: 'Poppins', sans-serif;
  }

  /* Header Clássico */
  header {
      background: var(--cinza-claro);
      box-shadow: var(--sombra);
      padding: 15px 0;
      position: fixed;
      width: 100%;
      z-index: 1000;
      transition: var(--transicao);
      border-bottom: 1px solid var(--border);
  }

  .header-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
  }

  .logo {
      font-size: 1.8rem;
      font-weight: 700;
      color: var(--secondary);
      display: flex;
      align-items: center;
      text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  }

  .logo i {
      margin-right: 10px;
      color: var(--secondary-light);
  }

  .header-actions {
      display: flex;
      align-items: center;
      gap: 15px;
  }

  .header-cart-btn {
      background: none;
      border: none;
      color: var(--secondary);
      font-size: 1.5rem;
      cursor: pointer;
      position: relative;
      padding: 5px;
      transition: var(--transicao);
  }

  .header-cart-btn:hover {
      transform: scale(1.1);
      color: var(--secondary-light);
  }

  .menu-btn {
      background: none;
      border: none;
      font-size: 1.8rem;
      color: var(--secondary);
      cursor: pointer;
      transition: var(--transicao);
      display: none;
  }

  .menu-btn:hover {
      transform: scale(1.1);
      color: var(--secondary-light);
  }

  /* Menu de navegação mobile */
  .nav-mobile {
      position: fixed;
      top: 0;
      right: -100%;
      width: 80%;
      max-width: 300px;
      height: 100vh;
      background: var(--cinza-claro);
      box-shadow: -5px 0 15px rgba(0,0,0,0.5);
      z-index: 1001;
      transition: right 0.3s ease;
      padding: 80px 20px 20px;
      overflow-y: auto;
      border-left: 1px solid var(--border);
  }

  .nav-mobile.show {
      right: 0;
  }

  .nav-mobile a {
      display: block;
      padding: 12px 15px;
      margin-bottom: 10px;
      border-radius: 5px;
      color: var(--text);
      text-decoration: none;
      font-weight: 500;
      transition: var(--transicao);
      border: 1px solid transparent;
  }

  .nav-mobile a:hover, .nav-mobile a.active {
      background: var(--bg);
      border-color: var(--secondary);
  }

  .close-nav {
      position: absolute;
      top: 20px;
      right: 20px;
      font-size: 1.5rem;
      background: none;
      border: none;
      color: var(--text);
      cursor: pointer;
  }

  .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.7);
      z-index: 1000;
      opacity: 0;
      visibility: hidden;
      transition: var(--transicao);
  }

  .overlay.show {
      opacity: 1;
      visibility: visible;
  }

  .carousel-caption {
      position: absolute;
      bottom: 20px;
      left: 20px;
      right: 20px;
      background-color: rgba(0, 0, 0, 0.7);
      color: var(--text);
      padding: 15px;
      border-radius: 5px;
      max-width: 500px;
  }

  /* Indicadores de slide */
  .carousel-indicators {
      position: absolute;
      bottom: 10px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 8px;
      z-index: 2;
  }

  .carousel-indicator {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background-color: rgba(255, 255, 255, 0.5);
      cursor: pointer;
      transition: background-color 0.3s;
  }

  .carousel-indicator.active {
      background-color: var(--secondary);
  }

  /* Seção de Sabores */
  .sabores {
      padding: 5rem 0;
      background: var(--bg);
  }

  .section-title {
      font-size: 2.5rem;
      color: var(--secondary);
      text-align: center;
      margin-bottom: 1.5rem;
      position: relative;
      display: inline-block;
      left: 50%;
      transform: translateX(-50%);
      text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  }

  .section-title:after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 0;
      width: 100%;
      height: 3px;
      background: var(--secondary);
      border-radius: 2px;
  }

  .section-subtitle {
      text-align: center;
      color: var(--text-light);
      margin-bottom: 3rem;
      max-width: 700px;
      margin-left: auto;
      margin-right: auto;
      font-size: 1.1rem;
  }

  .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
  }

  /* Menu de Navegação de Sabores */
  .sabores-menu {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 3rem;
      position: sticky;
      top: 100px;
      background: var(--bg);
      padding: 15px 0;
      z-index: 99;
      box-shadow: 0 2px 10px rgba(0,0,0,0.2);
      border-bottom: 1px solid var(--border);
  }

  .sabores-menu a {
      padding: 10px 25px;
      background: var(--cinza-claro);
      color: var(--text);
      border-radius: 5px;
      text-decoration: none;
      font-weight: 500;
      transition: var(--transicao);
      display: flex;
      align-items: center;
      font-size: 0.95rem;
      white-space: nowrap;
      border: 1px solid var(--border);
  }

  .sabores-menu a i {
      margin-right: 8px;
      font-size: 0.9rem;
  }

  .sabores-menu a:hover, .sabores-menu a.active {
      background: var(--primary);
      color: var(--text);
      transform: translateY(-2px);
      box-shadow: var(--sombra);
      border-color: var(--secondary);
  }

  /* Categorias de Produtos */
  .categoria {
      margin: 4rem 0;
      scroll-margin-top: 150px;
  }

  .categoria h3 {
      font-size: 2rem;
      color: var(--secondary);
      margin-bottom: 2rem;
      padding-bottom: 0.8rem;
      border-bottom: 2px solid var(--bege);
      display: flex;
      align-items: center;
      text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  }

  .categoria h3 i {
      margin-right: 15px;
      color: var(--secondary-light);
  }

  /* Carrossel de Produtos */
  .carrossel-container {
      position: relative;
      width: 100%;
      overflow: hidden;
  }

  .carrossel {
      display: flex;
      gap: 1.5rem;
      padding: 1rem 0;
      scroll-snap-type: x mandatory;
      scroll-behavior: smooth;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
  }

  .carrossel::-webkit-scrollbar {
      display: none;
  }

  /* Cards de Produtos */
  .card {
      min-width: 280px;
      width: 280px;
      border-radius: 8px;
      overflow: hidden;
      background: var(--cinza-claro);
      box-shadow: var(--sombra);
      transition: var(--transicao);
      flex-shrink: 0;
      scroll-snap-align: start;
      border: 1px solid var(--border);
  }

  .card:hover {
      transform: translateY(-5px);
      box-shadow: var(--sombra-hover);
      border-color: var(--secondary);
  }

  .card-badge {
      position: absolute;
      top: 15px;
      right: 15px;
      background: var(--primary);
      color: var(--text);
      padding: 5px 12px;
      border-radius: 15px;
      font-size: 0.8rem;
      font-weight: 600;
      z-index: 2;
      border: 1px solid var(--secondary);
  }

  .card-img-container {
      height: 280px;
      overflow: hidden;
      position: relative;
  }

  .card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
  }

  .card:hover img {
      transform: scale(1.05);
  }

  .card-content {
      padding: 1.2rem;
      text-align: center;
      display: flex;
      flex-direction: column;
      height: calc(100% - 280px);
  }

  .card h3 {
      font-size: 1.3rem;
      color: var(--secondary);
      margin-bottom: 0.6rem;
      font-weight: 600;
      line-height: 1.3;
  }

  .card p {
      color: var(--text-light);
      margin-bottom: 1rem;
      font-size: 0.95rem;
      line-height: 1.5;
      flex-grow: 1;
      overflow: hidden;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
  }

  .card .btn {
      margin-top: auto;
      align-self: center;
  }

  .rating {
      color: var(--secondary);
      margin-bottom: 1rem;
      font-size: 0.9rem;
  }

  .rating .fa-star-half-alt {
      color: var(--secondary-light);
  }

  /* Botões */
  .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.9rem 2rem;
      background: var(--primary);
      color: var(--text);
      border-radius: 5px;
      text-decoration: none;
      font-weight: 600;
      border: none;
      cursor: pointer;
      transition: var(--transicao);
      box-shadow: var(--sombra);
      border: 1px solid var(--secondary);
  }

  .btn:hover {
      background: var(--primary-dark);
      transform: translateY(-3px);
      box-shadow: var(--sombra-hover);
  }

  .btn i {
      margin-right: 8px;
  }

  .btn-bege {
      background: var(--bege);
      color: var(--primary-dark);
  }

  .btn-bege:hover {
      background: var(--bege-escuro);
      color: var(--primary-dark);
  }

  .btn-outline {
      background: transparent;
      border: 2px solid var(--text);
      color: var(--text);
  }

  .btn-outline:hover {
      background: rgba(245, 245, 220, 0.1);
  }

  /* Botão do WhatsApp */
  .whatsapp-btn {
      position: fixed;
      bottom: 30px;
      right: 30px;
      width: 70px;
      height: 70px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 5px 25px rgba(37, 211, 102, 0.3);
      z-index: 90;
      color: white;
      font-size: 2rem;
      transition: all 0.3s ease;
      border: none;
      cursor: pointer;
      overflow: hidden;
      background: #25D366;
  }

  .whatsapp-btn img {
      width: 100%;
      height: 100%;
      object-fit: cover;
  }

  .whatsapp-btn:hover {
      transform: scale(1.1);
      box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
  }

  /* Carrinho */
  .carrinho-btn {
      position: fixed;
      bottom: 100px;
      right: 30px;
      background: var(--primary);
      width: 70px;
      height: 70px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: var(--sombra);
      cursor: pointer;
      z-index: 90;
      color: var(--text);
      font-size: 1.8rem;
      transition: var(--transicao);
      border: none;
      border: 1px solid var(--secondary);
  }

  .carrinho-btn:hover {
      transform: scale(1.1);
      box-shadow: var(--sombra-hover);
  }

  .carrinho-btn.pulse {
      animation: pulse 0.5s ease-in-out;
  }

  @keyframes pulse {
      0% { transform: scale(1); }
      50% { transform: scale(1.2); }
      100% { transform: scale(1); }
  }

  .carrinho-contador {
      position: absolute;
      top: -5px;
      right: -5px;
      background: var(--secondary);
      color: var(--primary-dark);
      width: 28px;
      height: 28px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.9rem;
      font-weight: bold;
      border: 2px solid var(--cinza-claro);
  }

  /* Modal Carrinho */
  .modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.7);
      z-index: 1000;
      justify-content: center;
      align-items: center;
      opacity: 0;
      transition: opacity 0.3s ease;
  }

  .modal.show {
      opacity: 1;
      display: flex;
  }

  .modal-content {
      background: var(--cinza-claro);
      border-radius: 8px;
      width: 95%;
      max-width: 500px;
      max-height: 85vh;
      overflow-y: auto;
      padding: 2rem;
      box-shadow: 0 10px 40px rgba(0,0,0,0.4);
      transform: translateY(20px);
      transition: transform 0.3s ease;
      border: 1px solid var(--border);
  }

  .modal.show .modal-content {
      transform: translateY(0);
  }

  .modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1.5rem;
      padding-bottom: 1.5rem;
      border-bottom: 1px solid var(--border);
  }

  .modal-title {
      font-size: 1.8rem;
      color: var(--secondary);
      display: flex;
      align-items: center;
  }

  .modal-title i {
      margin-right: 10px;
  }

  .close-modal {
      background: none;
      border: none;
      font-size: 2rem;
      cursor: pointer;
      color: var(--text);
      transition: var(--transicao);
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
  }

  .close-modal:hover {
      background: var(--bg);
      transform: rotate(90deg);
  }

  .carrinho-item {
      display: flex;
      margin-bottom: 1.5rem;
      padding-bottom: 1.5rem;
      border-bottom: 1px solid var(--border);
      align-items: center;
      transition: var(--transicao);
  }

  .carrinho-item:last-child {
      margin-bottom: 0;
      padding-bottom: 0;
      border-bottom: none;
  }

  .carrinho-item-img {
      width: 70px;
      height: 70px;
      object-fit: cover;
      border-radius: 5px;
      margin-right: 1.5rem;
      box-shadow: 0 3px 10px rgba(0,0,0,0.2);
      border: 1px solid var(--border);
  }

  .carrinho-item-info {
      flex: 1;
  }

  .carrinho-item-nome {
      font-weight: 600;
      margin-bottom: 0.5rem;
      color: var(--secondary);
  }

  .carrinho-item-acoes {
      display: flex;
      align-items: center;
      margin-top: 0.5rem;
  }

  .carrinho-item-quantidade {
      margin: 0 0.8rem;
      min-width: 25px;
      text-align: center;
      font-weight: 500;
      color: var(--text);
  }

  .acao-btn {
      background: var(--bege);
      border: none;
      width: 28px;
      height: 28px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-weight: bold;
      transition: var(--transicao);
      color: var(--primary-dark);
      border: 1px solid var(--border);
  }

  .acao-btn:hover {
      background: var(--bege-escuro);
      transform: scale(1.1);
  }

  .remover-btn {
      background: none;
      border: none;
      color: var(--primary-light);
      margin-left: 1rem;
      cursor: pointer;
      font-size: 0.9rem;
      display: flex;
      align-items: center;
      transition: var(--transicao);
  }

  .remover-btn i {
      margin-right: 5px;
  }

  .remover-btn:hover {
      color: var(--primary);
      transform: translateX(3px);
  }

  .finalizar-btn {
      width: 100%;
      margin-top: 2rem;
      padding: 1rem;
      font-size: 1.1rem;
      display: flex;
      justify-content: center;
      background: var(--primary);
      border: 1px solid var(--secondary);
  }

  .finalizar-btn i {
      margin-left: 8px;
  }

  .carrinho-vazio {
      text-align: center;
      padding: 3rem 0;
      color: var(--text-light);
  }

  .carrinho-vazio i {
      font-size: 3rem;
      margin-bottom: 1.5rem;
      color: var(--bege);
  }

  .carrinho-vazio p {
      margin-bottom: 1.5rem;
  }

  /* Toast Notification */
  .toast {
      position: fixed;
      bottom: 30px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--primary);
      color: var(--text);
      padding: 15px 25px;
      border-radius: 5px;
      box-shadow: var(--sombra);
      z-index: 1000;
      display: flex;
      align-items: center;
      opacity: 0;
      transition: opacity 0.3s ease;
      border: 1px solid var(--secondary);
  }

  .toast.show {
      opacity: 1;
  }

  .toast i {
      margin-right: 10px;
      font-size: 1.2rem;
  }

  /* Loading Spinner */
  .spinner {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(47, 47, 47, 0.8);
      z-index: 2000;
      justify-content: center;
      align-items: center;
  }

  .spinner.show {
      display: flex;
  }

  .spinner-icon {
      width: 50px;
      height: 50px;
      border: 5px solid var(--bege);
      border-top-color: var(--primary);
      border-radius: 50%;
      animation: spin 1s linear infinite;
  }

  @keyframes spin {
      to { transform: rotate(360deg); }
  }

  /* Responsivo Aprimorado */
  @media (max-width: 992px) {
      .hero h1 {
          font-size: 2.5rem;
      }
      
      .menu-btn {
          display: block;
      }
      
      .header-actions {
          gap: 10px;
      }
  }

  @media (max-width: 768px) {
      .section-title {
          font-size: 1.8rem;
      }
      
      .section-subtitle {
          font-size: 1rem;
          margin-bottom: 2rem;
      }
      
      .sabores-menu {
          top: 100px;
          padding: 10px 15px;
          justify-content: flex-start;
          overflow-x: auto;
          scroll-snap-type: x mandatory;
          white-space: nowrap;
          flex-wrap: nowrap;
          -webkit-overflow-scrolling: touch;
      }
      
      .sabores-menu a {
          scroll-snap-align: start;
          padding: 8px 18px;
          font-size: 0.85rem;
      }
      
      .categoria h3 {
          font-size: 1.5rem;
          padding-left: 10px;
      }
      
      .modal-content {
          padding: 1.5rem;
          width: 95%;
          max-width: 95%;
      }
      
      .carrinho-item {
          flex-direction: column;
          align-items: flex-start;
      }
      
      .carrinho-item-img {
          margin-right: 0;
          margin-bottom: 1rem;
          width: 100%;
          height: auto;
          object-fit: cover;
      }
      
      .whatsapp-btn {
          width: 60px;
          height: 60px;
          font-size: 1.8rem;
          bottom: 20px;
          right: 20px;
      }
      
      .header-cart-btn {
          font-size: 1.3rem;
      }
  }

  @media (max-width: 480px) {
      .section-title {
          font-size: 1.6rem;
      }
      
      .btn {
          padding: 0.7rem 1.3rem;
          font-size: 0.85rem;
          width: 100%;
      }
      
      .btn-container {
          flex-direction: column;
          width: 100%;
      }
      
      .categoria h3 {
          font-size: 1.3rem;
      }
      
      .container {
          padding: 0 10px;
      }
      
      .whatsapp-btn {
          width: 50px;
          height: 50px;
          font-size: 1.5rem;
          bottom: 15px;
          right: 15px;
      }
      
      .toast {
          width: 90%;
          text-align: center;
          padding: 12px 15px;
          font-size: 0.9rem;
      }
  }

  /* Design Clássico para Menu de Categorias */
  .category-nav {
      padding: 3rem 1rem;
      background: var(--bg);
  }
  
  .category-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
      max-width: 1400px;
      margin: 0 auto;
  }
  
  .category-card {
      display: block;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: var(--sombra);
      transition: var(--transicao);
      text-decoration: none;
      color: var(--text);
      background: var(--cinza-claro);
      position: relative;
      height: 100%;
      border: 1px solid var(--border);
  }
  
  .category-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--sombra-hover);
      border-color: var(--secondary);
  }
  
  .category-image {
      height: 200px;
      position: relative;
      overflow: hidden;
  }
  
  .category-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
  }
  
  .category-card:hover .category-image img {
      transform: scale(1.05);
  }
  
  .category-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%);
  }
  
  .category-content {
      padding: 1.5rem;
      position: relative;
  }
  
  .category-content h3 {
      font-family: 'Playfair Display', serif;
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
      color: var(--secondary);
  }
  
  .category-link {
      color: var(--secondary-light);
      font-weight: 600;
      font-size: 0.9rem;
      display: inline-flex;
      align-items: center;
      transition: all 0.3s ease;
  }
  
  .category-link i {
      margin-left: 5px;
      font-size: 0.8rem;
      transition: transform 0.3s ease;
  }
  
  .category-card:hover .category-link {
      color: var(--secondary);
  }
  
  .category-card:hover .category-link i {
      transform: translateX(3px);
  }
  
  /* Responsividade */
  @media (max-width: 1024px) {
      .category-grid {
          gap: 1.5rem;
      }
      
      .category-image {
          height: 180px;
      }
  }
  
  @media (max-width: 768px) {
      .category-grid {
          grid-template-columns: repeat(2, 1fr);
      }
      
      .category-content {
          padding: 1.2rem;
      }
      
      .category-content h3 {
          font-size: 1.3rem;
      }
  }
  
  @media (max-width: 480px) {
      .category-nav {
          padding: 2rem 1rem;
      }
      
      .category-grid {
          grid-template-columns: 1fr;
          gap: 1.5rem;
      }
      
      .category-image {
          height: 160px;
      }
  }

  /* Ajustes para o carrossel principal */
  .carrossel-container {
      position: relative;
      overflow: hidden;
  }
  
  .carrossel {
      display: flex;
      transition: transform 0.5s ease;
      overflow-x: auto;
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none; /* Firefox */
      -ms-overflow-style: none; /* IE e Edge */
  }
  
  .carrossel::-webkit-scrollbar {
      display: none; /* Chrome, Safari e Opera */
  }
  
  .carrossel-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background-color: rgba(0, 0, 0, 0.7);
      color: white;
      border: none;
      border-radius: 50%;
      width: 40px;
      height: 40px;
      font-size: 20px;
      cursor: pointer;
      z-index: 10;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
      border: 1px solid var(--border);
  }
  
  .carrossel-btn:hover {
      background-color: var(--primary);
  }
  
  .carrossel-btn.prev {
      left: 10px;
  }
  
  .carrossel-btn.next {
      right: 10px;
  }
  
  .carousel-indicators {
      position: absolute;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 10px;
      z-index: 5;
  }
  
  .carousel-indicator {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background-color: rgba(255, 255, 255, 0.5);
      cursor: pointer;
      transition: background-color 0.3s ease;
  }
  
  .carousel-indicator.active {
      background-color: var(--secondary);
  }

  .calculadora-btn {
      position: fixed;
      bottom: 20px;
      left: 20px;
      background: var(--primary);
      color: var(--text);
      border: none;
      border-radius: 5px;
      padding: 12px 20px;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      box-shadow: var(--sombra);
      z-index: 999;
      display: flex;
      align-items: center;
      gap: 8px;
      transition: all 0.3s ease;
      border: 1px solid var(--secondary);
  }
  
  .calculadora-btn:hover {
      transform: translateY(-3px);
      box-shadow: var(--sombra-hover);
      background: var(--primary-dark);
  }
  
  .calculadora-btn:active {
      transform: translateY(1px);
  }
  
  .calculadora-btn i {
      font-size: 18px;
  }
  
  @media (max-width: 768px) {
      .calculadora-btn {
          bottom: 15px;
          left: 15px;
          padding: 10px 16px;
          font-size: 14px;
      }
  }

  .hero-carousel {
      position: relative;
      width: 100%;
      overflow: hidden;
      margin: 0 auto;
  }

  .carousel-track {
      display: flex;
      transition: transform 0.5s ease-in-out;
      height: 100%;
  }

  .carousel-slide {
      min-width: 100%;
      box-sizing: border-box;
  }

  .carousel-slide img {
      width: 100%;
      height: auto;
      display: block;
  }

  /* Estilo para navegação (opcional) */
  .carousel-nav {
      text-align: center;
      margin-top: 10px;
  }

  .carousel-indicator {
      display: inline-block;
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background-color: var(--border);
      margin: 0 5px;
      cursor: pointer;
  }

  .carousel-indicator.active {
      background-color: var(--secondary);
  }

  footer {
      background-color: var(--primary-dark);
      color: var(--text);
      padding: 40px 0 20px;
      border-top: 1px solid var(--secondary);
  }
  
  .footer-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 30px;
  }
  
  .footer-section h3 {
      font-size: 1.3rem;
      margin-bottom: 20px;
      position: relative;
      padding-bottom: 10px;
      color: var(--secondary);
  }
  
  .footer-section h3::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      width: 50px;
      height: 2px;
      background-color: var(--secondary);
  }
  
  .footer-section p, 
  .footer-section a {
      color: var(--text-light);
      margin-bottom: 10px;
      display: block;
      text-decoration: none;
      transition: color 0.3s;
  }
  
  .footer-section a:hover {
      color: var(--secondary);
  }
  
  .social-links {
      display: flex;
      gap: 15px;
      margin-top: 15px;
  }
  
  .social-links a {
      font-size: 1.5rem;
      color: var(--text-light);
  }
  
  .social-links a:hover {
      color: var(--secondary);
  }
  
  .opening-hours p {
      display: flex;
      justify-content: space-between;
      max-width: 250px;
  }
  
  .opening-hours span {
      text-align: right;
  }
  
  .footer-bottom {
      text-align: center;
      padding-top: 30px;
      margin-top: 30px;
      border-top: 1px solid rgba(218, 165, 32, 0.3);
  }
  
  .footer-bottom p {
      font-size: 0.9rem;
      color: var(--text-light);
  }
  
  .developer-credit {
      font-size: 0.8rem;
      margin-top: 5px;
  }
  
  /* Responsividade */
  @media (max-width: 768px) {
      .footer-container {
          grid-template-columns: 1fr;
          gap: 20px;
      }
      
      .footer-section {
          margin-bottom: 20px;
      }
      
      .footer-section h3 {
          margin-bottom: 15px;
      }
  }

  /* Menu Mobile Horizontal */
  .mobile-category-nav {
      display: none; /* Escondido por padrão */
      padding: 1rem 0;
      background: var(--bg);
      border-bottom: 1px solid var(--border);
  }
  
  .mobile-category-scroll {
      display: flex;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      gap: 1rem;
      padding: 0 1rem;
      -webkit-overflow-scrolling: touch; /* Suave no iOS */
      scrollbar-width: none; /* Esconde no Firefox */
  }
  
  .mobile-category-scroll::-webkit-scrollbar {
      display: none; /* Esconde no Chrome/Safari */
  }
  
  .mobile-category-card {
      scroll-snap-align: start;
      flex: 0 0 150px;
      text-decoration: none;
      color: var(--text);
      text-align: center;
  }
  
  .mobile-category-image {
      width: 120px;
      height: 120px;
      border-radius: 8px;
      overflow: hidden;
      margin: 0 auto;
      box-shadow: var(--sombra);
      border: 1px solid var(--border);
  }
  
  .mobile-category-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
  }
  
  .mobile-category-card h3 {
      margin-top: 0.5rem;
      font-size: 0.9rem;
      font-weight: 600;
  }
  
  /* Mostrar apenas em mobile */
  @media (max-width: 768px) {
      .mobile-category-nav {
          display: block;
      }
      
      /* Esconder o menu de desktop em mobile */
      .category-nav {
          display: none;
      }
  }
  
  /* Ajustes para telas muito pequenas */
  @media (max-width: 480px) {
      .mobile-category-card {
          flex: 0 0 130px;
      }
      
      .mobile-category-image {
          width: 100px;
          height: 100px;
      }
  }

  @media (max-width: 768px) {
    .btn {
        min-height: 44px;
        padding: 12px 20px;
    }
    
    .finalizar-btn {
        width: 100%;
        margin-top: 15px;
    }
}

/* Estilização para botões da calculadora em mobile */
.calculadora-botao {
  min-height: 48px; /* Tamanho mínimo recomendado para toque */
  min-width: 48px;
  padding: 12px 16px;
  font-size: 18px;
  touch-action: manipulation; /* Melhora a responsividade ao toque */
  -webkit-tap-highlight-color: transparent; /* Remove highlight padrão */
}

/* Feedback visual para toque */
.calculadora-botao:active {
  transform: scale(0.95);
  background-color: #ddd;
}

/* Melhor espaçamento entre botões */
.calculadora-botoes {
  gap: 8px; /* Usando gap em vez de margin para melhor controle */
  padding: 8px;
}

/* Estilização para botão de finalizar pedido em mobile */
.botao-finalizar {
  min-height: 44px; /* Tamanho mínimo recomendado pela Apple */
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  position: fixed;
  bottom: 20px;
  left: 5%;
  right: 5%;
  width: 90%;
  z-index: 1000; /* Garante que fique acima de outros elementos */
  border-radius: 24px; /* Cantos arredondados para estética mobile */
  box-shadow: 0 4px 12px rgba(0,0,0,0.15); /* Sombra para destaque */
}

/* Feedback visual para o botão */
.botao-finalizar:active {
  transform: translateY(2px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Garantir que não haja conflito com gestos de navegador */
@media (max-width: 768px) {
  .botao-finalizar {
    touch-action: manipulation;
  }
}

/* Viewport e prevenção de zoom indesejado */
@media (max-width: 768px) {
  input, select, textarea, button {
    font-size: 16px; /* Previne zoom automático no iOS */
  }
  
  /* Melhorar a área de toque para todos os elementos interativos */
  .botao-interativo {
    min-height: 44px;
    min-width: 44px;
    padding: 12px;
  }
}

/* Prevenir highlight azul padrão ao tocar */
* {
  -webkit-tap-highlight-color: transparent;
}

/* Melhorar a responsividade de inputs em mobile */
input[type="number"], input[type="text"] {
  font-size: 16px; /* Previne zoom em iOS */
  padding: 12px;
  border-radius: 8px;
}