
    html {
      overflow-x: hidden;  
    }
    
    body {
  font-family: 'Playfair Display', serif;
      background-color: #6b0d39	;
      color: #333;
      overflow-x: hidden;
      margin: 0;
      padding: 0;
  background-position: center;    /* center the image */
  background-repeat: repeat;   /* no repeating */
  background-attachment: fixed;   /* stays fixed on scroll */

    }

    
    header {
      background-color: #6b0d39;
      color: white;
      padding: 20px;
      text-align: center;
    }

    h1 {
      margin: 0;
      font-size: 2em;
    }

    section {
      padding: 20px;
    }

    h2 {
      color: #800020;
    }

    .whatsapp-btn {
      display: inline-block;
      background-color: #25D366;
      color: white;
      padding: 12px 20px;
      border-radius: 5px;
      text-decoration: none;
      font-weight: bold;
      font-size: 1.1em;
    }

    .whatsapp-btn:hover {
      background-color: #1ebe5d;
    }
    
    footer {
      text-align: center;
      margin-top: 40px; /* add spacing above footer */
      padding: 15px;
      background: #eee;
      font-size: 0.7em;
    }
    
    .total-box {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  margin: 20px auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.total-text {
  font-size: 1.3em;
  margin-bottom: 15px;
  color: #800020;
  font-weight: bold;
}

.order-btn,
.clear-btn {
  display: block;
  width: 100%;
  padding: 12px;
  font-size: 1em;
  margin-top: 10px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}

.order-btn {
  background-color: #25D366;
  color: white;
}

.order-btn:hover {
  background-color: #1ebe5d;
}

   

.wine-item {
  background-color: #f5f5f5;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  text-align: center;
  margin: 16px 16px 16px 16px;
  flex: 0 0 auto; /* prevents shrinking */
  width: 150px;
  height: 450px;
}
    

.wine-items::-webkit-scrollbar {
  display: none;  /* for Chrome, Safari, and Opera */
}    
    
.wine-item:hover {
  transform: translateY(-5px);
}

.wine-item img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.wine-item h2 {
  font-size: 1.2em;
  margin: 10px 0;
  color: #800020;
}

.wine-item p {
  margin: 5px 0;
  font-size: 0.95em;
  color: #333;
}

.wine-item button {
  padding: 8px 12px;
  margin: 5px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
  font-family: inherit;
}

.wine-item button.add {
  background-color: #25D366;
  color: white;
}

.wine-item button.add:hover {
  background-color: #1ebe5d;
}

.wine-item button.remove {
  background-color: #ff5c5c;
  color: white;
}

.wine-item button.remove:hover {
  background-color: #d44;
}

.wine-item hr {
  margin: 10px 0;
  border: 0;
  border-top: 1px solid #ccc;
}
    
    .total {
  background-color: #fefefe;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  margin: 30px auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  text-align: center;
}

.total p {
  font-size: 1.2em;
  font-weight: bold;
  color: #800020;
  margin-bottom: 20px;
}

.total button {
  display: block;
  width: 100%;
  padding: 12px;
  font-size: 1em;
  margin: 10px 0;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease-in-out;
}

#add-btn {
  background-color: #25D366;
  color: white;
}

#add-btn:hover {
  background-color: #1ebe5d;
}

#clear-order-btn {
  background-color: #e0e0e0;
  color: #333;
}

#clear-order-btn:hover {
  background-color: #ccc;
}

    
    
    .add {
  background-color: #f6d1c1	;
  border-top: 2px solid #800020;
  padding: 40px 20px;
  text-align: center;
  margin-top: 40px;
}
    .category {
  background-color: #f6d1c1	;
  border-top: 2px solid #800020;
  padding: 40px 20px;
  text-align: center;
  margin-top: 40px;
}

.add h2 {
  font-size: 1em;
  margin-bottom: 10px;
  color: #800020;
}

.add p {
  font-size: 1em;
  margin-bottom: 30px;
  color: #444;
}

.add .form-group {
  width: 90%;
  max-width: 400px;
  margin: 15px auto;
}

.add .form-group input,
.add .form-group textarea,
.add .form-group input[type="file"] 
 {
  width: 100%;
  padding: 12px 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1em;
  box-sizing: border-box;
  background-color: #fff;
  transition: border-color 0.3s ease;
}

.add .form-group input:focus,
.add .form-group textarea:focus {
  border-color: #800020;
  outline: none;
}

.add {
  background-color: #fefefe;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  margin: 30px auto 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.add  p {
  font-size: 1.2em;
  font-weight: bold;
  color: #800020;
  margin-bottom: 15px;
}

.add button {
  display: block;
  width: 100%;
  padding: 12px;
  font-size: 1em;
  margin-top: 10px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease-in-out;
}

#add-btn {
  background-color: #25D366;
  color: white;
}

#add-btn:hover {
  background-color: #1ebe5d;
}

#clear-order-btn {
  background-color: #e0e0e0;
  color: #333;
}

#clear-order-btn:hover {
  background-color: #ccc;
}
    
    .wine-items {
  display: flex;
  overflow-x: auto;
  width: 100%;
  scroll-behavior: smooth;
     
}
    
   
.description-popup {
  font-size: 13px;
  color: #333;
}
    
h1, p {
  opacity: 0.5;
  animation: fadeInText 1s ease-in forwards;
}

/* Optional stagger effect */
h1 {
  animation-delay: 0.3s;
}

@keyframes fadeInText {
  to {
    opacity: 1;
  }
}

p {
  opacity: 0;
  transform: translateX(50px); /* start slightly to the right */
  animation: slideInRight 1.5s ease-out forwards;
  animation-delay: 0s; /* delay if you want it after the h1 */
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0); /* end in original position */
  }
}
       
.category button {
  background-color: #1f8cad;
  color: #ffffff;
  display: inline-block;
  padding: 9px 20px;
  font-size: 1em;
  margin: 10px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease-in-out;
}


.category button:hover {
  background-color: #2c0e0e;
}




.add .form-group input[type="file"]:focus {
  border-color: #800020;
  outline: none;
}

.MarketItems {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding: 20px;
  scroll-behavior: smooth;
  width: 100%;
  box-sizing: border-box;
  /* hide scrollbar on WebKit browsers */
}

.MarketItems::-webkit-scrollbar {
  display: none;
}

.market-item {
  background-color: #f5f5f5;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  flex: 0 0 auto; /* Prevent shrinking */
  width: 150px;
  height: 450px;
  text-align: center;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  transition: transform 0.3s ease;
}

.market-item:hover {
  transform: translateY(-5px);
}

.market-item img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.market-item h3 {
  font-size: 1.2em;
  margin: 10px 0 5px;
  color: #800020;
}

.market-item p {
  font-size: 0.95em;
  color: #333;
  margin: 4px 0;
  flex-grow: 1; /* Make description fill vertical space */
  overflow: auto; /* Add scroll if text too long */
  padding: 0 5px;
  text-align: left;
  width: 100%;
}

