/* Final layout corrections: menu containment, decorative backgrounds, and footer redesign. */

/* ---------- Menu card containment ---------- */
.appetizers,
.maincourse,
.desserts,
.drinkmenu {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.menu_container,
.menu_containertwo {
  width: min(48vw, 520px) !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden;
  flex: 0 1 520px;
}

.menu_list {
  width: 100%;
  height: auto !important;
  min-height: 0;
  padding: clamp(26px, 3.4vw, 46px) !important;
  display: flex !important;
  flex-direction: column;
  justify-content: center !important;
  gap: clamp(12px, 1.6vw, 20px) !important;
}

.menu_item {
  width: 100%;
  min-width: 0;
  margin: 0 !important;
  padding: 10px 12px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: start;
  column-gap: clamp(12px, 2vw, 24px);
}

.item_container {
  width: 100%;
  min-width: 0;
}

.item_title,
.item_description {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

.item_title {
  font-size: clamp(16px, 1.45vw, 20px) !important;
  line-height: 1.2;
}

.item_description {
  margin-top: 5px;
  font-size: clamp(13px, 1.1vw, 15px) !important;
  line-height: 1.45 !important;
}

.price {
  margin: 0 !important;
  padding-top: 1px;
  font-size: clamp(15px, 1.3vw, 18px) !important;
  white-space: nowrap;
}

.photo_container {
  min-width: 0;
}

.menutype,
.menutypetwo {
  max-width: 100%;
  font-size: clamp(38px, 5vw, 58px) !important;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

/* ---------- Decorative images remain in the background ---------- */
.appetizerplants,
.duoplant,
.plantdessert,
.drinkplants {
  display: block !important;
  position: absolute !important;
  z-index: 0 !important;
  width: clamp(180px, 25vw, 360px) !important;
  height: auto !important;
  max-width: none !important;
  opacity: 0.13 !important;
  pointer-events: none;
  filter: saturate(0.8) contrast(0.9);
}

.appetizerplants {
  left: -70px !important;
  top: 8% !important;
}

.duoplant {
  right: -70px !important;
  bottom: -35px !important;
}

.plantdessert {
  left: -55px !important;
  top: 14% !important;
}

.drinkplants {
  right: -65px !important;
  top: 8% !important;
}

.menu_container,
.menu_containertwo,
.photo_container {
  position: relative;
  z-index: 2;
}

/* ---------- Standard restaurant footer ---------- */
.site-footer {
  min-height: 0 !important;
  height: auto !important;
  display: block !important;
  position: relative;
  overflow: hidden;
  padding: 0 !important;
  background:
    radial-gradient(circle at 15% 10%, rgba(185, 143, 57, 0.16), transparent 34%),
    radial-gradient(circle at 88% 80%, rgba(185, 143, 57, 0.1), transparent 30%),
    linear-gradient(180deg, #181213 0%, #090707 100%);
  border-top: 1px solid rgba(185, 143, 57, 0.42);
}

.site-footer::before,
.site-footer::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: clamp(210px, 28vw, 430px);
  aspect-ratio: 1;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.08;
  pointer-events: none;
}

.site-footer::before {
  left: -95px;
  bottom: -120px;
  background-image: url("images/duasplantasesquerdas.png");
}

.site-footer::after {
  right: -105px;
  top: -100px;
  background-image: url("images/duasplantasdireita.png");
}

.footer-inner,
.footer-bottom {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(250px, 1.5fr) repeat(3, minmax(150px, 1fr));
  gap: clamp(36px, 5vw, 76px);
  padding: clamp(58px, 7vw, 88px) 0 46px;
}

.footer-brand {
  max-width: 340px;
}

.footer-logo {
  width: 68px !important;
  height: auto !important;
  margin-bottom: 18px;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.38));
}

.footer-eyebrow {
  margin-bottom: 9px;
  color: var(--cuia-gold-light) !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-tagline {
  max-width: 310px;
  color: rgba(255, 248, 235, 0.73) !important;
  font-size: 15px;
  line-height: 1.7;
}

.footer-heading {
  margin-bottom: 18px;
  color: var(--cuia-cream) !important;
  font-family: "Besley", serif;
  font-size: 19px;
  font-weight: 600;
}

.footer-links,
.footer-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-links a,
.footer-info a,
.footer-info p {
  margin: 0 !important;
  padding: 0;
  color: rgba(255, 248, 235, 0.68) !important;
  font-size: 14px;
  line-height: 1.55;
  text-align: left;
  overflow-wrap: anywhere;
}

.footer-links a,
.footer-info a {
  transition: color 0.22s ease, transform 0.22s ease;
}

.footer-links a:hover,
.footer-info a:hover {
  color: var(--cuia-gold-light) !important;
  transform: translateX(3px);
}

.footer-reservation {
  width: auto !important;
  height: auto !important;
  min-height: 46px !important;
  margin: 8px 0 0 !important;
  padding: 11px 18px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(232, 168, 79, 0.72);
  border-radius: 999px;
  background: rgba(185, 143, 57, 0.16);
  color: var(--cuia-cream) !important;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.footer-reservation:hover {
  background: var(--cuia-gold);
}

.footer-social-image {
  width: 106px !important;
  height: auto !important;
  margin-top: 7px;
  opacity: 0.86;
}

.footer-bottom {
  min-height: 68px;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(185, 143, 57, 0.22);
}

.footer-bottom p,
.footer-bottom a {
  margin: 0 !important;
  color: rgba(255, 248, 235, 0.45) !important;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.footer-bottom a:hover {
  color: var(--cuia-gold-light) !important;
}

@media (max-width: 1100px) {
  .menu_container,
  .menu_containertwo {
    width: min(53vw, 520px) !important;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    max-width: 440px;
  }
}

@media (max-width: 768px) {
  .menu_container,
  .menu_containertwo {
    width: 100% !important;
    max-width: 580px;
  }

  .menu_list {
    padding: clamp(22px, 6vw, 32px) !important;
    gap: 12px !important;
  }

  .menu_item {
    padding: 10px 8px !important;
    column-gap: 12px;
  }

  .item_title {
    font-size: clamp(16px, 4.7vw, 19px) !important;
  }

  .item_description {
    font-size: clamp(13px, 3.8vw, 15px) !important;
  }

  .menutype,
  .menutypetwo {
    font-size: clamp(36px, 10vw, 48px) !important;
    text-align: center !important;
  }

  .appetizerplants,
  .duoplant,
  .plantdessert,
  .drinkplants {
    display: block !important;
    width: clamp(170px, 54vw, 260px) !important;
    opacity: 0.09 !important;
  }

  .appetizerplants,
  .plantdessert {
    left: -80px !important;
  }

  .duoplant,
  .drinkplants {
    right: -85px !important;
  }

  .footer-inner,
  .footer-bottom {
    width: min(100% - 36px, 680px);
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 28px;
    padding-top: 56px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 520px;
  }
}

@media (max-width: 560px) {
  .menu_item {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 50px 0 38px;
  }

  .footer-brand,
  .footer-column,
  .footer-links,
  .footer-info {
    max-width: none;
    align-items: center;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-tagline,
  .footer-links a,
  .footer-info a,
  .footer-info p {
    text-align: center;
  }

  .footer-heading {
    margin-bottom: 14px;
  }

  .footer-bottom {
    min-height: 0;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 22px 0 26px;
  }

  .site-footer::before,
  .site-footer::after {
    width: 240px;
    opacity: 0.06;
  }
}

@media (max-width: 390px) {
  .menu_list {
    padding-inline: 16px !important;
  }

  .menu_item {
    column-gap: 9px;
  }

  .item_title {
    font-size: 16px !important;
  }

  .item_description {
    font-size: 13px !important;
  }

  .price {
    font-size: 15px !important;
  }
}
