body {
  font-family: "Lora", serif;
  margin: 0;
  padding: 0;
  background-color: #526362;
  color: #526362;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.logomaster {
  border: none;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  position: relative;
  z-index: 100;
}

.logo {
  max-width: 500px;
  width: 90%;
  height: auto;
  margin-top: 40px;
}

h1 {
  text-align: center;
  margin: 20px 0;
}

.subcategory {
  padding: 20px;
  background-color: #edecd0;
  border-radius: 0px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 980px;
  max-width: 90%;
  margin: 0 auto;
  margin-bottom: 20px;
}
.subcat_header {
  margin-bottom: 10px;
}

h2 {
  font-size: 1.5em;
  margin: 0px;
}

h4 {
  font-weight: normal;
  font-size: 0.8em;
  margin: 0px;
}

.product-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-header,
.product-row {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  border-bottom: 1px solid #d9d8be;
}

.product-header {
  font-weight: bold;
  background-color: #f0f0f0;
  border: none;
}

.ingredientes {
  font-size: 0.8rem;
  display: block;
  margin-top: 0.3rem !important;
  font-style: italic;
}

.product-row.coctel {
  background-color: #e8e6cd43;
}

.product-row > div {
  flex: 1;
  text-align: left;
}

.money {
  display: flex;
  justify-content: right;
  align-items: baseline;
}

.money-symbol {
  font-size: 0.8em;
  margin-right: 2px;
}

.price-without-decimals,
.decimals {
  font-size: 1em;
}

.money-name {
  text-align: right;
}

.subcat_pic {
  aspect-ratio: 4/1;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  margin-bottom: 2rem;
}
h1.bytheway {
  padding: 20px;
  background-color: #edecd0;
  border-radius: 0px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 980px;
  max-width: 90%;
  margin: 0 auto;
  margin-bottom: 20px;
  margin-bottom: 10px;
  font-size: 1.5em;
}

.menu-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: none !important;
  border: none !important;
  filter: none !important;
  box-shadow: none !important;
  padding: 0px !important;
}

.no-bg {
  background: none !important;
  filter: none !important;
  box-shadow: none !important;
  padding: 0px !important;
}

.logo-container {
  width: 100%;
  max-width: 300px;
}

.tabs {
  display: grid;
  align-self: end;
}

.menu-tabs {
  text-align: right;
  list-style: none;
  display: flex;
  align-content: center;
  justify-content: right;
  gap: 0.5rem;
  border-bottom: solid 1px #edecd0;
  margin-bottom: 0;
}

.menu-tabs li {
}

.menu-tabs a {
  display: grid;
  grid-template-columns: auto auto;
  justify-items: end;
  margin-top: 1rem;
  align-items: center;
  text-decoration: none;
  font-weight: 700;
  background-color: rgb(107, 128, 127);
  color: #526362 !important;
  padding: 0.5rem;
  border-radius: 8px 8px 0 0;
}

.menu-tabs a.active {
  background-color: #edecd0;
  color: #526362 !important;
}

.menu-tabs span {
  width: 100%;
  height: 40px;
  position: relative;
  z-index: 100;
  display: grid;
  align-items: center;
}

.menu-tabs i {
  color: #526362 !important;
  font-size: 1.5em;
  border-radius: 100%;
  justify-self: right;
  position: relative;
  z-index: 101;
  margin-right: 1rem;
}

/* Updated Submenu Styles */
.submenu-container {
  overflow: hidden;
  padding: 10px 0;
}

.submenu {
  display: flex;
  justify-content: center;
  /* Center the submenu items */
  gap: 15px;
  padding: 0 20px;
  white-space: nowrap;
  /* Prevent text wrapping */
  overflow-x: auto;
  /* Allow horizontal scrolling if content overflows */
  max-width: 100%;
  /* Match the width of other elements */
}

.submenu a {
  text-decoration: none;
  color: #edecd0;
  /* Use cream color for submenu links */
  font-weight: 600;
  padding: 5px 10px;
  /* Reduced padding for plain text look */
  background: none;
  /* Remove background */
  border-radius: 0;
  /* Remove rounded corners */
  white-space: nowrap;
  /* Ensure text doesn’t wrap */
}

.submenu a:hover {
  text-decoration: underline;
  /* Simple hover effect */
  color: #c0b8a0;
  /* Slightly darker cream for hover to maintain contrast */
}

/* Back to Top Link */
.back-to-top {
  text-align: right;
  margin-top: 20px;
}

.back-to-top a {
  color: #526362;
  text-decoration: none;
  font-weight: 600;
}

.back-to-top a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .menu-head {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .logo-container {
    align-self: start;
    max-width: 250px;
  }

  .menu-tabs {
    justify-content: right;
  }

  .menu-tabs a {
    font-size: 0.9rem;
    padding: 0.3rem;
  }

  .menu-tabs i {
    font-size: 1.2em;
    margin-right: 0.5rem;
  }

  .submenu {
    padding: 0 10px;
    gap: 10px;
  }

  .submenu a {
    padding: 3px 8px;
    font-size: 0.9rem;
  }
}

/* Hide scrollbar but keep functionality */
.submenu::-webkit-scrollbar {
  display: none;
}

.submenu {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}
