
.sapp-app { display: flex; flex-direction: column; height: 100%; width: 100%; background: #f7f9fc; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; position: relative; overflow: hidden; }
.sapp-scroll { flex: 1; overflow-y: auto; padding: 4px 20px 100px; -webkit-overflow-scrolling: touch; }
.sapp-scroll::-webkit-scrollbar { display: none; }

/* Header */

.sapp-header i { font-size: 26px; color: #333; cursor: pointer; }
.sapp-header .sapp-title { font-size: 17px; font-weight: 800; color: #333; flex: 1; text-align: center; }
.sapp-logo { height: 44px; width: auto; object-fit: contain; }
.sapp-bell { position: relative; }
.sapp-bell::after { content: ''; position: absolute; top: 2px; right: 2px; width: 10px; height: 10px; background: #ff6a00; border-radius: 50%; }

/* Search */
.sapp-search { background: white; border-radius: 14px; padding: 10px 14px; display: flex; align-items: center; gap: 10px; box-shadow: 0 4px 20px rgba(0,0,0,0.04); margin-bottom: 20px; border: 1px solid #eee; width: 95%; max-width: 340px; margin-left: auto; margin-right: auto; box-sizing: border-box; }
.sapp-search i { color: #ff6a00; font-size: 20px; flex-shrink: 0; }
.sapp-search input { border: none; outline: none; flex: 1; min-width: 0; font-size: 14px; color: #333; background: transparent; font-weight: 500;}

/* Quick actions */
.sapp-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
.sapp-qi { display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer;}
.sapp-qi-icon { width: 60px; height: 60px; background: white; border-radius: 18px; display: flex; justify-content: center; align-items: center; box-shadow: 0 4px 15px rgba(0,0,0,0.04); border: 1px solid #f0f0f0; transition: transform 0.1s;}
.sapp-qi:active .sapp-qi-icon { transform: scale(0.95); background: #fff3e0; }
.sapp-qi-icon i { font-size: 28px; color: #ff6a00; }
.sapp-qi span { font-size: 11px; font-weight: 700; color: #444; text-align: center; }

/* Cards */
.sapp-card-dark { background: #1a1a1a; border-radius: 20px; padding: 20px; margin-bottom: 16px; position: relative; overflow: hidden; color: white; cursor: pointer; }
.sapp-card-dark::before { content: ''; position: absolute; top: -20px; right: -20px; width: 120px; height: 120px; background: #ff6a00; opacity: 0.15; border-radius: 50%; }
.sapp-card-t { font-size: 13px; font-weight: 900; color: #ff6a00; text-transform: uppercase; margin-bottom: 6px; letter-spacing: 0.5px;}
.sapp-card-d { font-size: 13px; color: #aaa; margin-bottom: 14px; line-height: 1.5; }
.sapp-card-btn { background: #ff6a00; color: white; border: none; padding: 10px 20px; border-radius: 10px; font-size: 12px; font-weight: 800; display: inline-block; box-shadow: 0 4px 10px rgba(255,106,0,0.3); }
.sapp-roleta-icon { position: absolute; right: -10px; bottom: -10px; width: 110px; height: 110px; border-radius: 50%; background: conic-gradient(#ff6a00 0deg 45deg, #fff 45deg 90deg, #ff6a00 90deg 135deg, #fff 135deg 180deg, #ff6a00 180deg 225deg, #fff 225deg 270deg, #ff6a00 270deg 315deg, #fff 315deg 360deg); border: 5px solid #333; box-shadow: inset 0 0 15px rgba(0,0,0,0.6), 0 10px 20px rgba(0,0,0,0.3); }

.sapp-card-light { background: white; border-radius: 20px; padding: 20px; margin-bottom: 16px; border: 1px solid #eee; box-shadow: 0 4px 20px rgba(0,0,0,0.03); position: relative; cursor: pointer;}
.sapp-card-light .sapp-card-t { color: #ff6a00; }
.sapp-card-light .sapp-card-d { color: #666; }
.sapp-gift-icon { position: absolute; right: 20px; bottom: 20px; font-size: 42px; color: #ff6a00; opacity: 0.8;}

/* Bottom nav */
.sapp-nav { position: relative; width: 100%; display: flex; justify-content: space-around; align-items: center; padding: 12px 0 20px; background: white; border-top: 1px solid #eee; box-shadow: 0 -4px 20px rgba(0,0,0,0.03); }
.sapp-nav-item { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #999; font-size: 10px; font-weight: 700; cursor: pointer; min-width: 60px;}
.sapp-nav-item.active { color: #ff6a00; }
.sapp-nav-item i { font-size: 24px; }
.sapp-nav-fab { width: 54px; height: 54px; background: #ff6a00; color: white; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 26px; margin-top: -24px; box-shadow: 0 6px 15px rgba(255,106,0,0.4); border: 4px solid white; cursor: pointer; }

/* Drawer */
.sapp-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); z-index: 2000; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.sapp-overlay.open { opacity: 1; pointer-events: auto; }
.sapp-drawer { position: absolute; top: 0; left: -280px; width: 280px; height: 100%; background: white; z-index: 2001; transition: left 0.3s; display: flex; flex-direction: column; box-shadow: none; }
.sapp-drawer.open { left: 0; box-shadow: 4px 0 20px rgba(0,0,0,0.1); }
.sapp-drawer-head { padding: 20px; background: #1a1a1a; color: white; display: flex; flex-direction: column; gap: 6px; }
.sapp-drawer-head strong { font-size: 16px; }
.sapp-drawer-head span { font-size: 12px; color: #aaa; }
.sapp-drawer-list { flex: 1; overflow-y: auto; padding: 10px 0; }
.sapp-drawer-item { padding: 12px 20px; display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: #333; cursor: pointer; transition: background 0.1s; }
.sapp-drawer-item:active { background: #f7f9fc; color: #ff6a00; }
.sapp-drawer-item i { font-size: 20px; color: #999; }
.sapp-drawer-item:hover i { color: #ff6a00; }

/* Views gerais */
.sapp-input-big { background: white; border-radius: 16px; padding: 16px 18px; display: flex; align-items: center; gap: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.04); margin-bottom: 16px; border: 1px solid #eee; }
.sapp-input-big i { color: #ff6a00; font-size: 22px; flex-shrink: 0;}
.sapp-input-big .info { flex: 1; min-width: 0;}
.sapp-input-big .info span { display: block; font-size: 11px; color: #999; font-weight: 700; text-transform: uppercase; margin-bottom: 2px;}
.sapp-input-big .info strong { font-size: 14px; color: #333; font-weight: 600;}

.sapp-map-mock { background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%); border-radius: 20px; height: 220px; margin-bottom: 20px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center;}
.sapp-map-mock::before { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(45deg, transparent, transparent 30px, rgba(255,255,255,0.4) 30px, rgba(255,255,255,0.4) 31px), repeating-linear-gradient(-45deg, transparent, transparent 30px, rgba(255,255,255,0.4) 30px, rgba(255,255,255,0.4) 31px); }
.sapp-map-pin { width: 20px; height: 20px; background: #ff6a00; border: 4px solid white; border-radius: 50%; box-shadow: 0 4px 12px rgba(255,106,0,0.6); z-index: 1; position: relative;}
.sapp-map-pin::after { content: ''; position: absolute; inset: -12px; border: 2px solid #ff6a00; border-radius: 50%; opacity: 0.4; animation: sapp-pulse 1.5s infinite; }
@keyframes sapp-pulse { 0% { transform: scale(0.8); opacity: 0.6;} 100% { transform: scale(2); opacity: 0;} }

.sapp-sugestao { background: white; border-radius: 12px; padding: 14px 18px; display: flex; align-items: center; gap: 14px; margin-bottom: 8px; border: 1px solid #eee; cursor: pointer;}
.sapp-sugestao:active { background: #f7f9fc;}
.sapp-sugestao i { font-size: 20px; color: #999; width: 24px; text-align: center;}
.sapp-sugestao .info { flex: 1;}
.sapp-sugestao .info strong { display: block; font-size: 14px; color: #333; }
.sapp-sugestao .info span { font-size: 12px; color: #999;}

.sapp-btn-primary { display: block; width: 100%; background: #ff6a00; color: white; border: none; padding: 16px; border-radius: 14px; font-size: 15px; font-weight: 800; cursor: pointer; box-shadow: 0 6px 20px rgba(255,106,0,0.35); text-align: center; margin-top: 12px;}
.sapp-btn-primary:active { transform: scale(0.98); }

.sapp-tabs { display: flex; gap: 8px; margin-bottom: 16px; background: white; padding: 4px; border-radius: 12px; border: 1px solid #eee; }
.sapp-tab { flex: 1; text-align: center; padding: 10px; font-size: 12px; font-weight: 700; color: #666; border-radius: 8px; cursor: pointer; }
.sapp-tab.active { background: #ff6a00; color: white; }

.sapp-viagem { background: white; border-radius: 16px; padding: 16px; margin-bottom: 10px; border: 1px solid #eee; }
.sapp-viagem .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.sapp-viagem .top strong { font-size: 14px; color: #333; }
.sapp-viagem .top .tag { font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 6px; background: #d1fae5; color: #047857; text-transform: uppercase;}
.sapp-viagem .rota { font-size: 12px; color: #666; margin-bottom: 8px;}
.sapp-viagem .preco { font-size: 16px; font-weight: 900; color: #ff6a00; }

.sapp-perfil-card { background: white; border-radius: 20px; padding: 24px 20px; text-align: center; margin-bottom: 20px; border: 1px solid #eee;}
.sapp-perfil-card .avatar { width: 80px; height: 80px; border-radius: 50%; background: #ff6a00; color: white; font-size: 32px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.sapp-perfil-card strong { display: block; font-size: 18px; color: #333; }
.sapp-perfil-card span { font-size: 13px; color: #999; }

.sapp-menu-item { background: white; border-radius: 14px; padding: 16px 18px; display: flex; align-items: center; gap: 14px; margin-bottom: 8px; border: 1px solid #eee; cursor: pointer;}
.sapp-menu-item:active { background: #f7f9fc; }
.sapp-menu-item i:first-child { font-size: 20px; color: #ff6a00; width: 24px; text-align: center;}
.sapp-menu-item span { flex: 1; font-size: 14px; font-weight: 600; color: #333;}
.sapp-menu-item i:last-child { font-size: 18px; color: #ccc;}

.sapp-roleta-area { background: #1a1a1a; border-radius: 24px; padding: 32px 20px; margin-bottom: 20px; text-align: center; position: relative; overflow: hidden;}
.sapp-roleta-wrap { position: relative; width: 260px; height: 260px; margin: 0 auto 24px; box-sizing: border-box; }
.sapp-roleta-tri { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 18px solid transparent; border-right: 18px solid transparent; border-top: 28px solid #ff6a00; filter: drop-shadow(0 3px 6px rgba(0,0,0,0.5)); z-index: 10; pointer-events: none; }
.sapp-roleta-wheel { width: 100%; height: 100%; border-radius: 50%; border: 8px solid #333; box-shadow: inset 0 0 25px rgba(0,0,0,0.5), 0 10px 30px rgba(0,0,0,0.4); position: relative; overflow: hidden; background: #fff; box-sizing: border-box; }
.sapp-roleta-wheel svg { width: 100%; height: 100%; display: block; transform-origin: 50% 50%; transition: transform 4.2s cubic-bezier(0.15, 0.95, 0.35, 1); }
.sapp-roleta-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; background: #333; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #ff6a00; font-size: 28px; border: 4px solid #ff6a00; z-index: 5; pointer-events: none; box-shadow: 0 4px 12px rgba(0,0,0,0.4);}
.sapp-roleta-saldo { color: #ff6a00; font-size: 14px; font-weight: 800; margin-bottom: 6px;}
.sapp-roleta-sub { color: #aaa; font-size: 12px; margin-bottom: 20px;}
.sapp-roleta-btn { background: #ff6a00; color: white; border: none; padding: 14px 40px; border-radius: 12px; font-size: 14px; font-weight: 800; cursor: pointer; box-shadow: 0 6px 20px rgba(255,106,0,0.4);}
.sapp-roleta-btn:disabled { background: #666; box-shadow: none; cursor: not-allowed; }

.sapp-indicacao-card { background: linear-gradient(135deg, #ff6a00, #cc5200); border-radius: 20px; padding: 24px; color: white; margin-bottom: 20px; position: relative; overflow: hidden;}
.sapp-indicacao-card::before { content: ''; position: absolute; top: -40px; right: -40px; width: 140px; height: 140px; background: rgba(255,255,255,0.1); border-radius: 50%; }
.sapp-indicacao-card strong { display: block; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; opacity: 0.9;}
.sapp-codigo-box { background: rgba(255,255,255,0.2); border-radius: 12px; padding: 16px; text-align: center; font-size: 24px; font-weight: 900; letter-spacing: 4px; margin-bottom: 16px; border: 2px dashed rgba(255,255,255,0.5);}
.sapp-indicacao-btn { background: white; color: #ff6a00; border: none; padding: 12px 20px; border-radius: 10px; font-size: 13px; font-weight: 800; cursor: pointer; width: 100%; margin-bottom: 8px; display: flex; align-items: center; justify-content: center; gap: 8px;}

.sapp-empty { text-align: center; padding: 60px 20px; color: #999; }
.sapp-empty i { font-size: 56px; color: #ddd; margin-bottom: 12px; }
.sapp-empty span { display: block; font-size: 14px; }

/* Drawer (mantido) */
.sapp-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); z-index: 2000; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.sapp-overlay.open { opacity: 1; pointer-events: auto; }
.sapp-drawer { position: absolute; top: 0; left: -280px; width: 280px; height: 100%; background: white; z-index: 2001; transition: left 0.3s; display: flex; flex-direction: column; box-shadow: 4px 0 20px rgba(0,0,0,0.1); }
.sapp-drawer.open { left: 0; }
.sapp-drawer-head { padding: 20px; background: #1a1a1a; color: white; display: flex; flex-direction: column; gap: 6px; }
.sapp-drawer-head strong { font-size: 16px; }
.sapp-drawer-head span { font-size: 12px; color: #aaa; }
.sapp-drawer-list { flex: 1; overflow-y: auto; padding: 10px 0; }
.sapp-drawer-item { padding: 12px 20px; display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: #333; cursor: pointer; }
.sapp-drawer-item:active { background: #f7f9fc; color: #ff6a00; }
.sapp-drawer-item i { font-size: 20px; color: #999; }

/* Super App — Grid de Serviços */
.sapp-parceiros-title { padding: 0 20px; margin: 16px 0 10px; font-size: 13px; font-weight: 800; color: #333; display: flex; align-items: center; justify-content: space-between; }
.sapp-parceiros-title span { font-size: 9px; color: #ff6a00; background: #fff3e0; padding: 3px 8px; border-radius: 8px; font-weight: 700; }
.sapp-quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 20px; margin-bottom: 20px; }
.sapp-qcard { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px; background: white; border-radius: 14px; border: 1px solid #eaeaea; box-shadow: 0 2px 8px rgba(0,0,0,0.04); cursor: pointer; transition: transform 0.15s, box-shadow 0.15s; }
.sapp-qcard:active { transform: scale(0.95); }
.sapp-qcard:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); transform: translateY(-2px); }
/* Estilo exclusivo do Chofer removido para padronizar */
.sapp-qcard-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 10px; font-size: 22px; }
.sapp-qcard-label { font-size: 10px; font-weight: 700; color: #333; text-align: center; line-height: 1.2; }
.sapp-qcard.chofer .sapp-qcard-icon { background: #fff3e0; color: #ff6a00; }
.sapp-qcard.mercados .sapp-qcard-icon { background: #e8f5e9; color: #2e7d32; }
.sapp-qcard.classificados .sapp-qcard-icon { background: #e3f2fd; color: #1565c0; }
.sapp-qcard.gasagua .sapp-qcard-icon { background: #fff8e1; color: #f57c00; }
.sapp-qcard.igrejas .sapp-qcard-icon { background: #f3e5f5; color: #7b1fa2; }
.sapp-qcard.hospedagem .sapp-qcard-icon { background: #e0f2fe; color: #0284c7; }
.sapp-qcard.caronas .sapp-qcard-icon { background: #e0f7fa; color: #00838f; }
.sapp-parceiro-card { margin: 0 16px 12px; padding: 14px; background: white; border-radius: 14px; border: 1px solid #eee; display: flex; gap: 12px; align-items: center; cursor: pointer; position: relative; }
.sapp-parceiro-logo { width: 50px; height: 50px; border-radius: 12px; background: #f7f9fc; display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.sapp-parceiro-info { flex: 1; min-width: 0; padding-right: 70px; }
.sapp-parceiro-name { font-weight: 800; font-size: 14px; color: #333; margin-bottom: 2px; }
.sapp-parceiro-desc { font-size: 11px; color: #666; }
.sapp-parceiro-badge { background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%); color: white; font-size: 9px; font-weight: 700; padding: 3px 8px; border-radius: 8px; white-space: nowrap; position: absolute; top: 12px; right: 12px; box-shadow: 0 2px 4px rgba(185,28,28,0.3); }
.sapp-tab-row { display: flex; gap: 8px; padding: 0 20px 12px; overflow-x: auto; }
.sapp-tab-row::-webkit-scrollbar { display: none; }
.sapp-tab-row .sapp-tab { padding: 6px 14px; background: white; border-radius: 20px; border: 1px solid #eee; font-size: 12px; font-weight: 600; color: #666; white-space: nowrap; cursor: pointer; }
.sapp-tab-row .sapp-tab.active { background: #ff6a00; color: white; border-color: #ff6a00; }


/* Fix contraste heroes customizados */
.sapp-card-dark.hero { padding: 20px; min-height: 120px; }
.sapp-card-dark.hero .sapp-card-t,
.sapp-card-dark.hero .sapp-card-d { color: #ffffff !important; text-shadow: 0 1px 3px rgba(0,0,0,0.4); }


.sapp-qcard.restaurantes .sapp-qcard-icon { background: #ffebee; color: #c62828; }

/* === FIX DE ALINHAMENTO LARGURA TOTAL === */
.sapp-scroll { padding: 4px 16px 100px !important; }
.sapp-search { width: 100% !important; max-width: none !important; margin: 0 0 20px 0 !important; box-sizing: border-box !important; }
.sapp-quick-grid { padding: 0 !important; margin-bottom: 20px !important; gap: 8px !important; }
.sapp-parceiros-title { padding: 0 !important; margin: 16px 0 10px 0 !important; }
.sapp-parceiro-card { margin: 0 0 12px 0 !important; box-sizing: border-box !important; }
.sapp-tab-row { padding: 0 0 12px 0 !important; }
.sapp-card-dark, .sapp-card-light { margin-left: 0 !important; margin-right: 0 !important; }





/* === NOVO VISUAL: HEADER E FOOTER === */







/* Ajusta o espaçamento do scroll para o header de 64px */
.sapp-scroll {
  padding-top: 80px !important; 
}


/* Header Unificado (Avatar + Textos + Bell) */

.sapp-header {
  position: fixed !important;
  top: 0; left: 0; right: 0;
  height: 72px;
  padding: 0 20px !important; /* Força 20px nas laterais */
  background: #ffffff;
  z-index: 100;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box !important; /* Garante que o padding não estoure a tela */
}


.sapp-header-left { display: flex; align-items: center; gap: 12px; cursor: pointer; padding-left: 4px; }

.sapp-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #f4f6f8;
  color: #333;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: bold;
  border: 2px solid #ff6a00; /* Borda pra combinar com o tema */
  box-shadow: 0 2px 8px rgba(255,106,0,0.2);
  overflow: hidden;
}

.sapp-avatar img {
  width: 100%; height: 100%; object-fit: cover;
}

.sapp-user-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sapp-app-title {
  font-size: 20px;
  font-weight: 900;
  color: #333;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 2px;
}

.sapp-user-subtitle {
  font-size: 13px;
  font-weight: 500;
  color: #777;
  line-height: 1.1;
}

.sapp-header-right { display: flex; align-items: center; padding-right: 4px; }

.sapp-icon-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #f4f6f8;
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #333;
  cursor: pointer;
  position: relative;
}

.sapp-badge {
  position: absolute;
  top: 10px; right: 10px;
  width: 8px; height: 8px;
  background: #ef4444;
  border-radius: 50%;
  border: 1.5px solid #fff;
}

/* Ajuste do scroll para o header de 72px */
.sapp-scroll {
  padding-top: 88px !important;
}

/* Footer Fixo */
.sapp-nav {
  position: fixed !important;
  bottom: 0; left: 0; right: 0;
  z-index: 100 !important;
  background: #fff !important;
  border-top: 1px solid #eee;
  padding-bottom: env(safe-area-inset-bottom, 10px);
}

/* === CARRINHO E LOJA === */
.sapp-cart-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; background: #ff6a00; color: white; display: flex; align-items: center; justify-content: center; font-size: 24px; cursor: pointer; box-shadow: 0 4px 12px rgba(255,106,0,0.3); }
.sapp-cart-badge { position: absolute; top: -2px; right: -2px; background: #ef4444; color: white; font-size: 11px; font-weight: bold; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }

.sapp-cart-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #fff; border-radius: 12px; margin-bottom: 10px; border: 1px solid #f0f0f0; }
.sapp-cart-info { flex: 1; }
.sapp-cart-name { font-size: 14px; font-weight: 600; color: #333; margin-bottom: 4px; }
.sapp-cart-price { font-size: 14px; font-weight: 800; color: #ff6a00; }

.sapp-add-btn { width: 32px; height: 32px; border-radius: 8px; background: #fff3e0; color: #ff6a00; border: 1px solid #ffe0b2; font-size: 20px; display: flex; align-items: center; justify-content: center; cursor: pointer; }

.sapp-qtd-control { display: flex; align-items: center; gap: 12px; background: #f4f6f8; border-radius: 8px; padding: 4px; }
.sapp-qtd-control button { width: 28px; height: 28px; border-radius: 6px; background: #fff; border: 1px solid #ddd; font-size: 16px; font-weight: bold; color: #333; cursor: pointer; }
.sapp-qtd-control span { font-size: 14px; font-weight: 700; min-width: 16px; text-align: center; }

.sapp-cart-total { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; padding-top: 20px; border-top: 2px dashed #eee; font-size: 18px; font-weight: 800; color: #333; }

.sapp-checkout-btn { width: 100%; padding: 16px; background: #ff6a00; color: white; border: none; border-radius: 12px; font-size: 16px; font-weight: 800; cursor: pointer; box-shadow: 0 4px 12px rgba(255,106,0,0.3); }

/* === CHECKOUT === */
.sapp-pay-card {
  background: #fff;
  border: 1.5px solid #eee;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s;
}
.sapp-pay-card i {
  font-size: 24px;
  color: #999;
}
.sapp-pay-card span {
  font-size: 13px;
  font-weight: 700;
  color: #666;
}
.sapp-pay-card.active {
  border-color: #ff6a00;
  background: #fff8f3;
}
.sapp-pay-card.active i,
.sapp-pay-card.active span {
  color: #ff6a00;
}

/* === MODAIS CUSTOMIZADOS === */
.sapp-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 99999; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.2s ease;
  padding: 20px;
}
.sapp-modal-overlay.active { opacity: 1; }

.sapp-modal-box {
  background: #fff; border-radius: 20px; width: 100%; max-width: 340px;
  padding: 24px; text-align: center;
  transform: scale(0.9); transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.sapp-modal-overlay.active .sapp-modal-box { transform: scale(1); }

.sapp-modal-icon {
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 30px;
}
.sapp-modal-icon.warning { background: #fff3e0; color: #ff6a00; }
.sapp-modal-icon.danger { background: #ffebee; color: #d32f2f; }
.sapp-modal-icon.success { background: #e8f5e9; color: #2e7d32; }

.sapp-modal-title { font-size: 18px; font-weight: 800; color: #333; margin: 0 0 8px; }
.sapp-modal-desc { font-size: 14px; color: #666; margin: 0 0 24px; line-height: 1.4; }

.sapp-modal-actions { display: flex; gap: 10px; }
.sapp-modal-btn {
  flex: 1; padding: 14px; border-radius: 12px; font-size: 15px; font-weight: 800;
  cursor: pointer; border: none; transition: background 0.2s;
}
.sapp-modal-btn.cancel { background: #f4f6f8; color: #555; }
.sapp-modal-btn.confirm { background: #ff6a00; color: #fff; }
.sapp-modal-btn.danger { background: #d32f2f; color: #fff; }

.pd-main { padding: 20px; max-width: 600px; margin: 0 auto; }
.pd-tabs { display: flex; gap: 8px; margin-bottom: 20px; overflow-x: auto; padding-bottom: 4px; }
.pd-tabs::-webkit-scrollbar { display: none; }
.pd-tab { padding: 8px 16px; background: #fff; border: 1px solid #ddd; border-radius: 20px; font-size: 13px; font-weight: 700; color: #666; cursor: pointer; white-space: nowrap; transition: 0.2s; }
.pd-tab.active { background: #ff6a00; color: #fff; border-color: #ff6a00; }
