.close {
  position: absolute;
  background:white;
  display: block;
  top: 0;
  right: 0;
  padding: 0.6rem;
  cursor: pointer;
}
  header {
  padding: 1.2rem 0;
}
h1, h2, h3, h4, h5 {
  margin: 0.1rem 0 0.2rem
}
h1 {
  font-size: 1.8em;
}
h2 {
  font-size: 1.5em;
}
h3 {
  font-size: 1.1em;
}
article {
  height: 100%;
  /* min-height: calc(100vh - 174px); */
  display: grid;
  justify-content: center;
  grid-auto-rows: minmax(min-content, max-content);
}
article.dynamic-height {
  min-height: 100vh;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
  transform: translateY(0);
  background: var(--brown);
  opacity: 1;
}

article.dynamic-height.show {
  transform: translateY(100vh);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 2rem;
  row-gap: 2rem;
}
section.contact-info {
  text-align: center;
}
.contact-info {
  padding: 2rem;
  text-align: right;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-links a {
  color: var(--black);
  text-decoration: none;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.contact-links a:hover {
  color: var(--true-black);
}
.contact-links img,
.contact-links svg {
  width: 1.5rem;
  height: 1.5rem;
}
section.city {
border-bottom: 0.1rem solid;
margin-bottom: 1rem;
}
section.shop a {
  display: flex;
  flex-wrap: nowrap;
  font-size: 0.8rem;
  color: var(--true-black);
  align-items: center;
}
section.shop p {
  margin: 0.5rem 0 1rem auto;
  max-width: 95vw;
}
section.shop h3 {
  margin-top: 1rem;
}
#menu-toggle {
  cursor: pointer;
  font-size: 1.4em;
  padding: 0.5rem;
  position: absolute;
  left: 50%;
  top: 0.5rem;
  transform: translateX(-50%);
  z-index: 9999;
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  text-align: center;
  line-height: 2.5rem;
  text-decoration: none;
  color: var(--true-black);
  transition: all 0.2s ease;
  opacity: 1;
}

#menu-toggle::after {
  content: '\2630';
  display: block;
  transition: all 0.3s ease;
}

#menu-toggle.show::after {
  content: '\00d7';
  transform: rotate(180deg);
}

#menu {
  list-style: none;
  margin: 0;
  padding: 4rem 0;
  visibility: hidden;
  transition: transform 0.55s ease, height 0.55s ease;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--brown);
  z-index: 998;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 4.5rem;
  height: 100vh;
  transform: scale(1);
  transform-origin: top center;
  overflow: hidden;
  box-sizing: border-box;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

#menu::-webkit-scrollbar {
  display: none;
}

#menu.show {
  visibility: visible;
  transform: scale(1);
  height: 100vh;
}

#menu.shrinking {
  visibility: visible;
  transform: scale(0.9) translateY(-20px);
  height: 0;
  transition: transform 0.55s ease, height 0.55s ease;
}

#menu.shrink {
  visibility: hidden;
  transform: scale(0) translateY(-50px);
  height: 0;
}

#menu li {
  text-align: left;
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.3s ease;
  width: 100%;
  padding-left: calc(50% - 150px);
  box-sizing: border-box;
  max-width: 100%;
}

#menu.show li {
  opacity: 1;
  transform: translateY(0);
}

#menu li:nth-child(1) { transition-delay: 0.05s; }
#menu li:nth-child(2) { transition-delay: 0.1s; }
#menu li:nth-child(3) { transition-delay: 0.15s; }
#menu li:nth-child(4) { transition-delay: 0.2s; }
#menu li:nth-child(5) { transition-delay: 0.25s; }

#menu a {
  text-decoration: none;
  color: var(--true-black);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  font-size: 1rem;
  padding: 1rem;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
  word-break: break-word;
  flex-wrap: wrap;
}

#menu a:hover {
  color: var(--true-black);
  background: rgba(255, 255, 255, 0.1);
}

.contact-icon {
  width: 1.4rem;
  height: 1.4rem;
  opacity: 0.8;
}

img {
  cursor: pointer;
}

img.logo {
  width: 160px;
  height: auto;
  position: absolute;
  left: 2rem;
  top: 0.5rem;
  display: block;
  z-index: 9999;
}


#imageModal {
  position: sticky;
  top: 20%;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 770px;
  background-color: rgba(0, 0, 0, 0.8); /* Dark background */
  display: none; /* Ensure it's hidden by default */
  z-index: 1000; /* Ensure modal is above other elements */
  justify-content: center;
  align-items: center;
  padding: 1rem 0;
}

.modal-content {
  position: sticky;
  top: 15%;
  max-height: 80vh; /* Ensure content fits within modal */
  overflow-y: auto; /* Allow scrolling if content exceeds height */
}

@media (max-width: 768px) {
  #menu {
    padding: 3rem 0;
  }
  
  #menu-toggle {
    font-size: 1.3em;
    width: 2.3rem;
    height: 2.3rem;
    line-height: 2.3rem;
  }
  
  img.logo {
    width: 120px;
    left: 1rem;
  }
  
  #menu a {
    font-size: 1.2rem;
    padding: 0.8rem;
  }
}

@media (max-width: 768px) {
  .contact-info {
    padding: 1.5rem;
  }

  .contact-links a {
    font-size: 1rem;
  }
}

@media screen and (max-width: 600px) {
  #menu li {
    padding-left: 1rem;
  }
  
  #menu a {
    padding: 1rem 0.5rem;
  }
  
  .contact-icon {
    width: 1.2rem;
    height: 1.2rem;
  }
}

.leaf_cdc6._bottom_a14d .cssLeaf_d67 {
  height: 0 !important;
}
.copy_f60e {
  display: none !important;
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.fadeInDown {
  animation-name: fadeInDown;
}

/* Add this to your existing styles.css file */

.coffee-search {
  display: none; /* Hide the coffee search section */
  margin: 2rem 0;
  padding: 1.5rem;
  background-color: #f9f5f0;
  border-radius: 8px;
}

.coffee-search h2 {
  margin-bottom: 1rem;
  color: #5a3921;
}

.coffee-search form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.coffee-search input[type="text"] {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid #d4c3b5;
  border-radius: 4px;
  font-size: 1rem;
}

.coffee-search button {
  padding: 0.75rem 1rem;
  background-color: #5a3921;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.coffee-search button:hover {
  background-color: #7a5941;
}

#search-results {
  margin-top: 1.5rem;
}

.result {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e0d5c9;
}

.result h4 {
  margin-bottom: 0.5rem;
  color: #5a3921;
}

.result .summary {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.result .excerpt {
  font-style: italic;
  color: #666;
  margin-bottom: 0.5rem;
}

.read-more {
  display: inline-block;
  margin-top: 0.5rem;
  color: #5a3921;
  font-weight: bold;
}

.error {
  color: #c53030;
  padding: 0.5rem;
  background-color: #fff5f5;
  border-radius: 4px;
}

.loading {
  color: #5a3921;
  font-style: italic;
}

.search-suggestions {
  margin-top: 1rem;
  padding: 0.75rem;
  background-color: #f0e9e0;
  border-radius: 4px;
}

.search-suggestions span {
  display: inline-block;
  margin: 0.25rem;
  padding: 0.25rem 0.5rem;
  background-color: #e0d5c9;
  border-radius: 4px;
  cursor: pointer;
}

.search-suggestions span:hover {
  background-color: #d4c3b5;
}

/* Events calendar mobile optimization */
@media screen and (max-width: 768px) {
  article.dynamic-height {
    padding: 0;
  }
  }
