:root {
  --color-bg-dark: #1A1A1A;
  --color-bg-card: #262626;
  --color-primary-red: #D31010;
  /* Baseado na coroa da logo */
  --color-primary-orange: #FF7300;
  /* Baseado nas listras da logo */
  --color-text-light: #F2F2F2;
  --color-text-muted: #A0A0A0;

  --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 8px 24px rgba(211, 16, 16, 0.2);
  --border-radius: 12px;

  --font-main: 'Poppins', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Header & Nav */
header {
  background-color: var(--color-bg-card);
  padding: 1rem 0;
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--color-primary-red);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text-light);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo img {
  height: 40px;
  border-radius: 50%;
}

.brand-red {
  color: var(--color-primary-red);
}

.brand-orange {
  color: var(--color-primary-orange);
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary-red), var(--color-primary-orange));
  color: #fff;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background: transparent;
  color: var(--color-text-light);
  border: 1px solid var(--color-primary-red);
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: rgba(211, 16, 16, 0.1);
}

/* Product Cards */
.menu-section {
  padding: 3rem 0;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-text-light);
  border-left: 4px solid var(--color-primary-orange);
  padding-left: 10px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background-color: var(--color-bg-card);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary-red);
}

.product-image {
  height: 200px;
  background-color: #333;
  background-size: cover;
  background-position: center;
}

.product-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.product-desc {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  flex-grow: 1;
  overflow-wrap: break-word;
  /* Garante a quebra para evitar overflow */
  -webkit-hyphens: auto;
  /* Tenta hifenizar de forma inteligente */
  -ms-hyphens: auto;
  hyphens: auto;
}

.product-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary-orange);
}

.add-btn {
  background: var(--color-primary-red);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

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

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: var(--color-bg-card);
  width: 90%;
  max-width: 500px;
  border-radius: var(--border-radius);
  padding: 2rem;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

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

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-title {
  margin-bottom: 1rem;
}

/* Addon Lists */
.addon-category {
  margin-bottom: 1.5rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 1rem;
  border-radius: 8px;
}

.addon-category-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
}

.addon-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* Custom Checkbox/Radio */
.custom-control {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.custom-control input {
  accent-color: var(--color-primary-orange);
  width: 18px;
  height: 18px;
}
/* Responsive Mobile Menu (Client Side) */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .product-card {
    flex-direction: row;
    height: 130px;
    align-items: center;
  }
  
  .product-image {
    width: 120px;
    height: 100%;
    flex-shrink: 0;
  }
  
  .product-info {
    padding: 0.8rem;
    height: 100%;
    justify-content: space-between;
  }
  
  .product-title {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
  }
  
  .product-desc {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .price {
    font-size: 1.05rem;
  }
  
  .add-btn {
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
  }
}
