
:root {
  --bg: #101010;
  --surface: #191919;
  --surface-light: #222222;
  --yellow: #ffc928;
  --yellow-hover: #ffda62;
  --white: #ffffff;
  --muted: #c4c4c4;
  --border: #343434;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.topbar {
  padding: 9px 16px;
  text-align: center;
  background: var(--yellow);
  color: #111;
  font-size: 13px;
  font-weight: 800;
}

.header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 6%;
  background: rgba(16, 16, 16, .96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: .4px;
}

.brand strong {
  color: var(--yellow);
}

.brand-logo {
  width: 90px;
  height: 90px;
  flex: 0 0 auto;
  border: 1px solid var(--border);
  border-radius: 50%;
  object-fit: contain;
  background: #000;
}

.header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header nav a,
footer > a:last-child {
  color: var(--muted);
  font-size: 14px;
}

.header nav a:hover,
footer > a:last-child:hover {
  color: var(--yellow);
}

.cart-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--white);
}

.cart-button svg,
.location-line svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-button b {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: #111;
  font-size: 12px;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 50px;
  padding: 80px 7%;
  background: radial-gradient(ellipse at 85% 40%, #30250e 0%, var(--bg) 54%);
}

.hero-content {
  max-width: 650px;
}

.eyebrow {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
}

h1, h2, h3, p {
  margin-top: 0;
}

.hero h1 {
  margin: 18px 0;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.08;
  letter-spacing: -2px;
}

h1 em, h2 em {
  color: var(--yellow);
  font-style: normal;
}

.hero-content > p {
  max-width: 570px;
  color: var(--white);
  font-size: 16px;
  line-height: 1.9;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 48px;
  padding: 13px 22px;
  border: 0;
  border-radius: 10px;
  background: var(--yellow);
  color: #111;
  font-weight: 900;
  transition: background .2s, transform .2s;
}

.primary-button:hover {
  background: var(--yellow-hover);
  transform: translateY(-2px);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-points span {
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 30px;
  color: var(--white);
  font-size: 13px;
}

.opening-hours {
  max-width: 470px;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(25, 25, 25, .8);
}

.opening-hours h2 {
  margin: 0 0 10px;
  color: var(--yellow);
  font-size: 18px;
}

.opening-hours-list {
  display: grid;
  gap: 7px;
}

.opening-hours-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  color: var(--white);
  font-size: 13px;
}

.opening-hours-row strong {
  display: flex;
  flex-direction: column;
}

.opening-hours-row small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}

.opening-hours-row span {
  text-align: right;
}

.opening-hours-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.instagram-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 470px;
  margin-top: 16px;
  padding: 14px 18px;
  border: 1px solid var(--yellow);
  border-radius: 12px;
  background: linear-gradient(110deg, #30250e, var(--surface));
}

.instagram-cta p {
  margin: 0;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}

.instagram-cta a {
  flex: 0 0 auto;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
}

.instagram-cta a:hover {
  color: var(--yellow-hover);
}

.hero-image {
  overflow: hidden;
  height: 410px;
}

.hero-image img {
  height: 100%;
  object-position: center;
  object-fit: contain;
  mix-blend-mode: screen;
}

.menu-section,
.reviews-section {
  padding: 76px 7%;
}

.section-heading,
.reviews-section {
  text-align: center;
}

.section-heading h2,
.location-copy h2,
.reviews-section h2 {
  margin: 10px 0;
  font-size: clamp(30px, 4vw, 43px);
  line-height: 1.2;
}

.section-heading p {
  color: var(--white);
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 30px 0;
}

.category {
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: var(--surface);
  color: var(--white);
  font-weight: 700;
}

.category:hover,
.category.active {
  border-color: var(--yellow);
  background: var(--yellow);
  color: #111;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  transition: transform .2s, border-color .2s;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: #79601d;
}

.product-image {
  position: absolute;
  inset: 0;
  background: var(--surface-light);
}

.product-image img {
  height: 100%;
  object-fit: cover;
}

.product-card[data-product-id="3"] .product-image img {
  object-fit: contain;
  background: var(--surface-light);
}

.product-info {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 18px;
  background: linear-gradient(180deg, transparent, rgba(16, 16, 16, .94) 24%, rgba(16, 16, 16, .98));
}

.product-card[data-product-name="Açaí com Confetes"] .product-info,
.product-card[data-product-name="Pastel Tradicional"] .product-info,
.product-card[data-product-name="Pizza Napolitana"] .product-info {
  padding-top: 10px;
  background: linear-gradient(180deg, transparent, rgba(16, 16, 16, .9) 42%, rgba(16, 16, 16, .96));
}

.product-category {
  color: var(--yellow);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-info h3 {
  margin: 6px 0;
  color: var(--white);
  font-size: 19px;
}

.product-description {
  display: -webkit-box;
  overflow: hidden;
  margin: 4px 0 0;
  color: var(--white);
  font-size: 13px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 15px;
}

.product-price {
  color: var(--yellow);
  font-size: 20px;
  font-weight: 900;
}

.add-button {
  width: 43px;
  height: 43px;
  border: 0;
  border-radius: 12px;
  background: var(--yellow);
  color: #111;
  font-size: 25px;
  font-weight: 800;
}

.add-button:hover {
  background: var(--yellow-hover);
}

.empty-products {
  grid-column: 1 / -1;
  padding: 35px;
  border: 1px dashed var(--border);
  border-radius: 12px;
  color: var(--white);
  text-align: center;
}

.location-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 35px;
  align-items: center;
  padding: 65px 7%;
  background: #181818;
}

.location-copy {
  min-width: 0;
  text-align: center;
}

.location-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 24px 0 10px;
  color: var(--white);
  font-weight: 800;
}

.location-line svg {
  flex-shrink: 0;
  color: var(--yellow);
}

.location-note {
  color: var(--white);
  font-size: 14px;
}

.outline-button {
  display: inline-block;
  margin-top: 12px;
  padding: 11px 16px;
  border: 1px solid var(--yellow);
  border-radius: 9px;
  color: var(--yellow);
  font-weight: 800;
}

.outline-button:hover {
  background: var(--yellow);
  color: #111;
}

.reviews-section {
  padding-top: 70px;
  padding-bottom: 75px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.review-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 120px;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--white);
  font-size: 16px;
  line-height: 1.7;
}

.review-card p {
  margin: 0;
}

.review-stars {
  color: var(--yellow);
  font-size: 22px;
  letter-spacing: 4px;
  line-height: 1;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 7%;
  border-top: 1px solid var(--border);
}

footer p {
  margin: 0;
  color: var(--yellow);
  font-size: 13px;
}

.modal-backdrop[hidden] {
  display: none !important;
}

.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  background: rgba(0, 0, 0, .75);
}

.cart-panel {
  overflow-y: auto;
  width: min(100%, 510px);
  height: 100%;
  padding: 25px;
  border-left: 1px solid var(--border);
  background: var(--bg);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.cart-header h2 {
  margin: 0;
  font-size: 27px;
}

.close-button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--white);
  font-size: 28px;
}

.cart-items {
  margin: 22px 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item h4 {
  margin: 0 0 4px;
  color: var(--white);
}

.cart-item p {
  margin: 0;
  color: var(--yellow);
  font-weight: 800;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quantity-controls button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-light);
  color: var(--white);
}

.cart-empty {
  padding: 25px 0;
  color: var(--white);
}

.cart-total-line {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  color: var(--white);
}

.cart-total-line strong {
  color: var(--yellow);
}

.minimum-notice,
.payment-note {
  color: var(--white);
  font-size: 13px;
}

.cart-panel form h3 {
  margin: 25px 0 12px;
  color: var(--white);
  font-size: 17px;
}

.cart-panel form > label,
.cart-panel form > div > label,
.form-row label {
  display: block;
  margin: 12px 0 6px;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}

.cart-panel input:not([type="radio"]),
.cart-panel select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  outline: none;
  background: var(--surface);
  color: var(--white);
}

.cart-panel input:focus,
.cart-panel select:focus {
  border-color: var(--yellow);
}

.cart-panel input::placeholder {
  color: #aaa;
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.choice-card {
  display: flex !important;
  align-items: center;
  gap: 8px;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--white);
  cursor: pointer;
}

.choice-card:has(input:checked) {
  border-color: var(--yellow);
}

.choice-card input {
  accent-color: var(--yellow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 10px;
}

.final-total {
  margin-top: 18px;
  font-size: 18px;
  font-weight: 900;
}

.checkout-button {
  width: 100%;
  margin-top: 12px;
}

.checkout-message {
  color: var(--yellow);
  font-size: 13px;
}

.toast {
  position: fixed;
  z-index: 200;
  right: 20px;
  bottom: 20px;
  max-width: calc(100% - 40px);
  padding: 12px 18px;
  border: 1px solid var(--yellow);
  border-radius: 10px;
  background: var(--surface);
  color: var(--white);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .2s, transform .2s;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 850px) {
  .header {
    flex-wrap: wrap;
    padding: 13px 5%;
  }

  .header nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 20px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 50px 6%;
  }

  .hero-image {
    height: 330px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .location-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 14px;
  }

  .brand-logo {
    width: 68px;
    height: 68px;
  }

  .cart-button {
    gap: 5px;
    padding: 8px;
    font-size: 12px;
  }

  .cart-button svg {
    width: 18px;
    height: 18px;
  }

  .header nav {
    gap: 15px;
  }

  .header nav a {
    font-size: 12px;
  }

  .hero {
    padding-top: 38px;
  }

  .hero h1 {
    font-size: 40px;
    letter-spacing: -1.2px;
  }

  .hero-image {
    height: 260px;
  }

  .instagram-cta {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .menu-section,
  .reviews-section {
    padding: 50px 5%;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  
  .location-section {
    padding: 45px 5%;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    min-height: 75px;
  }

  footer {
    flex-wrap: wrap;
    padding: 22px 5%;
  }

  .cart-panel {
    padding: 18px;
  }

  .choice-grid {
    grid-template-columns: 1fr;
  }
}
