/* ============================================================
       ACESSIBILIDADE — WCAG 2.1 AA
    ============================================================ */
    .sr-only {
      position: absolute !important;
      width: 1px; height: 1px;
      padding: 0; margin: -1px;
      overflow: hidden;
      clip: rect(0,0,0,0);
      white-space: nowrap;
      border: 0;
    }
    .skip-link {
      position: fixed;
      top: -200%;
      left: 50%;
      transform: translateX(-50%);
      z-index: 999999;
      background: var(--red);
      color: var(--cream) !important;
      font-family: 'Oswald', sans-serif;
      font-weight: 700;
      font-size: 0.9rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      padding: 0.85rem 2rem;
      border-radius: 0 0 10px 10px;
      text-decoration: none;
      box-shadow: 0 6px 24px rgba(0,0,0,0.3);
      transition: top 0.15s ease;
    }
    .skip-link:focus { top: 0; outline: 3px solid var(--amber) !important; outline-offset: 4px; }

    /* Focus visível robusto */
    *:focus { outline: none; }
    *:focus-visible {
      outline: 3px solid var(--amber) !important;
      outline-offset: 3px !important;
      border-radius: 3px !important;
    }
    .cart-drawer *:focus-visible,
    .checkout-modal *:focus-visible { outline-color: var(--amber-light) !important; }

    /* Prefers-reduced-motion */
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.1ms !important;
        transition-delay: 0ms !important;
      }
      html { scroll-behavior: auto; }
      .pizza-scene { animation: none !important; }
    }
    /* High-contrast */
    @media (forced-colors: active) {
      .btn-add-cart, .btn-checkout, .btn-whatsapp-send { border: 2px solid ButtonText; }
      .produto-card.selected, .sabor-chip.selected { outline: 3px solid Highlight !important; }
    }

    /* ============================================================
       ACESSIBILIDADE — WCAG 2.1 AA
    ============================================================ */
    .sr-only {
      position: absolute !important;
      width: 1px; height: 1px; padding: 0; margin: -1px;
      overflow: hidden; clip: rect(0,0,0,0);
      white-space: nowrap; border: 0;
    }
    .skip-link {
      position: fixed; top: -200%; left: 50%;
      transform: translateX(-50%); z-index: 999999;
      background: var(--red); color: var(--cream) !important;
      font-family: 'Oswald', sans-serif; font-weight: 700;
      font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase;
      padding: 0.9rem 2rem; border-radius: 0 0 10px 10px;
      text-decoration: none; box-shadow: 0 6px 24px rgba(0,0,0,0.35);
      transition: top 0.15s ease;
    }
    .skip-link:focus { top: 0; outline: 3px solid var(--amber) !important; outline-offset: 4px; }

    *:focus { outline: none; }
    *:focus-visible {
      outline: 3px solid var(--amber) !important;
      outline-offset: 3px !important;
      border-radius: 4px !important;
    }
    /* Em fundos escuros use anel mais claro */
    .cart-drawer *:focus-visible,
    .checkout-modal *:focus-visible,
    .pa-hero *:focus-visible { outline-color: var(--amber-light) !important; }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration:        0.01ms !important;
        animation-iteration-count: 1      !important;
        transition-duration:       0.1ms  !important;
        transition-delay:          0ms    !important;
      }
      html { scroll-behavior: auto; }
      .cart-drawer, .checkout-modal { transition: none !important; }
      .pa-toast { transition: none !important; }
    }
    @media (forced-colors: active) {
      .btn-add-cart, .btn-checkout, .btn-whatsapp-send,
      .produto-card.selected, .sabor-chip.selected { border: 2px solid Highlight; }
    }
    

    

    /* ============================================================
       PASSO — STEP HEADERS
    ============================================================ */
    .pa-main { padding: 40px 0 50px; }

    .step-header {
      display: flex; align-items: center; gap: 0.8rem;
      margin-bottom: 1rem;
    }
    .step-badge {
      width: 32px; height: 32px; border-radius: 50%;
      background: var(--red); color: var(--cream);
      font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 0.95rem;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .step-title {
      font-family: 'Oswald', sans-serif; font-weight: 900;
      font-size: 1.6rem; color: var(--text-main);
    }
    .step-title span { color: var(--red); }

    /* ============================================================
       PASSO 1 — ESCOLHA SUA PIZZA (tamanho + tipo + preço juntos)
    ============================================================ */
   .produto-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.6rem;
}

.produto-card {
  flex: 1 1 calc(50% - 1rem); /* dois por linha */
  max-width: calc(50% - 1rem);
  background: var(--white);
  border: 2px solid rgba(139,28,28,0.1);
  border-radius: 16px;
  padding: 1.2rem 1.3rem;
  cursor: pointer;
  transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s, background 0.25s;
  position: relative;
  display: flex;
  align-items: center; /* conteúdo inline */
}

.produto-card:hover { 
  border-color: rgba(139,28,28,0.3); 
  transform: translateY(-2px); 
}

.produto-card.selected {
  border: 3px solid var(--red);
  background: rgba(255, 255, 255, 0.950);
  box-shadow: 0 8px 24px rgba(139,28,28,0.12);
}

.produto-card-emoji { 
  font-size: 1.7rem; 
  margin-right: 0.8rem; 
}

.tamanho-pizza {
  display: flex;
  flex-direction: column;
  margin-right: auto; /* empurra o preço para a direita */
}

.produto-card-tamanho {
  font-family: 'Oswald', sans-serif; 
  font-weight: 700; 
  font-size: 1rem;
  color: var(--text-main); 
  margin-bottom: 0.15rem;
}

.produto-card-tipo {
  font-family: 'Oswald', sans-serif; 
  font-size: 0.75rem; 
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase; 
  color: var(--brown);
  opacity: 0.6;
}

.produto-card.selected .produto-card-tipo { 
  color: var(--red); 
  opacity: 1; 
}

.produto-card-price {
  margin-left: auto; /* empurra para a direita */
  font-family: 'Oswald', sans-serif; 
  font-weight: 900; 
  font-size: 1.35rem;
  color: var(--red);
  margin-right: 2rem;
}

.produto-card-check {
  position: absolute; 
  top: 0.7rem; 
  right: 0.7rem;
  width: 24px; 
  height: 24px; 
  border-radius: 50%;
  background: var(--red); 
  color: var(--cream);
  display: flex; 
  align-items: center; 
  justify-content: center;
  font-size: 0.75rem; 
  opacity: 0; 
  transform: scale(0.6);
  transition: opacity 0.2s, transform 0.2s;
}

.produto-card.selected .produto-card-check { 
  opacity: 1; 
  transform: scale(1); 
}
@media (max-width: 768px) {
  .produto-card {
    flex: 1 1 100%; /* em telas menores ocupa toda a largura */
    max-width: 100%;
  }
}


    /* ============================================================
       PASSO 2 — SABORES
    ============================================================ */
    .sabor-section {
      background: var(--white);
      border: 1px solid rgba(139,28,28,0.08);
      border-radius: 16px;
      padding: 1.4rem;
      margin-bottom: 1.5rem;
    }
    .sabor-section-rule {
      font-family: 'Oswald', sans-serif; font-size: 0.78rem;
      color: var(--brown); margin: -0.3rem 0 1.2rem 2.85rem;
      line-height: 1.6;
    }
    .sabor-section-rule strong { color: var(--red); text-decoration: underline; text-decoration-color: rgba(139,28,28,0.3); }

    .sabor-counter {
      display: inline-flex; align-items: center; gap: 6px;
      font-family: 'Oswald', sans-serif; font-size: 0.5rem; font-weight: 700;
      letter-spacing: 0.08em; text-transform: uppercase;
      background: var(--cream-dark); color: var(--brown);
      padding: 0.3rem 0.7rem; border-radius: 16px;
      margin-left: auto; white-space: nowrap;
    }
    .sabor-counter.complete { background: var(--red); color: var(--cream); }

    /* Category tabs — rounded pill toggle */
    .sabor-cat-tabs {
      display: inline-flex; background: var(--cream-dark);
      border-radius: 19px; padding: 4px; margin-bottom: 1.3rem;
      gap: 4px;
    }
    .sabor-cat-tab {
      font-family: 'Oswald', sans-serif; font-size: 0.78rem; font-weight: 600;
      letter-spacing: 0.06em; text-transform: uppercase;
      color: var(--brown); padding: 0.55rem 1.3rem; border-radius: 14px;
      background: none; border: none; cursor: pointer; transition: background 0.2s, color 0.2s;
    }
    .sabor-cat-tab.active { background: var(--red); color: var(--cream); }

    /* Sabor pills */
    .sabor-grid {
      display: none;
      flex-wrap: wrap; gap: 0.6rem;
    }
    .sabor-grid.active { display: flex; }
    .sabor-chip {
      border: 2px solid rgba(139,28,28,0.12); border-radius: 16px;
      padding: 0.6rem 1.1rem 0.6rem 0.5rem;
      font-family: 'Oswald', sans-serif; font-size: 0.85rem; font-weight: 500;
      color: var(--text-main);
      cursor: pointer; transition: border-color 0.2s, background 0.2s, color 0.2s, opacity 0.2s;
      display: inline-flex; align-items: center; gap: 0.5rem;
      user-select: none; background: var(--cream);
    }
    .sabor-chip .chip-check {
      width: 18px; height: 18px; border-radius: 50%;
      border: 2px solid rgba(139,28,28,0.22);
      display: flex; align-items: center; justify-content: center;
      font-size: 0.6rem; flex-shrink: 0; transition: all 0.2s; background: var(--white);
    }
    .sabor-chip:hover { border-color: var(--red); }
    .sabor-chip.selected {
      border-color: var(--red); background: var(--red); color: var(--cream);
    }
    .sabor-chip.selected .chip-check {
      background: var(--cream); border-color: var(--cream); color: var(--red);
    }
    .sabor-chip.disabled { opacity: 0.35; cursor: not-allowed; pointer-events: none; }

    /* ============================================================
       BARRA FIXA — adicionar ao carrinho (sempre visível)
    ============================================================ */
    .sticky-bar {
      position: sticky; bottom: 0; left: 0; right: 0; z-index: 600;
      background: var(--white);
      /* border-top: 1px solid rgba(139,28,28,0.1); */
      border-top: 2px solid rgb(139 28 28 / 74%);
      box-shadow: 0 -8px 30px rgba(26,14,8,0.1);
      border-radius: 18px 18px 0 0;
      padding: 0.9rem 3vw;
      display: flex; align-items: center; gap: .2rem;
    }
    .sticky-bar-info { flex: 1; min-width: 0; }
    .sticky-bar-product {
      font-family: 'Oswald', sans-serif; font-size: 0.7rem; font-weight: 700;
      letter-spacing: 0.1em; text-transform: uppercase; color: var(--red);
      margin-bottom: 0.15rem;
    }
    .sticky-bar-sabores {
      font-family: 'Oswald', sans-serif; font-size: 0.85rem; color: var(--text-main);
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .sticky-bar-sabores.empty {
      color: rgba(92,58,30,0.45); font-style: italic;
      font-family: 'Libre Baskerville', serif; font-size: 0.82rem;
    }

    .qty-stepper {
      display: flex; align-items: center; gap: 0;
      border: 2px solid rgba(139,28,28,0.12); border-radius: 16px; overflow: hidden;
      flex-shrink: 0;
    }
    .qty-btn {
      width: 34px; height: 36px; border: none; background: var(--cream-dark);
      font-family: 'Oswald', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--red);
      cursor: pointer; transition: background 0.2s;
    }
    .qty-btn:hover { background: rgba(139,28,28,0.15); }
    .qty-val {
      width: 38px; text-align: center; font-family: 'Oswald', sans-serif;
      font-weight: 700; font-size: 0.95rem; color: var(--text-main);
    }
    .btn-add-cart {
      background: var(--red); color: var(--cream);
      font-family: 'Oswald', sans-serif; font-size: 0.75rem; font-weight: 700;
      letter-spacing: 0.08em; text-transform: uppercase;
      padding: 0.75rem 1.4rem; border: none; border-radius: 16px;
      cursor: pointer; transition: background 0.2s, transform 0.2s, opacity 0.2s;
      white-space: nowrap; flex-shrink: 0;
    }
    .btn-add-cart:hover:not(:disabled) { background: var(--red-mid); transform: translateY(-2px); }
    .btn-add-cart:disabled { opacity: 0.35; cursor: not-allowed; }

    /* ============================================================
       NAV — CART BUTTON
    ============================================================ */
    .nav-right { display: flex; align-items: center; gap: 1.1rem; }
    .nav-cart-btn {
      position: relative;
      width: 42px; height: 42px; border-radius: 50%;
      background: var(--red); color: var(--cream);
      display: flex; align-items: center; justify-content: center;
      font-size: 1.2rem; border: none; cursor: pointer;
      transition: transform 0.2s, background 0.2s;
      flex-shrink: 0;
    }
    .nav-cart-btn:hover { background: var(--red-mid); transform: scale(1.06); }
    .nav-cart-badge {
      position: absolute; top: -4px; right: -4px;
      background: var(--amber); color: var(--dark);
      font-family: 'Oswald', sans-serif; font-size: 0.65rem; font-weight: 700;
      min-width: 20px; height: 20px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      border: 2px solid var(--cream);
    }
    .nav-cart-badge.hidden { display: none; }

    /* ============================================================
       OVERLAY (shared by cart drawer and checkout modal)
    ============================================================ */
    .pa-overlay {
      position: fixed; inset: 0; background: rgba(0,0,0,0.55);
      backdrop-filter: blur(3px); z-index: 800;
      opacity: 0; pointer-events: none; transition: opacity 0.3s;
    }
    .pa-overlay.open { opacity: 1; pointer-events: all; }

    /* ============================================================
       CART DRAWER
    ============================================================ */
    .cart-drawer {
      position: fixed; top: 0; right: 0; bottom: 0; z-index: 900;
      width: min(420px, 100vw);
      background: var(--cream);
      box-shadow: -20px 0 60px rgba(0,0,0,0.3);
      transform: translateX(110%);
      transition: transform 0.45s cubic-bezier(.77,0,.175,1);
      display: flex; flex-direction: column;
    }
    .cart-drawer.open { transform: translateX(0); }
    .cart-drawer-head {
      background: var(--dark); padding: 1.4rem 1.6rem;
      display: flex; align-items: center; justify-content: space-between;
      border-bottom: 3px solid var(--red);
    }
    .cart-drawer-title {
      font-family: 'Playfair Display', serif; font-weight: 900; font-size: 1.2rem; color: var(--cream);
    }
    .cart-drawer-close {
      width: 36px; height: 36px; border-radius: 50%;
      background: rgba(247,232,196,0.08); border: 1px solid rgba(247,232,196,0.15);
      color: var(--cream); font-size: 1.1rem; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: background 0.2s;
    }
    .cart-drawer-close:hover { background: rgba(139,28,28,0.4); }

    .cart-drawer-body {
      flex: 1; overflow-y: auto; padding: 1.2rem 1.6rem;
    }
    .cart-empty {
      text-align: center; padding: 3rem 1rem; color: var(--brown);
    }
    .cart-empty-emoji { font-size: 3rem; opacity: 0.3; margin-bottom: 1rem; }

    .price-update-banner {
      background: rgba(200,131,10,0.1); border: 1px solid rgba(200,131,10,0.25);
      border-radius: 3px; padding: 0.8rem 1rem; margin-bottom: 1rem;
      font-size: 0.8rem; color: var(--brown); display: flex; gap: 0.6rem; align-items: flex-start;
    }
    .price-update-banner button {
      margin-left: auto; background: none; border: none; cursor: pointer;
      font-size: 0.9rem; color: var(--amber); flex-shrink: 0;
    }

    .cart-group {
      margin-bottom: 1.2rem; background: var(--white);
      border: 1px solid rgba(139,28,28,0.08); border-radius: 4px; overflow: hidden;
    }
    .cart-group-head {
      background: rgba(139,28,28,0.04); padding: 0.7rem 1rem;
      font-family: 'Oswald', sans-serif; font-size: 0.78rem; font-weight: 700;
      letter-spacing: 0.06em; text-transform: uppercase; color: var(--red);
      display: flex; justify-content: space-between; align-items: center;
    }
    .cart-line {
      padding: 0.7rem 1rem; border-top: 1px solid rgba(139,28,28,0.05);
      display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap;
    }
    .cart-line.invalid { background: rgba(139,28,28,0.05); }
    .cart-line-info { flex: 1; min-width: 140px; }
    .cart-line-sabores { font-size: 0.85rem; color: var(--text-main); line-height: 1.4; }
    .cart-line-warn { font-size: 0.75rem; color: var(--red); margin-top: 0.2rem; }
    .cart-line-controls { display: flex; align-items: center; gap: 0.5rem; }
    .cart-qty-btn {
      width: 26px; height: 26px; border-radius: 3px; border: 1px solid rgba(139,28,28,0.15);
      background: var(--cream-dark); cursor: pointer; font-weight: 700; color: var(--red);
      font-family: 'Oswald', sans-serif; transition: background 0.2s;
    }
    .cart-qty-btn:hover { background: rgba(139,28,28,0.15); }
    .cart-qty-val { font-family: 'Oswald', sans-serif; font-weight: 700; min-width: 20px; text-align: center; font-size: 0.85rem; }
    .cart-line-remove {
      background: none; border: none; color: rgb(74 15 15 / 75%); cursor: pointer;
      font-size: 0.95rem; transition: color 0.2s; padding: 0 0.2rem;
      border-radius: 4px; height: 26px; width: 20px; font-weight: 700;
      transition: all .3s ease;
    }
    .cart-line-remove:hover { color: var(--red); transform: scale(1.1); background: rgba(139,28,28,0.05); }
    .cart-group-subtotal {
      padding: 0.6rem 1rem; border-top: 1px solid rgba(139,28,28,0.06);
      font-family: 'Oswald', sans-serif; font-size: 0.78rem; color: var(--brown);
      display: flex; justify-content: space-between;
    }
    .cart-group-subtotal strong { color: var(--red); }

    .cart-drawer-footer {
      border-top: 1px solid rgba(139,28,28,0.08); padding: 1.2rem 1.6rem;
      background: var(--white);
      border-radius: 30px 30px 0 0;
    }
    .cart-total-row {
      display: flex; justify-content: space-between; align-items: center;
      margin-bottom: 1rem;
    }
    .cart-total-label {
      font-family: 'Oswald', sans-serif; font-size: 0.85rem; letter-spacing: 0.1em;
      text-transform: uppercase; color: var(--brown);
    }
    .cart-total-value {
      font-family: 'Oswald', sans-serif; font-weight: 900; font-size: 1.6rem; color: var(--red);
    }
    .btn-checkout {
      width: 100%; background: var(--red); color: var(--cream);
      font-family: 'Oswald', sans-serif; font-size: 0.9rem; font-weight: 700;
      letter-spacing: 0.12em; text-transform: uppercase;
      padding: 1rem; border: none; border-radius: 3px; cursor: pointer;
      transition: background 0.2s;
    }
    .btn-checkout:hover:not(:disabled) { background: var(--red-mid); }
    .btn-checkout:disabled { opacity: 0.4; cursor: not-allowed; }
    .cart-clear {
      display: block; text-align: center; margin-top: 0.7rem;
      font-family: 'Oswald', sans-serif; font-size: 0.7rem; letter-spacing: 0.12em;
      text-transform: uppercase; color: rgba(139,28,28,0.45);
      background: none; border: none; cursor: pointer; width: 100%;
      transition: color 0.2s;
    }
    .cart-clear:hover { color: var(--red); }

    /* ============================================================
       CHECKOUT MODAL
    ============================================================ */
    .checkout-modal {
      position: fixed; top: 0; right: 0; bottom: 0; z-index: 950;
      width: min(460px, 100vw);
      background: var(--cream);
      box-shadow: -20px 0 60px rgba(0,0,0,0.3);
      transform: translateX(110%);
      transition: transform 0.45s cubic-bezier(.77,0,.175,1);
      display: flex; flex-direction: column;
    }
    .checkout-modal.open { transform: translateX(0); }
    .checkout-head {
      background: var(--dark); padding: 1.4rem 1.6rem;
      display: flex; align-items: center; justify-content: space-between;
      border-bottom: 3px solid var(--amber);
    }
    .checkout-title { font-family: 'Playfair Display', serif; font-weight: 900; font-size: 1.2rem; color: var(--cream); }
    .checkout-close {
      width: 36px; height: 36px; border-radius: 50%;
      background: rgba(247,232,196,0.08); border: 1px solid rgba(247,232,196,0.15);
      color: var(--cream); font-size: 1.1rem; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: background 0.2s;
    }
    .checkout-close:hover { background: rgba(139,28,28,0.4); }

    .checkout-body { flex: 1; overflow-y: auto; padding: 1.4rem 1.6rem; }
    .form-group { margin-bottom: 1.1rem; }
    .form-label {
      display: block; font-family: 'Oswald', sans-serif; font-size: 0.75rem;
      letter-spacing: 0.12em; text-transform: uppercase; color: var(--brown);
      margin-bottom: 0.4rem;
    }
    .form-label .req { color: var(--red); }
    .form-input, .form-textarea {
      width: 100%; padding: 0.75rem 0.9rem;
      border: 2px solid rgba(139,28,28,0.12); border-radius: 3px;
      background: var(--white); font-family: 'Libre Baskerville', serif;
      font-size: 0.92rem; color: var(--text-main);
      transition: border-color 0.2s;
    }
    .form-input:focus, .form-textarea:focus {
      outline: none; border-color: var(--red);
    }
    .form-textarea { resize: vertical; min-height: 70px; }
    .char-counter { font-size: 0.72rem; color: rgba(92,58,30,0.5); text-align: right; margin-top: 0.25rem; }
    .form-error {
      font-size: 0.78rem; color: var(--red); margin-top: 0.3rem; display: none;
    }
    .form-group.error .form-input,
    .form-group.error .form-textarea { border-color: var(--red); }
    .form-group.error .form-error { display: block; }

    .checkout-summary {
      background: var(--white); border: 1px solid rgba(139,28,28,0.08);
      border-radius: 3px; padding: 1rem 1.2rem; margin-bottom: 1.2rem;
      font-size: 0.85rem; color: var(--brown);
    }
    .checkout-summary-total {
      display: flex; justify-content: space-between; align-items: center;
      margin-top: 0.6rem; padding-top: 0.6rem; border-top: 1px solid rgba(139,28,28,0.06);
      font-family: 'Oswald', sans-serif; font-weight: 700;
    }
    .checkout-summary-total span:last-child { color: var(--red); font-size: 1.2rem; }

    .payment-note {
      background: rgba(61,82,22,0.06); border: 1px solid rgba(61,82,22,0.15);
      border-radius: 3px; padding: 0.9rem 1.1rem; font-size: 0.82rem; color: var(--green);
      margin-bottom: 1.2rem; display: flex; gap: 0.6rem; align-items: flex-start;
    }

    .checkout-footer {
      border-top: 1px solid rgba(139,28,28,0.08); padding: 1.2rem 1.6rem;
      background: var(--white);
    }
    .btn-whatsapp-send {
      width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
      background: #25D366; color: #fff;
      font-family: 'Oswald', sans-serif; font-size: 0.95rem; font-weight: 700;
      letter-spacing: 0.1em; text-transform: uppercase;
      padding: 1rem; border: none; border-radius: 3px; cursor: pointer;
      transition: background 0.2s, transform 0.2s;
    }
    .btn-whatsapp-send:hover { background: #1fba58; transform: translateY(-2px); }

    /* Toast */
    .pa-toast {
      position: fixed; bottom: 6.6rem; left: 50%; transform: translateX(-50%) translateY(20px);
      background: var(--dark); color: var(--cream);
      font-family: 'Oswald', sans-serif; font-size: 0.82rem; letter-spacing: 0.05em;
      padding: 0.85rem 1.4rem; border-radius: 3px; border-left: 3px solid var(--amber);
      z-index: 1000; opacity: 0; pointer-events: none; border-radius: 10px; transition: opacity 0.3s, transform 0.3s;
    }
    .pa-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

    /* ============================================================
       FOOTER
    ============================================================ */
    .pa-footer {
      background: var(--dark); padding: 40px 6vw; border-top: 3px solid var(--red);
      text-align: center;
    }
    .pa-footer p { font-size: 0.78rem; color: rgba(247,232,196,0.35); }
    .pa-footer a { color: rgba(247,232,196,0.6); text-decoration: none; }
    .pa-footer a:hover { color: var(--cream); }

    /* ============================================================
       PERFORMANCE — content-visibility · contain
    ============================================================ */
    .sabor-section,
    .sticky-bar,
    .cart-drawer,
    .checkout-modal {
      contain: layout style;
    }
    .produto-grid {
      contain: layout;
    }

    /* ============================================================
       RESPONSIVE
    ============================================================ */
    @media (max-width: 640px) {
      .checkout-modal, .cart-drawer { width: 100vw; }
      /* .sticky-bar-product { display: none; } */
    }
    @media (min-width: 560px) {
      .produto-grid { grid-template-columns: repeat(4, 1fr); }
    }
































    /* ============================================================
       MODAL DE CONFIRMAÇÃO PRÉ-WHATSAPP
    ============================================================ */
    .wa-confirm-overlay {
      position: fixed; inset: 0;
      background: rgba(0,0,0,0.65);
      backdrop-filter: blur(4px);
      z-index: 1100;
      display: flex; align-items: center; justify-content: center;
      padding: 1.5rem;
      opacity: 0; pointer-events: none;
      transition: opacity 0.25s ease;
    }
    .wa-confirm-overlay.open {
      opacity: 1; pointer-events: all;
    }
    .wa-confirm-box {
      background: var(--white);
      border-radius: 18px;
      max-width: 420px; width: 100%;
      overflow: hidden;
      box-shadow: 0 24px 80px rgba(0,0,0,0.35);
      transform: translateY(18px) scale(0.97);
      transition: transform 0.3s cubic-bezier(.4,0,.2,1);
    }
    .wa-confirm-overlay.open .wa-confirm-box {
      transform: translateY(0) scale(1);
    }

    /* Faixa topo vermelha */
    .wa-confirm-head {
      background: var(--red);
      padding: 1.5rem 1.8rem 1.2rem;
      position: relative;
      text-align: center;
    }
    .wa-confirm-head::after {
      content: '';
      position: absolute;
      bottom: -12px; left: 50%;
      transform: translateX(-50%);
      width: 0; height: 0;
      border-left: 14px solid transparent;
      border-right: 14px solid transparent;
      border-top: 13px solid var(--red);
    }
    .wa-confirm-emoji {
      font-size: 2.6rem;
      display: block;
      margin-bottom: 0.4rem;
      filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
    }
    .wa-confirm-head-title {
      font-family: 'Playfair Display', serif;
      font-size: 1.25rem; font-weight: 900;
      color: var(--cream); line-height: 1.2;
    }

    /* Corpo */
    .wa-confirm-body {
      padding: 2.2rem 1.8rem 1.6rem;
      text-align: center;
    }
    .wa-confirm-step {
      display: flex; align-items: flex-start;
      gap: 1rem; text-align: left;
      margin-bottom: 1rem;
      padding: 0.9rem 1.1rem;
      background: var(--cream);
      border-radius: 10px;
    }
    .wa-confirm-step-num {
      width: 28px; height: 28px; flex-shrink: 0;
      border-radius: 50%; background: var(--red);
      color: var(--cream);
      font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 0.85rem;
      display: flex; align-items: center; justify-content: center;
    }
    .wa-confirm-step-text {
      font-size: 0.88rem; color: var(--brown); line-height: 1.5;
    }
    .wa-confirm-step-text strong { color: var(--text-main); }

    .wa-confirm-warn {
      font-size: 0.78rem; color: var(--brown);
      opacity: 0.65; margin-bottom: 1.5rem;
      line-height: 1.5;
    }

    /* Botões */
    .wa-confirm-actions {
      display: flex; flex-direction: column; gap: 0.7rem;
    }
    .btn-wa-open {
      display: flex; align-items: center; justify-content: center; gap: 10px;
      background: #25D366; color: #fff;
      font-family: 'Oswald', sans-serif; font-size: 1rem; font-weight: 700;
      letter-spacing: 0.08em; text-transform: uppercase;
      padding: 1rem; border: none; border-radius: 12px;
      cursor: pointer; transition: background 0.2s, transform 0.15s;
      box-shadow: 0 6px 20px rgba(37,211,102,0.35);
    }
    .btn-wa-open:hover { background: #1fba58; transform: translateY(-2px); }
    .btn-wa-cancel {
      background: none; border: none;
      font-family: 'Oswald', sans-serif; font-size: 0.78rem;
      letter-spacing: 0.1em; text-transform: uppercase;
      color: var(--brown); opacity: 0.5;
      cursor: pointer; padding: 0.5rem;
      transition: opacity 0.2s;
    }
    .btn-wa-cancel:hover { opacity: 0.9; }

    @media (max-width: 480px) {
      .wa-confirm-body { padding: 2rem 1.3rem 1.4rem; }
      .wa-confirm-head { padding: 1.3rem 1.3rem 1rem; }
    }
      /* position: fixed; bottom: 1.6rem; left: 50%; transform: translateX(-50%) translateY(20px);
      background: var(--dark); color: var(--cream);
      font-family: 'Oswald', sans-serif; font-size: 0.82rem; letter-spacing: 0.05em;
      padding: 0.85rem 1.4rem; border-radius: 3px; border-left: 3px solid var(--amber);
      z-index: 1000; opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.3s;
    } */
    .pa-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }





    /* Botão de Confirmação de Exclusão (Baseado no btn-wa-open) */
.btn-delete-confirm {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--red); color: var(--cream);
  font-family: 'Oswald', sans-serif; font-size: 1rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 1rem; border: none; border-radius: 12px;
  cursor: pointer; transition: background 0.2s, transform 0.15s;
  box-shadow: 0 6px 20px rgba(139,28,28,0.25);
}
.btn-delete-confirm:hover { background: var(--red-mid); transform: translateY(-2px); }






































/* ============================================================
   SEÇÃO: VEJA A DIFERENÇA DE TAMANHO (CLONE DA IMAGEM)
============================================================ */
.size-comparison-section {
  position: relative;
  background: linear-gradient(180deg, #FAF4E8 0%, #F1E5D1 100%); /* Fundo bege fiel ao design */
  padding: 80px 20px 100px 20px;
  overflow: hidden; /* Esconde o que sobrar das imagens laterais */
  font-family: 'Oswald', sans-serif;
  border-top: 4px solid var(--red);
}

.background-gradient {
  position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #FAF4E8 0%, #F1E5D1 100%);
    -webkit-mask-image: radial-gradient(circle, black 50%, transparent 100%);
    mask-image: radial-gradient(circle, #000000 50%, transparent 100%);
    z-index: 2;
    pointer-events: none; /* Para não atrapalhar o clique do usuário */
}

/* Imagens Laterais */
.side-deco {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 110%; /* Altura suficiente para cobrir toda a lateral */
  object-fit: cover;
  z-index: 1;
  pointer-events: none; /* Para não atrapalhar o clique do usuário */
  opacity: 0.9;
}



.elemento-flutuante {
  /* Aplica a animação: nome, duração, curva de velocidade e repetição infinita */
  animation: flutuar 10s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

@keyframes flutuar {
  0%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-16px); /* Distância do movimento para cima */
    /* transform: translateX(1px); */
  }
  70% {
    transform: translateY(-10px); /* Distância do movimento para cima */
  }
}
.side-left { top:0; left: -5%; max-width: 80%; filter: drop-shadow(-11px 22px 10px rgba(0, 0, 0, 0.4)); animation: flutuar 10s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;}
.side-right { top:0; right: -5%; max-width: 80%; filter: drop-shadow(9px 18px 11px rgba(0, 0, 0, 0.4)); animation: flutuar 12s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;}

/* Container Principal */
.comparison-container {
  position: relative;
  z-index: 3; /* Mantém o conteúdo acima das decorações laterais */
  max-width: 1000px;
  margin: 0 auto;
}

/* Cabeçalho e Títulos */
.comparison-header {
  text-align: center;
  /* margin-bottom: 70px; */
  margin-bottom: clamp(90px, 8vw, 120px); /* Ajusta o espaçamento conforme a largura da tela */
}
.comparison-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 10px 0;
}
.comparison-header h2 em {
  color: #cc1011;
  font-style: italic;
}
.subtitle-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.line-deco {
  height: 2px;
  width: 60px;
  background-color: #d8c8a7;
}
.subtitle-box p {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: #333;
  margin: 0;
}

/* Layout das Pizzas */
.pizzas-wrapper {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 50px;
}
.pizza-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Linhas pontilhadas (Régua) */
.measure-line {
  position: absolute;
  top: -45px;
  border-top: 2px dotted #c52828;
}
.measure-line::before, 
.measure-line::after {
  content: '';
  position: absolute;
  top: 0;
  width: 2px;
  height: 20px;
  border-left: 2px dotted #c52828;
}
.measure-line::before { left: 0; }
.measure-line::after { right: -2px; }

.measure-text {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #F6ECE0; /* Mascara a linha por trás do texto */
  padding: 0 10px;
  font-family: 'Caveat', cursive;
  font-size: 1.8rem;
  font-weight: 600;
  color: #1a1a1a;
  white-space: nowrap;
}

/* Tamanhos exatos proporcionais */
.pizza-img {
  display: block;
  filter: drop-shadow(0 25px 25px rgba(0,0,0,0.4));
  margin-bottom: -35px; /* Faz a pizza sobrepor o cartão branco */
  z-index: 2;
  position: relative;
  top: -2.35rem;
}
.pizza-item.mini .pizza-img { width: 190px; }
.pizza-item.grande .pizza-img { width: 510px; }
.pizza-item.mini .measure-line { width: 170px; }
.pizza-item.grande .measure-line { width: 480px; }

/* Cartões Brancos de Informação */
.pizza-card {
  /* background: #fff; */
  background: linear-gradient(155deg, #ffffff 0%, #ffeabf80 100%);
  border-radius: 25px;
  padding: 20px 40px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  text-align: center;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.card-title {
  font-size: 1.1rem;
  color: #222;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.card-size {
  font-size: 1.6rem;
  font-weight: 700;
  color: #cc1011;
  margin-bottom: 5px;
}
.card-serving {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid #eaeaea; /* Linha divisória fina */
  color: #555;
  font-size: 0.9rem;
  font-family: Arial, sans-serif; /* Fonte simples para leitura */
}
.card-serving svg {
  width: 18px;
  height: 18px;
  fill: #333;
}

@media (min-width: 1025px) {
  .side-left { left: 0; max-width: 60%; }
  .side-right { right: 0; max-width: 60%; }
}
/* Responsividade para Celulares */
@media (max-width: 850px) {
  .pizzas-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 120px; /* Espaço extra por causa da sobreposição dos cartões */
  }
  .pizza-item.grande .pizza-img {
    width: 90vw;
    max-width: 450px;
  }
  .pizza-item.grande .measure-line {
    width: 85vw;
    max-width: 420px;
  }
  .side-deco {
    opacity: 0.3; /* Deixa as imagens laterais mais suaves no celular */
  }
}