/* ============================================
   BIO Premium Foodtruck - OneguS
   Dark + Neon Orange + Glassmorphism
   Mobile-first (375px), responsivo
   ============================================ */

:root {
  /* Cores principais */
  --bg-dark: #0d0d0f;
  --bg-card: rgba(255, 255, 255, 0.06);
  --bg-card-border: rgba(255, 255, 255, 0.12);
  --text-primary: #f0f0f0;
  --text-secondary: #b0b0b0;
  --accent: #ff6b35;
  --accent-hover: #ff8555;
  --accent-glow: rgba(255, 107, 53, 0.5);
  --accent-gradient: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 50%, #ff6b35 100%);
  --gray-graphite: #1a1a1e;
  --gray-mid: #2a2a2e;

  /* Tipografia */
  --font-primary: 'Roboto', 'Lato', 'Open Sans', sans-serif;
  --text-title: 20px;
  --text-title-lg: 24px;
  --text-body: 14px;
  --text-small: 12px;

  /* Espaçamento */
  --space: 16px;
  --radius: 16px;
  --radius-sm: 12px;

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: 1px solid rgba(255, 255, 255, 0.12);
  --glass-blur: 12px;

  /* Transições */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --duration: 0.25s;
}

/* Reset e base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-body);
  color: var(--text-primary);
  background: var(--bg-dark);
  background-image: linear-gradient(rgba(13, 13, 15, 0.6), rgba(13, 13, 15, 0.6)), url('../img/bgfood.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  min-height: 100vh;
  min-height: 100dvh;
  line-height: 1.5;
  overflow-x: hidden;
  padding-bottom: 88px; /* espaço para barra do carrinho */
}

/* Focus visível (acessibilidade) */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}

/* Background com textura e gradiente animado */
/* Textura de ruído sutil (fallback se noise.png não existir) */
.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
  background-image: url('../img/ui/noise.png'), 
    radial-gradient(circle at 25% 25%, rgba(255,255,255,0.03) 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 200px 200px, 4px 4px, 3px 3px;
  background-repeat: repeat;
}

.bg-gradient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 107, 53, 0.15) 0%, transparent 50%),
              radial-gradient(ellipse 60% 40% at 80% 100%, rgba(255, 107, 53, 0.08) 0%, transparent 40%);
  animation: bgShift 12s ease-in-out infinite alternate;
}

@keyframes bgShift {
  from { opacity: 1; transform: scale(1); }
  to   { opacity: 0.9; transform: scale(1.05); }
}

/* ========== PERFIL (estilo Linktree, dentro do main) ========== */
.profile-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space);
  padding: 8px 0;
}

.profile-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 107, 53, 0.5);
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
  animation: profileGlow 2.5s ease-in-out infinite;
}

@keyframes profileGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.3), 0 0 40px rgba(255, 107, 53, 0.15);
  }
  50% {
    box-shadow: 0 0 35px rgba(255, 107, 53, 0.6), 0 0 60px rgba(255, 107, 53, 0.3);
  }
}

.profile-name {
  font-size: var(--text-title-lg);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin: 0;
  text-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
  animation: nameGlow 2.5s ease-in-out infinite;
}

@keyframes nameGlow {
  0%, 100% {
    text-shadow: 0 0 15px rgba(255, 107, 53, 0.2), 0 0 30px rgba(255, 107, 53, 0.1);
  }
  50% {
    text-shadow: 0 0 25px rgba(255, 107, 53, 0.5), 0 0 45px rgba(255, 107, 53, 0.25);
  }
}

/* ========== MAIN LAYOUT ========== */
.main {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto;
  padding: var(--space);
  display: flex;
  flex-direction: column;
  gap: var(--space);
}

/* ========== CARDS (glassmorphism) ========== */
.card {
  position: relative;
  overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border);
  border-radius: var(--radius);
  padding: var(--space);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  transition: box-shadow var(--duration) var(--ease);
}

/* Brilho no vidro – animação contínua */
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 35%,
    rgba(255, 255, 255, 0.12) 50%,
    transparent 65%,
    transparent 100%
  );
  background-size: 200% 100%;
  background-position: 150% 0;
  animation: glassShine 4s ease-in-out infinite;
  pointer-events: none;
  border-radius: inherit;
  z-index: 0;
}

.card > * {
  position: relative;
  z-index: 1;
}

@keyframes glassShine {
  0%   { background-position: 150% 0; }
  100% { background-position: -50% 0; }
}

.card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.card-title {
  font-size: var(--text-title);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: var(--space);
  color: var(--text-primary);
}

/* Destaque ao scroll (animação) */
.card-today.highlight {
  animation: cardPulse 1.2s var(--ease);
  box-shadow: 0 0 30px var(--accent-glow);
}

@keyframes cardPulse {
  0%   { box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3); }
  50%  { box-shadow: 0 0 40px var(--accent-glow), 0 0 60px rgba(255, 107, 53, 0.2); }
  100% { box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3); }
}

/* ========== CARD HOJE (mapa estilizado) ========== */
.today-map-bg {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  min-height: 120px;
  margin-bottom: var(--space);
  background: linear-gradient(145deg, var(--gray-graphite) 0%, var(--gray-mid) 100%);
  background-size: cover;
  background-position: center 60%;
  background-repeat: no-repeat;
}

.map-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 107, 53, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 107, 53, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.today-info {
  position: relative;
  padding: var(--space);
  z-index: 1;
}

.today-location {
  font-size: var(--text-title);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.today-time {
  font-size: var(--text-body);
  color: var(--text-secondary);
}

.today-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* ========== BOTÕES ========== */
.btn {
  font-family: var(--font-primary);
  font-size: var(--text-body);
  font-weight: 600;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), background var(--duration) var(--ease);
}

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

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(255, 107, 53, 0.5);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-outline:hover {
  background: rgba(255, 107, 53, 0.15);
  box-shadow: 0 0 16px var(--accent-glow);
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  box-shadow: 0 6px 28px var(--accent-glow);
  filter: brightness(1.05);
}

/* ========== EVENTOS ========== */
.events-list {
  list-style: none;
}

.events-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--text-body);
}

.events-list li:last-of-type {
  border-bottom: none;
}

.event-date {
  color: var(--text-secondary);
  min-width: 80px;
}

.event-name {
  color: var(--text-primary);
  font-weight: 500;
}

.link-calendar {
  display: block;
  margin-top: var(--space);
  font-size: var(--text-small);
  color: var(--accent);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  font-family: var(--font-primary);
  transition: color var(--duration) var(--ease);
}

.link-calendar:hover {
  color: var(--accent-hover);
}

/* ========== TABS CARDÁPIO ========== */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--space);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 8px;
}

.tab {
  font-family: var(--font-primary);
  font-size: var(--text-small);
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color var(--duration) var(--ease), background var(--duration) var(--ease);
}

.tab:hover {
  color: var(--text-primary);
}

.tab.active {
  background: rgba(255, 107, 53, 0.2);
  color: var(--accent);
}

.tab-panels {
  position: relative;
  min-height: 200px;
}

.tab-panel {
  display: none;
  animation: tabFade 0.3s var(--ease);
}

.tab-panel.active {
  display: block;
}

@keyframes tabFade {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ========== ITENS DO MENU ========== */
.menu-list {
  list-style: none;
}

.menu-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: var(--space);
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: opacity var(--duration) var(--ease);
}

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

.menu-item.added {
  animation: itemAdded 0.5s var(--ease);
}

@keyframes itemAdded {
  0%   { opacity: 1; transform: scale(1); }
  50%  { transform: scale(1.02); }
  100% { opacity: 1; transform: scale(1); }
}

.menu-item-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--gray-mid);
}

.menu-item-info {
  min-width: 0;
}

.menu-item-name {
  font-weight: 600;
  font-size: var(--text-body);
  color: var(--text-primary);
  margin-bottom: 4px;
}

.menu-item-desc {
  font-size: var(--text-small);
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.menu-item-price {
  font-weight: 700;
  color: var(--accent);
  font-size: var(--text-body);
}

.menu-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.btn-add {
  font-family: var(--font-primary);
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--accent);
  background: rgba(255, 107, 53, 0.2);
  border: 1px solid rgba(255, 107, 53, 0.4);
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.btn-add:hover {
  background: rgba(255, 107, 53, 0.35);
}

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

/* ========== BARRA CARRINHO (fixa) ========== */
.cart-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-top: var(--glass-border);
  padding: var(--space);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
}

.cart-bar-inner {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space);
}

.cart-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-body);
  color: var(--text-primary);
}

.cart-icon {
  font-size: 22px;
}

.cart-count {
  font-weight: 500;
}

.cart-total {
  font-weight: 700;
  color: var(--accent);
}

.btn-checkout {
  flex: 1;
  max-width: 200px;
  padding: 14px 20px;
  font-size: var(--text-body);
}

.cart-bar.empty .btn-checkout {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* ========== TOAST ========== */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  z-index: 200;
  background: var(--gray-mid);
  color: var(--text-primary);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: var(--text-small);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border: var(--glass-border);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease), visibility var(--duration) var(--ease);
}

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

/* ========== FOOTER ========== */
.footer {
  text-align: center;
  padding: var(--space) 0;
  margin-top: var(--space);
  border-top: var(--glass-border);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 8px;
}

.footer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  text-decoration: none;
  transition: transform var(--duration) var(--ease), filter var(--duration) var(--ease);
}

.footer-icon:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

.footer-icon svg {
  display: block;
}

.footer-credit {
  font-size: var(--text-small);
  color: var(--text-secondary);
  opacity: 0.8;
}

/* ========== MODAIS ========== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration) var(--ease), visibility var(--duration) var(--ease);
}

.modal.open {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  background: var(--gray-graphite);
  border-radius: var(--radius) var(--radius) 0 0;
  border: var(--glass-border);
  border-bottom: none;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.3s var(--ease);
}

.modal.open .modal-content {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space);
  border-bottom: var(--glass-border);
  flex-shrink: 0;
}

.modal-title {
  font-size: var(--text-title);
  font-weight: 700;
}

.modal-close {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
  transition: color var(--duration) var(--ease), background var(--duration) var(--ease);
}

.modal-close:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

.modal-body {
  padding: var(--space);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Modais flutuantes (Próximas Datas, Calendário): glass, animação */
.modal-floating {
  align-items: center;
  justify-content: center;
  padding: var(--space);
}

.modal-floating-backdrop {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.5);
  transition: opacity 0.35s var(--ease);
}

.modal-floating-content {
  max-width: 340px;
  width: 100%;
  max-height: 75vh;
  border-radius: var(--radius);
  border: var(--glass-border);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  transform: scale(0.85) translateY(-20px);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.modal-floating.open .modal-floating-content {
  transform: scale(1) translateY(0);
  opacity: 1;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.12), 0 0 40px rgba(255, 107, 53, 0.08);
}

.modal-floating.open .modal-floating-backdrop {
  opacity: 1;
}

/* Brilho animado no glass */
.modal-floating-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 35%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 65%,
    transparent 100%
  );
  background-size: 200% 100%;
  background-position: 150% 0;
  animation: glassShine 4s ease-in-out infinite;
  pointer-events: none;
  border-radius: inherit;
  z-index: 0;
}

.modal-floating .modal-header,
.modal-floating .modal-body {
  position: relative;
  z-index: 1;
}

/* Listas em modais */
.dates-list,
.events-full-list {
  list-style: none;
}

.dates-list li,
.events-full-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--text-body);
}

.dates-list li:last-child,
.events-full-list li:last-child {
  border-bottom: none;
}

/* Itens das modais flutuantes com animação em cascata */
.modal-floating .events-full-list li,
.modal-floating .dates-list li {
  animation: modalItemIn 0.4s var(--ease) backwards;
}

.modal-floating .events-full-list li:nth-child(1),
.modal-floating .dates-list li:nth-child(1) { animation-delay: 0.05s; }
.modal-floating .events-full-list li:nth-child(2),
.modal-floating .dates-list li:nth-child(2) { animation-delay: 0.1s; }
.modal-floating .events-full-list li:nth-child(3),
.modal-floating .dates-list li:nth-child(3) { animation-delay: 0.15s; }
.modal-floating .events-full-list li:nth-child(4),
.modal-floating .dates-list li:nth-child(4) { animation-delay: 0.2s; }
.modal-floating .events-full-list li:nth-child(5),
.modal-floating .dates-list li:nth-child(5) { animation-delay: 0.25s; }
.modal-floating .events-full-list li:nth-child(6),
.modal-floating .dates-list li:nth-child(6) { animation-delay: 0.3s; }
.modal-floating .events-full-list li:nth-child(n+7),
.modal-floating .dates-list li:nth-child(n+7) { animation-delay: 0.35s; }

@keyframes modalItemIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== CHECKOUT ========== */
.modal-checkout-content {
  max-width: 400px;
  max-height: 85vh;
}

.checkout-items-list {
  list-style: none;
}

.checkout-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.checkout-item-text {
  flex: 1;
}

.btn-trash-item {
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color var(--duration) var(--ease), background var(--duration) var(--ease);
}

.btn-trash-item:hover {
  color: #e74c3c;
  background: rgba(231, 76, 60, 0.15);
}

.btn-trash-item svg {
  display: block;
}

.checkout-summary {
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: var(--radius-sm);
  padding: var(--space);
  margin-bottom: var(--space);
  font-size: var(--text-small);
}

.checkout-summary ul {
  list-style: none;
}


.checkout-summary .total-line {
  font-weight: 700;
  color: var(--accent);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.link-small {
  display: block;
  margin-bottom: var(--space);
  font-size: var(--text-small);
  color: var(--accent);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  font-family: var(--font-primary);
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-label {
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--text-secondary);
}

.form-input,
.form-select,
.form-textarea {
  font-family: var(--font-primary);
  font-size: var(--text-body);
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  width: 100%;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-secondary);
  opacity: 0.7;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  outline: none;
}

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

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--text-small);
  color: var(--text-secondary);
  cursor: pointer;
}

.form-checkbox {
  margin-top: 3px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.form-hint {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: -8px;
}

.checkout-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  font-family: var(--font-primary);
  font-weight: 600;
  padding: 14px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: filter var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.btn-whatsapp:hover {
  filter: brightness(1.1);
}

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

.btn-line {
  background: #00B900;
  color: #fff;
  font-family: var(--font-primary);
  font-weight: 600;
  padding: 14px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: filter var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.btn-line:hover {
  filter: brightness(1.1);
}

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

/* ========== PÓS-ENVIO ========== */
.post-send {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration) var(--ease), visibility var(--duration) var(--ease);
}

.post-send.show {
  opacity: 1;
  visibility: visible;
}

.post-send-inner {
  background: var(--gray-graphite);
  border: var(--glass-border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  max-width: 320px;
  margin: var(--space);
}

.post-send-title {
  font-size: var(--text-title);
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--accent);
}

.post-send-desc {
  font-size: var(--text-body);
  color: var(--text-secondary);
  margin-bottom: var(--space);
}

.post-send-inner .btn {
  width: 100%;
}

/* ========== RESPONSIVO (desktop) ========== */
@media (min-width: 768px) {
  body {
    padding-bottom: 24px;
    background-attachment: fixed;
  }

  .main {
    padding: 24px;
    gap: 24px;
  }

  .cart-bar {
    position: relative;
    border-radius: var(--radius);
    margin: 0 auto 24px;
    max-width: 480px;
    left: auto;
    right: auto;
    bottom: auto;
    width: calc(100% - 48px);
  }

  .modal {
    align-items: center;
    padding: 24px;
  }

  .modal-content {
    border-radius: var(--radius);
    border: var(--glass-border);
    max-height: 85vh;
  }

  .modal.open .modal-content {
    transform: translateY(0);
  }
}

/* Lazy loading placeholder para imagens */
img[loading="lazy"] {
  background: var(--gray-mid);
}
