/* ============================================
   VARIÁVEIS CSS
============================================ */
:root {
  /* Semana Santa 2026 — Tema Claro */
  --bg-principal: #F8F5EF;
  --bg-card: #FFFFFF;
  --bg-section: #F2EDE3;
  --text-dark: #2C2218;
  --text-medio: #4A3F33;
  --text-leve: #7A6C5E;
  --sage: #d04928;
  --sage-hover: #b74023;
  --sage-claro: #faebe8;
  --borda: rgba(44, 34, 24, 0.12);
  --borda-sage: rgba(107, 140, 92, 0.3);

  /* Tipografia */
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Jost', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Sombras */
  --shadow-sm: 0 1px 4px rgba(44, 34, 24, 0.06);
  --shadow-md: 0 4px 16px rgba(44, 34, 24, 0.1);
  --shadow-lg: 0 8px 32px rgba(44, 34, 24, 0.14);

  /* Transições */
  --transition: all 0.25s ease;
}

/* ============================================
   RESET E BASE
============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background: var(--bg-principal);
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  font-weight: 400;
  font-size: 17px;
}

/* ============================================
   HEADER
============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 245, 239, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: none;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.875rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-header {
  height: 52px;
  width: auto;
}

.header-cta {
  background: transparent;
  border: 1.5px solid var(--sage);
  color: var(--sage);
  padding: 0.6rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 2px;
}

.header-cta:hover {
  background: var(--sage);
  color: white;
}

/* ============================================
   HERO
============================================ */
.hero {
  padding: 0 1.5rem;
  background: var(--bg-principal);
}

.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../imagens/banner-site.webp');
  background-size: cover;
  background-position: center center;
}

/* ============================================
   SEÇÃO INTRO
============================================ */
.section-intro {
  background: var(--bg-principal);
  padding: 40px 20px 44px;
  text-align: center;
}

.section-intro-inner {
  max-width: 600px;
  margin: 0 auto;
}

.intro-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 9vw, 64px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--text-dark);
  margin: 0.75rem 0;
}

.intro-title em {
  font-style: italic;
  color: var(--sage);
}

.intro-sub {
  font-size: clamp(15px, 2.5vw, 18px);
  font-style: italic;
  color: var(--text-medio);
  margin-bottom: 1.75rem;
}

.intro-cta {
  display: inline-block;
  background: var(--sage);
  color: white;
  border: none;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 2px;
}

.intro-cta:hover {
  background: var(--sage-hover);
  transform: translateY(-1px);
}

/* ============================================
   SEÇÃO ORIGEM
============================================ */
.section-origem {
  background: var(--bg-card);
  padding: 48px 20px;
}

.section-origem-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.section-label {
  display: block;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.25rem;
}

.section-origem h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 300;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 1.75rem;
}

.section-origem h2 em {
  font-style: italic;
  color: var(--sage);
}

.divider {
  width: 40px;
  height: 1px;
  background: var(--sage);
  margin: 0 auto 1.75rem;
  opacity: 0.5;
}

.section-origem p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-medio);
  margin-bottom: 1rem;
}

/* ============================================
   SEÇÃO CARDÁPIO
============================================ */
.section-cardapio {
  background: var(--bg-section);
  padding: 48px 20px 60px;
}

.cardapio-header {
  text-align: center;
  margin-bottom: 3rem;
}

.cardapio-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 300;
  color: var(--text-dark);
  margin-top: 0.75rem;
  line-height: 1.2;
}

.cardapio-header h2 em {
  font-style: italic;
  color: var(--sage);
}

.pratos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .pratos-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

/* Prato card */
.prato-card {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--borda);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.prato-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-lg);
}

.prato-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.prato-card:hover .prato-img {
  transform: scale(1.05);
  /* Slight zoom on card hover */
}

.prato-img-placeholder {
  width: 100%;
  height: 220px;
  background: #EDE5D4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage);
  opacity: 0.6;
}

.prato-body {
  padding: 1.5rem;
}

.prato-number {
  display: block;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.5rem;
}

.prato-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.prato-desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-medio);
  margin-bottom: 0.75rem;
}

.prato-origem {
  display: block;
  font-size: 14px;
  font-style: italic;
  color: var(--sage);
  opacity: 0.8;
}

.prato-opcoes {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--borda);
}

.prato-opcao {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--borda);
}

.prato-opcao:last-child {
  border-bottom: none;
}

.opcao-peso {
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dark);
  font-weight: 500;
}

.opcao-preco {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-dark);
  flex: 1;
  text-align: center;
}

/* Add-on arroz (inline no card) */
.prato-addon {
  padding: 0.875rem 1.5rem 1rem;
  border-top: 1px solid var(--borda);
  background: var(--bg-section);
  border-radius: 0 0 12px 12px;
}

.addon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.addon-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.addon-nome {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-medio);
  font-weight: 500;
}

.addon-preco {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
}

/* Atenção card */
.atencao-card {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  background: var(--bg-principal);
  border: 1px solid var(--borda);
  border-radius: 8px;
  padding: 1.25rem 1.75rem;
  text-align: center;
}

.atencao-card p {
  font-size: 16px;
  font-style: italic;
  color: var(--text-leve);
  line-height: 1.7;
}

/* Botão adicionar */
.add-btn {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--sage);
  background: transparent;
  color: var(--sage);
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease, color 0.2s ease;
  line-height: 1;
  flex-shrink: 0;
}

.add-btn:active {
  transform: scale(0.9);
}

.add-btn:hover {
  background: var(--sage);
  color: white;
  transform: scale(1.1);
}

/* Controle de quantidade */
.quantity-control {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.quantity-control button {
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--sage);
  background: transparent;
  color: var(--sage);
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease, color 0.2s ease;
  line-height: 1;
}

.quantity-control button:active {
  transform: scale(0.85);
}

.quantity-control button:hover {
  background: var(--sage);
  color: white;
  transform: scale(1.1);
}

.quantity-control span {
  color: var(--text-dark);
  min-width: 24px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
}

/* ============================================
   SCROLL REVEAL
============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   SEÇÃO DATAS
============================================ */
.section-datas {
  background: var(--bg-card);
  padding: 36px 20px;
}

.section-datas-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.section-datas .section-label {
  margin-bottom: 1.25rem;
}

.datas-grid {
  display: flex;
  flex-direction: row;
  gap: 1px;
  background: var(--borda);
  border: 1px solid var(--borda);
  border-radius: 8px;
  overflow-x: auto;
  margin-bottom: 1rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
}

.datas-grid::-webkit-scrollbar {
  display: none;
}

.data-item {
  flex: 1;
  min-width: 130px;
  /* Crucial for swipe */
  scroll-snap-align: start;
  background: var(--bg-card);
  padding: 1.25rem 0.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.data-dia {
  font-size: 32px;
  font-weight: 500;
  color: var(--sage);
  line-height: 1;
}

.data-mes {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--text-leve);
}

.data-nome {
  font-size: 12px;
  color: var(--text-medio);
  margin-top: 2px;
}

.escassez-box {
  background: var(--bg-section);
  border-radius: 6px;
  padding: 0.75rem 1.25rem;
}

.escassez-box p {
  font-size: 15px;
  font-style: italic;
  color: var(--text-medio);
  line-height: 1.55;
}

/* ============================================
   SEÇÃO INFORMAÇÕES
============================================ */
.section-info {
  background: var(--bg-section);
  padding: 48px 20px;
}

.section-info h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 2rem;
}

.info-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 860px;
  margin: 0 auto;
}

@media (max-width: 480px) {
  .info-items {
    grid-template-columns: 1fr;
  }
}

.info-item {
  padding-top: 0;
  padding-left: 1rem;
  border-top: none;
  border-left: 3px solid var(--sage);
}

.info-item .label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--sage);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.info-item p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-medio);
}

.info-action {
  text-align: center;
  margin-top: 3.5rem;
}

.btn-encomendar {
  background: var(--sage);
  color: white;
  border: none;
  padding: 15px 52px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 2px;
}

.btn-encomendar:hover {
  background: var(--sage-hover);
  transform: translateY(-1px);
}

/* ============================================
   FOOTER
============================================ */
.footer {
  background: #2C2218;
  padding: 3rem 1.5rem;
  text-align: center;
}

.footer-logo-img {
  height: 80px;
  width: auto;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.footer-info {
  margin-bottom: 2rem;
}

.footer-info p {
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: none;
  color: #F5F0E8;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.footer-info a {
  color: #F5F0E8;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-info a:hover {
  opacity: 0.7;
}

.footer-copy {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #6B5E4E;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ============================================
   CARRINHO FLUTUANTE
============================================ */
.cart-float {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #2C2218;
  padding: 1rem 1.5rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: var(--transition);
  z-index: 1000;
}

.cart-float.visible {
  transform: translateY(0);
}

.cart-float-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cart-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-icon {
  width: 48px;
  height: 48px;
  background: rgba(107, 140, 92, 0.2);
  border: 1px solid rgba(107, 140, 92, 0.4);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
}

.cart-icon svg {
  width: 24px;
  height: 24px;
  fill: #D4E8C8;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--sage);
  color: white;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #2C2218;
}

.cart-details {
  display: flex;
  flex-direction: column;
}

.cart-details small {
  color: #9A8C7E;
  font-size: 0.9rem;
}

.cart-details strong {
  font-size: 1.3rem;
  color: #F5F0E8;
  font-weight: 300;
  font-family: var(--font-display);
}

.cart-btn {
  background: var(--sage);
  color: white;
  border: none;
  padding: 0.875rem 1.75rem;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  z-index: 10;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.cart-btn:hover {
  background: var(--sage-hover);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 12px rgba(107, 140, 92, 0.3);
}

.cart-btn:active {
  transform: scale(0.98);
}

.cart-btn * {
  pointer-events: none;
}

/* ============================================
   MODAL DO CARRINHO
============================================ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 550px;
  background: var(--bg-card);
  z-index: 2001;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal.visible {
  transform: translateX(0);
}

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--borda);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
}

.modal-header h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-dark);
  font-weight: 300;
}

.close-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--borda);
  background: transparent;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--text-medio);
}

.close-btn:hover {
  background: var(--bg-section);
  transform: rotate(90deg);
}

.modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.cart-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--text-leve);
}

.cart-empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.3;
}

.cart-empty p {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-section);
  border-radius: 8px;
  margin-bottom: 0.75rem;
  border: 1px solid var(--borda);
}

.cart-item-image-container {
  width: 72px;
  height: 72px;
  border-radius: 6px;
  overflow: hidden;
  background: #EDE5D4;
  flex-shrink: 0;
}

.cart-item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--sage);
  opacity: 0.5;
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cart-item-name {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.cart-item-weight {
  font-size: 0.8rem;
  color: var(--text-leve);
}

.cart-item-price {
  font-weight: 500;
  color: var(--sage);
  font-size: 1.05rem;
}

.cart-item-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
}

.remove-btn {
  background: none;
  border: none;
  color: var(--text-leve);
  cursor: pointer;
  padding: 0.25rem;
  font-size: 1.1rem;
  transition: var(--transition);
}

.remove-btn:hover {
  color: #e74c3c;
  transform: scale(1.1);
}

/* Date picker */
.date-picker-section {
  background: var(--bg-section);
  padding: 1.25rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border: 1px solid var(--borda);
}

.date-picker-section label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--text-dark);
  letter-spacing: 0.5px;
}

.date-picker-section .date-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-bottom: 0.5rem;
}

.date-option {
  flex: 1 1 calc(50% - 0.5rem);
  padding: 1rem 0.75rem;
  border: 1.5px solid var(--borda);
  border-radius: 8px;
  background: var(--bg-card);
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  color: var(--text-dark);
}

.date-option:hover {
  border-color: var(--sage);
}

.date-option.selected {
  border-color: var(--sage);
  background: var(--sage);
  color: white;
}

.date-option strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.date-option span {
  font-size: 0.8rem;
  opacity: 0.85;
}

/* Form */
.form-section {
  margin-top: 1.5rem;
}

.form-section h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  color: var(--text-dark);
  font-weight: 300;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--text-medio);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--borda);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
  background: var(--bg-card);
  color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px var(--sage-claro);
}

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

.modal-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--borda);
  background: var(--bg-card);
}

.cart-summary {
  margin-bottom: 1.25rem;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.cart-summary-row.total {
  font-size: 1.15rem;
  font-weight: 500;
}

.cart-summary-row.highlight {
  color: var(--sage);
  background: var(--sage-claro);
  padding: 0.6rem 0.75rem;
  border-radius: 6px;
  margin-top: 0.5rem;
}

.checkout-btn {
  width: 100%;
  background: var(--sage);
  color: white;
  border: none;
  padding: 1.1rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  z-index: 10;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.checkout-btn:hover:not(:disabled) {
  background: var(--sage-hover);
}

@media (hover: hover) {
  .checkout-btn:hover:not(:disabled) {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 12px rgba(107, 140, 92, 0.3);
  }
}

.checkout-btn:active:not(:disabled) {
  transform: scale(0.98);
}

.checkout-btn:disabled {
  background: #C8C0B8;
  cursor: not-allowed;
  transform: none;
}

/* ============================================
   PÁGINA DE CONFIRMAÇÃO
============================================ */
.confirmation-page {
  display: none;
  min-height: 100vh;
  background: var(--bg-principal);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.confirmation-page.visible {
  display: block;
}

#mainPage {
  transition: opacity 0.3s ease;
}

.confirmation-header {
  background: #3A7D44;
  color: white;
  padding: 3rem 1.5rem;
  text-align: center;
}

.confirmation-icon {
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.confirmation-header h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 300;
}

.order-number {
  font-size: 1rem;
  opacity: 0.9;
}

.confirmation-content {
  max-width: 650px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.confirmation-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 1.75rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--borda);
}

.confirmation-card h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--borda);
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.confirmation-card h2 svg {
  fill: var(--sage);
}

.order-items {
  margin-bottom: 1rem;
}

.order-item {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--borda);
  font-size: 0.9rem;
  color: var(--text-dark);
}

.order-item:last-child {
  border-bottom: none;
}

.order-totals {
  padding-top: 1rem;
  border-top: 1px solid var(--borda);
}

.order-totals .total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
  font-size: 0.9rem;
}

.order-totals .total-row.big {
  font-size: 1.1rem;
  font-weight: 500;
}

.order-totals .total-row.highlight {
  background: var(--sage-claro);
  padding: 0.6rem 0.75rem;
  border-radius: 6px;
  margin-top: 0.5rem;
  color: var(--sage-hover);
  font-weight: 500;
}

/* PIX */
.pix-section {
  text-align: center;
}

.pix-amount {
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.pix-qrcode {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 1.25rem;
  border: 1px solid var(--borda);
}

.pix-qrcode-placeholder {
  width: 200px;
  height: 200px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--text-leve);
}

.pix-qrcode img {
  width: 200px;
  height: 200px;
}

.pix-copy {
  background: var(--bg-section);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.pix-copy label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-leve);
  margin-bottom: 0.5rem;
}

.pix-copy-input {
  display: flex;
  gap: 0.5rem;
}

.pix-copy-input input {
  flex: 1;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--borda);
  border-radius: 6px;
  font-family: monospace;
  font-size: 0.8rem;
  background: var(--bg-card);
  color: var(--text-dark);
}

.pix-copy-input button {
  padding: 0.65rem 1rem;
  background: var(--sage);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition);
}

.pix-copy-input button:hover {
  background: var(--sage-hover);
}

.bank-details {
  text-align: left;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-medio);
}

.bank-details strong {
  color: var(--text-dark);
}

/* Próximos passos */
.next-steps {
  counter-reset: step;
}

.step {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.875rem;
}

.step-number {
  width: 30px;
  height: 30px;
  background: var(--sage-claro);
  border: 1.5px solid var(--sage);
  color: var(--sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.step-text {
  padding-top: 0.2rem;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.whatsapp-btn {
  width: 100%;
  background: #25D366;
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: var(--transition);
  margin-top: 1rem;
}

.whatsapp-btn:hover {
  background: #128C7E;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.contact-row svg {
  fill: var(--sage);
  flex-shrink: 0;
}

/* ============================================
   IMAGE ZOOM
============================================ */
.image-zoom-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  padding: 2rem;
}

.image-zoom-overlay.visible {
  display: flex;
}

.image-zoom-overlay img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

/* ============================================
   TOAST
============================================ */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #2C2218;
  color: #D4E8C8;
  padding: 0.875rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 3000;
  white-space: nowrap;
}

.toast.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ============================================
   ANIMAÇÕES
============================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes cartPulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.03);
  }

  100% {
    transform: scale(1);
  }
}

.pulse-animation .cart-icon {
  animation: cartPulse 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: rgba(107, 140, 92, 0.4);
  /* Highlight state */
  border-color: var(--sage);
}

/* ============================================
   RESPONSIVIDADE
============================================ */
@media (min-width: 768px) {

  .section-origem,
  .section-cardapio,
  .section-datas,
  .section-info,
  .section-encomenda {
    padding-top: 72px;
    padding-bottom: 72px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .section-cardapio {
    padding-bottom: 80px;
  }
}

@media (max-width: 600px) {

  /* Allow swiping in datas-grid instead of stacking vertically */
  .datas-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 1px;
    padding-bottom: 0.5rem;
  }

  .cart-float {
    padding: 0.875rem 1rem 1rem;
  }

  .cart-float-content {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .cart-info {
    flex: 1;
    min-width: 100%;
  }

  .cart-btn {
    width: 100%;
    justify-content: center;
    min-height: 52px;
    z-index: 20;
    position: relative;
  }

  .modal {
    max-width: 100%;
  }

  .modal-footer {
    padding: 1rem;
  }

  .date-picker-section .date-options {
    gap: 0.5rem;
  }

  .date-option {
    padding: 0.75rem 0.4rem;
  }

  .date-option strong {
    font-size: 1.1rem;
  }

  .date-option span {
    font-size: 0.7rem;
  }

  .confirmation-header h1 {
    font-size: 1.5rem;
  }

  .pix-qrcode-placeholder,
  .pix-qrcode img {
    width: 160px;
    height: 160px;
  }

  .header-content {
    padding: 0.75rem 1rem;
  }
}