:root {
  --tomato: #b92f24;
  --tomato-dark: #7f1f1a;
  --basil: #2f6b45;
  --cream: #fffaf3;
  --parmesan: #f6d28a;
  --toast: #8e3512;
  --gold: #c98f2f;
  --ink: #342018;
  --muted: #705d52;
  --line: rgba(70, 39, 27, 0.14);
  --shadow: 0 24px 70px rgba(80, 35, 20, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 112px;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fffaf3;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 12px auto 0;
  min-height: 86px;
  padding: 6px 12px;
  border: 1px solid rgba(70, 39, 27, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 34px rgba(96, 50, 28, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  overflow: visible;
  width: 248px;
  height: 70px;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
}

nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  white-space: nowrap;
}

.primary,
.header-button {
  color: #fff8ef;
  background: var(--tomato);
  box-shadow: 0 14px 30px rgba(127, 31, 26, 0.24);
}

.header-button {
  gap: 8px;
}

.secondary {
  color: var(--tomato-dark);
  border-color: rgba(127, 31, 26, 0.18);
  background: rgba(255, 255, 255, 0.48);
}

.hero {
  display: grid;
  grid-template-columns: minmax(520px, 0.96fr) minmax(420px, 1.04fr);
  gap: 52px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 52px auto 0;
  min-height: calc(100vh - 132px);
  padding-bottom: 42px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--basil);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 0.98;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 6.3vw, 6rem);
}

.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.22rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.service-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-strip span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-media {
  position: relative;
  overflow: hidden;
  align-self: end;
  min-height: 520px;
  border-radius: 8px;
  background: #3a2118;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius);
  color: #fff8ef;
  background: rgba(35, 23, 19, 0.68);
  backdrop-filter: blur(12px);
}

.hero-badge span {
  color: rgba(255, 248, 239, 0.78);
  font-size: 0.9rem;
}

.quick-info,
.section,
.promo-band,
.delivery-band,
footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 26px 0 72px;
}

.promo-band {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
  padding: 20px;
  border: 1px solid rgba(185, 47, 36, 0.18);
  border-radius: var(--radius);
  background: #fff3df;
  box-shadow: 0 18px 50px rgba(80, 35, 20, 0.08);
}

.promo-band h2 {
  margin: 0;
  font-family: Inter, sans-serif;
  font-size: 1.06rem;
}

.promo-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.promo-pill {
  display: grid;
  gap: 4px;
  min-width: min(100%, 250px);
  padding: 12px 14px;
  border: 1px solid rgba(127, 31, 26, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
}

.promo-pill strong {
  color: var(--tomato-dark);
}

.promo-pill span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.quick-info article,
.menu-card,
.popular-grid article,
.trust-grid article,
.faq article,
.order-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 50px rgba(80, 35, 20, 0.08);
}

.quick-info article {
  padding: 24px;
}

.quick-info span,
.tag {
  color: var(--tomato);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.quick-info h2,
.menu-card h3,
.faq h3,
.order-panel h3 {
  margin: 8px 0 8px;
  font-family: Inter, sans-serif;
  font-size: 1.06rem;
  line-height: 1.25;
}

.quick-info p,
.menu-card p,
.faq p,
.order-panel p,
.section-heading p,
.split p {
  color: var(--muted);
  line-height: 1.65;
}

.section {
  padding: 76px 0;
}

.section.compact {
  padding-top: 14px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading h2,
.delivery-band h2,
.split h2 {
  margin-bottom: 14px;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -4px 0 22px;
}

.category-row a,
.category-row span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(127, 31, 26, 0.14);
  border-radius: 999px;
  color: var(--tomato-dark);
  background: rgba(255, 255, 255, 0.46);
  font-size: 0.88rem;
  font-weight: 800;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.menu-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.menu-card:hover {
  transform: translateY(-4px);
  border-color: rgba(185, 47, 36, 0.28);
  box-shadow: 0 26px 70px rgba(80, 35, 20, 0.16);
}

.menu-card.featured {
  background: #fffaf0;
}

.menu-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.menu-photo {
  min-height: 180px;
  background:
    linear-gradient(135deg, rgba(35, 23, 19, 0.02), rgba(185, 47, 36, 0.2)),
    url("./assets/exported/hero-parmegiana.png") var(--photo-position) / cover no-repeat,
    var(--photo-color);
}

.photo-one {
  --photo-position: 48% 44%;
  --photo-color: linear-gradient(135deg, #f7d59a, #b92f24 68%, #5b241d);
}

.photo-two {
  --photo-position: 58% 48%;
  --photo-color: linear-gradient(135deg, #ffe7aa, #bf4a22 58%, #2f6b45);
}

.photo-three {
  --photo-position: 42% 56%;
  --photo-color: linear-gradient(135deg, #f0be71, #8b5633 56%, #351d16);
}

.photo-four {
  --photo-position: 54% 62%;
  --photo-color: linear-gradient(135deg, #f7d59a, #8b5633 62%, #231713);
}

.photo-five {
  --photo-position: 35% 45%;
  --photo-color: linear-gradient(135deg, #b92f24, #f6d28a 72%, #2f6b45);
}

.photo-six {
  --photo-position: 68% 40%;
  --photo-color: linear-gradient(135deg, #fff5e6, #b92f24 62%, #231713);
}

.menu-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
}

.menu-price {
  display: grid;
  gap: 2px;
}

.menu-price span {
  color: var(--muted);
  font-size: 0.78rem;
  text-decoration: line-through;
}

.menu-price.has-discount strong {
  color: var(--basil);
}

.menu-footer strong {
  font-size: 1.14rem;
}

.add-to-cart {
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid rgba(127, 31, 26, 0.16);
  border-radius: var(--radius);
  color: var(--tomato-dark);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.add-to-cart:hover {
  color: var(--tomato);
  border-color: rgba(185, 47, 36, 0.34);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(47, 107, 69, 0.42);
  outline-offset: 3px;
}

.popular-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.popular-grid article,
.trust-grid article {
  padding: 22px;
}

.popular-grid span,
.trust-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--tomato);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.popular-grid strong,
.trust-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.06rem;
}

.popular-grid p,
.trust-grid p,
.about-band p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.62;
}

.delivery-band {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: center;
  padding: 38px;
  border-radius: var(--radius);
  color: #fff8ef;
  background: #315b3f;
  box-shadow: var(--shadow);
}

.delivery-band .eyebrow {
  color: var(--parmesan);
}

.delivery-band ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.delivery-band li {
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.delivery-band strong,
.delivery-band span {
  display: block;
}

.delivery-band span {
  margin-top: 12px;
  color: rgba(255, 248, 239, 0.78);
  line-height: 1.55;
}

.trust-section {
  padding-top: 28px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 28px;
  align-items: center;
}

.order-panel {
  padding: 26px;
}

.order-kicker {
  color: var(--basil);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.order-panel-total,
.cart-total,
.cart-discount {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.order-panel-total span,
.cart-total span,
.cart-discount span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.order-panel-total strong,
.cart-total strong,
.cart-discount strong {
  color: var(--tomato-dark);
  font-size: 1.32rem;
}

.cart-discount {
  padding-top: 8px;
  border-top: 0;
}

.cart-discount strong,
.final-total strong {
  color: var(--basil);
}

.order-panel .button {
  width: 100%;
  margin-top: 10px;
}

.about-band {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 28px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 38px;
  border: 1px solid rgba(127, 31, 26, 0.12);
  border-radius: var(--radius);
  background: #fff3df;
}

.about-band h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4vw, 3.8rem);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq article {
  padding: 22px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 34px 0 96px;
  color: var(--muted);
}

.footer-brand {
  display: flex;
  align-items: center;
  overflow: visible;
  width: 224px;
}

.footer-brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
}

footer a {
  color: var(--tomato-dark);
  font-weight: 800;
}

.mobile-actions {
  position: fixed;
  right: 10px;
  bottom: max(10px, env(safe-area-inset-bottom));
  left: 10px;
  z-index: 30;
  display: none;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(70, 39, 27, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 36px rgba(80, 35, 20, 0.18);
  backdrop-filter: blur(12px);
}

.mobile-actions a,
.mobile-actions button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 900;
}

.mobile-actions button {
  border: 0;
}

.mobile-menu {
  color: var(--tomato-dark);
  border: 1px solid rgba(127, 31, 26, 0.16);
}

.mobile-order {
  display: flex;
  gap: 8px;
  color: #fff8ef;
  background: var(--tomato);
}

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  color: var(--tomato-dark);
  background: #fff8ef;
  font-size: 0.74rem;
  font-weight: 900;
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  visibility: hidden;
  background: rgba(35, 23, 19, 0.42);
  opacity: 0;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 60;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(430px, 100%);
  height: 100dvh;
  padding: 22px 22px max(22px, env(safe-area-inset-bottom));
  background: #fffaf3;
  box-shadow: -18px 0 60px rgba(80, 35, 20, 0.22);
  transform: translateX(100%);
  transition: transform 220ms ease;
}

body.cart-open {
  padding-right: min(430px, 100%);
}

body.cart-open .cart-drawer {
  transform: translateX(0);
}

.cart-header,
.cart-item,
.cart-item-actions,
.quantity-control {
  display: flex;
  align-items: center;
}

.cart-header {
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.cart-header h2 {
  margin: 4px 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  font-size: 1.72rem;
  line-height: 1;
}

.cart-items {
  overflow-y: auto;
  padding: 10px 2px 10px 0;
}

.cart-item {
  justify-content: space-between;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item-details {
  min-width: 0;
}

.cart-item-details strong,
.cart-item-details span {
  display: block;
}

.cart-item-details strong {
  font-size: 0.94rem;
}

.cart-item-details span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.84rem;
}

.cart-item-actions {
  gap: 8px;
  flex: 0 0 auto;
}

.quantity-control {
  gap: 9px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.quantity-control button,
.remove-item {
  border: 0;
  background: transparent;
  font-weight: 900;
}

.quantity-control button {
  width: 24px;
  height: 24px;
  color: var(--tomato-dark);
  font-size: 1.1rem;
}

.quantity-control span {
  min-width: 12px;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 900;
}

.remove-item {
  color: var(--muted);
  font-size: 0.78rem;
  text-decoration: underline;
}

.cart-empty {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 32px 12px;
  color: var(--muted);
  text-align: center;
}

.cart-empty strong {
  color: var(--ink);
}

.cart-footer {
  display: grid;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.cart-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.coupon-box {
  display: grid;
  gap: 4px;
}

.coupon-box label {
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
}

.coupon-box div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
}

.coupon-box input {
  width: 100%;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 9px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  font: inherit;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.coupon-box button {
  min-height: 34px;
  border: 1px solid rgba(47, 107, 69, 0.28);
  border-radius: var(--radius);
  padding: 0 9px;
  color: var(--basil);
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 900;
}

.coupon-box p {
  color: var(--basil);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.35;
}

.coupon-box p:empty {
  display: none;
}

.free-shipping-note {
  border: 1px solid rgba(47, 107, 69, 0.22);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--basil);
  background: rgba(47, 107, 69, 0.08);
  font-size: 0.82rem;
  font-weight: 900;
}

.clear-cart {
  justify-self: center;
  min-height: 32px;
  border: 0;
  border-radius: var(--radius);
  padding: 0 8px;
  color: var(--muted);
  background: transparent;
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration: underline;
}

.clear-cart:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.whatsapp-button {
  color: #fff;
  background: var(--basil);
}

.is-disabled {
  cursor: not-allowed;
  opacity: 0.52;
  pointer-events: none;
}

@media (max-width: 1040px) {
  .site-header {
    align-items: center;
  }

  nav {
    display: none;
  }

  .hero,
  .delivery-band,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    margin-top: 34px;
  }

  .hero-media,
  .hero-media img {
    min-height: 420px;
  }

  .quick-info,
  .menu-grid,
  .popular-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .delivery-band ol {
    grid-template-columns: 1fr;
  }

  .about-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .cart-drawer {
    width: 100vw;
  }

  body.cart-open {
    overflow: hidden;
    padding-right: 0;
  }

  body.cart-open .cart-backdrop {
    visibility: visible;
    opacity: 1;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: min(100% - 20px, 1180px);
    margin-top: 10px;
    min-height: 70px;
    padding: 4px 8px;
  }

  .header-button {
    display: none;
  }

  .brand {
    width: 188px;
    height: 58px;
  }

  .hero,
  .quick-info,
  .section,
  .promo-band,
  .delivery-band,
  .about-band,
  footer {
    width: min(100% - 20px, 1180px);
  }

  h1 {
    font-size: clamp(2.72rem, 17vw, 4.2rem);
  }

  .hero-media,
  .hero-media img {
    min-height: 300px;
  }

  .hero-badge {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .quick-info {
    display: none;
  }

  .menu-grid,
  .popular-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 48px 0;
  }

  #cardapio {
    padding-top: 34px;
  }

  .category-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .category-row::-webkit-scrollbar {
    display: none;
  }

  .category-row a,
  .category-row span {
    flex: 0 0 auto;
  }

  .cart-drawer {
    padding: 18px 16px max(18px, env(safe-area-inset-bottom));
  }

  .cart-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .cart-item-actions {
    justify-content: space-between;
    width: 100%;
  }

  .delivery-band {
    padding: 26px 18px;
  }

  .about-band {
    padding: 26px 18px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  footer {
    display: grid;
    padding-bottom: 92px;
  }

  .mobile-actions {
    display: grid;
  }
}
