/* ---- Plain nav menu (replaces p7PM3 jQuery plugin) ---- */

#wrapperTopnav .navbar {
  display: flex;
  align-items: center;
  height: 35px;
}

.navToggle-checkbox {
  display: none;
}

.navToggle-label {
  display: none;
  cursor: pointer;
  color: #fff;
  font-size: 22px;
  padding: 0 15px;
  line-height: 35px;
}

ul.simpleNav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 35px;
}

ul.simpleNav li {
  margin: 0;
}

ul.simpleNav li a {
  display: block;
  padding: 0 18px;
  line-height: 35px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: background-color 0.15s ease;
}

ul.simpleNav li a:hover,
ul.simpleNav li.current a {
  background-color: #6d0f0f;
  color: #fff;
}

@media (max-width: 768px) {
  .navToggle-label {
    display: block;
  }

  ul.simpleNav {
    display: none;
    position: absolute;
    top: 35px;
    left: 0;
    right: 0;
    height: auto;
    flex-direction: column;
    background-color: #cda258;
    z-index: 100;
  }

  ul.simpleNav li a {
    line-height: 40px;
  }

  .navToggle-checkbox:checked ~ ul.simpleNav {
    display: flex;
  }
}

/* ---- Homepage hero rotator ---- */

.heroSlides {
  position: relative;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  overflow: hidden;
}

.heroSlide {
  display: none;
  position: relative;
}

.heroSlide.active {
  display: block;
}

.heroSlide img {
  width: 100%;
  display: block;
}

.heroCaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  padding: 12px 20px;
  font-size: 14px;
}

/* ---- Order Malt button ---- */

.orderButton {
  display: inline-block;
  background-color: #cda258;
  color: #fff !important;
  padding: 14px 28px;
  border-radius: 3px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.orderButton:hover {
  background-color: #6d0f0f;
}

/* ---- Product grid (Our Malt / products page) ---- */

.productGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 25px;
}

.productCard {
  border: 1px solid #e7d1ac;
  border-radius: 4px;
  padding: 18px;
}

.productCard img {
  width: 100%;
  display: block;
  margin-bottom: 12px;
}

.productCard h1 {
  font-size: 18px;
  margin: 0 0 6px;
}

.productVariety {
  color: #cda258;
  font-style: italic;
  margin: 0 0 8px;
}

.productAvailability {
  font-weight: bold;
  color: #6d0f0f;
}

/* ---- Product category images ---- */

.categoryImage img {
  max-width: 100%;
  border-radius: 4px;
  margin: 10px 0 20px;
}

/* ---- Color swatch on each product card ---- */

.productSwatch {
  width: 100%;
  height: 14px;
  border-radius: 3px;
  margin-bottom: 12px;
  border: 1px solid rgba(0,0,0,0.1);
}

.productPrice {
  font-weight: bold;
  color: #333;
  margin-top: 10px;
}

.priceLabel {
  font-weight: normal;
  color: #888;
  font-size: 12px;
}

.video-responsive + .video-responsive {
  margin-top: 30px;
}

.imagePair {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.imagePair figure {
  flex: 1 1 300px;
  max-width: 100%;
  margin: 0;
}

.imagePair img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.imagePair figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: #666;
  text-align: center;
  font-style: italic;
}