html {
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: border-box;
}


/* Horizontal menu wrapper */
.eb-horizontal-menu {
  position: fixed;
  top: 80px; /* adjust to match height of WP top nav */
  left: 0;
  width: 100%;
  z-index: 9999;
  background-color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}


/* Top Navigation Bar */
.eb-topnav-wrapper {
  width: 100%;
  background-color: #333;
  overflow-x: auto;
}
.eb-topnav {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-start;
}
.eb-topnav .eb-dropdown {
  position: relative;
}
.eb-topnav .eb-dropbtn {
  background-color: #333;
  color: #fff;
  padding: 14px 18px;
  font-weight: bold;
  border: none;
}

.eb-topnav .eb-dropbtn:hover {
  background-color: #444;
}

.eb-topnav .eb-dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 180px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 999;
}
.eb-topnav .eb-dropdown-content a {
  color: black;
  padding: 10px 14px;
  text-decoration: none;
  display: block;
  border-bottom: 1px solid #f0f0f0;
}
.eb-topnav .eb-dropdown-content a:hover {
  background-color: #f1f1f1;
}
.eb-topnav .eb-dropdown:hover .eb-dropdown-content {
  display: block;
}

/* Main Content */
.eb-order-content {
  padding-top: 70px; /* match height of fixed menu */
  padding: 20px 10px;

}
.eb-order-content h3 {
  margin-top: 50px;
  font-size: 1.3rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 6px;
  margin-bottom: 10px;
}

/* Grid of Items */
.eb-order-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

/* Card UI */
.eb-order-card {
  background: #fff;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease-in-out;
}
.eb-order-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.eb-order-card img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}
.eb-order-info strong {
  font-size: 1.05rem;
  display: block;
  margin-bottom: 6px;
  color: #222;
}
.eb-order-info p {
  font-size: 0.95rem;
  color: #555;
  margin: 6px 0 10px;
}

/* Form Controls */
.eb-order-size,
.eb-order-qty {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
}
.eb-order-btn {
  padding: 12px;
  background: #0073aa;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
}
.eb-order-btn:hover {
  background: #005f8d;
}

/* Responsive */
@media (max-width: 768px) {
  .eb-order-items {
    grid-template-columns: 1fr;
  }
}


.eb-topnav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  background: #f9f9f9;
  border-bottom: 1px solid #ddd;
}

.eb-dropdown {
  position: relative;
}
/* Top level menu link */
/* Container for dropdown items */
.eb-dropdown {
  position: relative;
}

/* Hidden by default */
.eb-dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  z-index: 1000;
  top: 100%;
  left: 0;
  padding: 5px 0;
  border-radius: 6px;
}

/* Dropdown links */
.eb-dropdown-content a {
  padding: 10px 16px;
  display: block;
  color: #333;
  text-decoration: none;
}

.eb-dropdown-content a:hover {
  background-color: #f0f0f0;
}

/* Show dropdown on hover (desktop) */
.eb-dropdown:hover .eb-dropdown-content {
  display: block;
}

/* Mobile fallback (optional: JS can be used for click toggling) */
@media (max-width: 768px) {
  .eb-topnav {
    flex-wrap: wrap;
  }
}

  .eb-dropbtn {
    width: 100%;
    text-align: left;
    border-bottom: 1px solid #ddd;
  }

  .eb-dropdown-content {
    position: static;
    box-shadow: none;
    background: #fff;
    display: none;
  }

  .eb-dropdown.active .eb-dropdown-content {
    display: block;
  }
