:root {
  --primary: #ff3c00;
  --secondary: #ffb703;
  --accent: #25d366;
  --dark: rgba(0,0,0,0.75);
}

/* reset básico */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

html, body {
  width: 100%;
  min-height: 100%;
  background: #000;
  color: #fff;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: transparent;
  color: #fff;
}


/* ================= VIDEO BG ================= */

/* BACKGROUND DE VÍDEO */
.video-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: -2;
}

.video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ================= HEADER ================= */

.container-text {
  text-align: center;
  padding: 40px 20px 20px;
}

.logo {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  padding: 10px;
  margin-bottom: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
  filter: none;
  animation: logoPulse 2.5s infinite;
}

.container-text h1 {
  font-size: 2.5rem;
  color: var(--secondary);
}

.container-text p {
  font-size: 1rem;
  opacity: 0.9;
}

/* ================= CATEGORIAS ================= */

.container-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 10px;
}

.container-buttons button {
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: 1px solid var(--primary);
  padding: 10px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.container-buttons button:hover {
  background: var(--primary);
  color: #000;
}

.container-buttons button.active {
  background: #27ae60;
  color: #fff;
  box-shadow: 0 0 10px rgba(39, 174, 96, 0.6);
}


/* ================= PRODUTOS ================= */

#product-list {
  list-style: none;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  background: transparent;
}

.product-card {
  background: linear-gradient(145deg, rgba(255,60,0,0.15), rgba(0,0,0,0.7));
  border: 1px solid rgba(255,60,0,0.5);
  border-radius: 16px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 0 15px rgba(255,60,0,0.4);
  animation: fadeUp 0.4s ease forwards;
}

.product-card img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  margin-bottom: 10px;
  border-radius: 2px;
}

.product-card p {
  margin: 6px 0;
}

.item-price {
  color:  #27ae60;
  font-weight: bold;
  margin-bottom: 8px;
}

.product-card button {
  background: #27ae60;
  color: #fff;
  border: none;
  padding: 10px;
  width: 100%;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
}

.product-card button:hover {
  background: #1e874b;
}

/* ================= PROMOÇÃO ===================== */

.promo {
  border: 2px solid #27ae60;
}

.promo-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #27ae60;
  color: #fff;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: bold;
}

.old-price {
  text-decoration: line-through;
  color: #999;
  font-size: 0.85rem;
}

.promo-price {
  color: #27ae60;
  font-size: 1.1rem;
  font-weight: bold;
}


/* ================= CARRINHO FAB ================= */

.checkout-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--accent);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  box-shadow: 0 0 20px rgba(37,211,102,0.8);
  cursor: pointer;
  z-index: 10;
}

.whats-icon {
  width: 34px;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: red;
  color: #fff;
  font-size: 0.8rem;
  padding: 3px 7px;
  border-radius: 50%;
}

/* ================= CHECKOUT ================= */

.cart {
  position: fixed;
  bottom: 100px;
  right: 20px;
  width: 300px;
  background: var(--dark);
  backdrop-filter: blur(15px);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 0 25px rgba(255,60,0,0.6);
  z-index: 10;
}

.cart.hidden {
  display: none;
}

.cart h2 {
  text-align: center;
  margin-bottom: 10px;
}

.cart ul {
  list-style: none;
  max-height: 200px;
  overflow-y: auto;
}

.cart li {
  margin-bottom: 10px;
}

.qty-control {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
}

.qty-control button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--secondary);
  border: none;
  font-weight: bold;
  cursor: pointer;
}

.cart input,
.cart select {
  width: 100%;
  margin: 6px 0;
  padding: 8px;
  border-radius: 8px;
  border: none;
}

.checkout-send {
  background: linear-gradient(45deg, #25d366, #1ebe5d);
  color: #fff;
  font-weight: bold;
  border: none;
  padding: 12px;
  border-radius: 12px;
  width: 100%;
  margin-top: 10px;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(37,211,102,0.8);
  transition: 0.3s;
}

.checkout-send:hover {
  transform: scale(1.05);
}

/* ================= TOAST ================= */

.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(-20px);
  transition: 0.4s;
  z-index: 20;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.closed {
  background: #c0392b;
}

/* ================= ANIMAÇÕES ================= */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fly-img {
  position: fixed;
  width: 80px;
  z-index: 100;
  transition: transform 0.8s ease, opacity 0.8s ease;
}

/* ================= FECHADO ================= */

body.closed::after {
  content: "Estamos fechados no momento";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  z-index: 50;
}

@keyframes logoPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes logoPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
