/**
 * Site-specific UI: Bebamzigo notice, category card grids.
 */

/* ---- Checkout: submit / M-Pesa guidance (theme .text-danger is a red badge — do not use for copy) ---- */
.checkout-submit-hint {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-left: 4px solid #f4a137;
  border-radius: 6px;
  padding: 1rem 1.15rem;
  margin: 1rem 0 1.25rem;
  font-size: 14px;
  line-height: 1.55;
  color: #333;
}

.checkout-submit-hint strong {
  color: #222;
  font-weight: 600;
}

/* ---- Bebamzigo featured (home) ---- */
.bebamzigo-delivery-note--featured {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-left: 5px solid #c2410c;
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.5rem;
}

.bebamzigo-delivery-note--featured .bebamzigo-delivery-note__eyebrow {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a3412;
  margin: 0 0 0.65rem;
}

.bebamzigo-delivery-note--featured .bebamzigo-delivery-note__text {
  font-size: 1.4rem;
  line-height: 1.55;
  font-weight: 500;
  color: #171717;
  margin: 0;
}

.bebamzigo-delivery-note--featured .bebamzigo-delivery-note__text a {
  font-weight: 700;
  color: #c2410c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bebamzigo-delivery-note--featured .bebamzigo-delivery-note__text a:hover {
  color: #9a3412;
}

@media (min-width: 992px) {
  .bebamzigo-delivery-note--featured .bebamzigo-delivery-note__text {
    font-size: 1.5rem;
  }
}

/* ---- Hot categories / category listing: equal row heights (CSS Grid) ---- */
.module.so-categories .cat-wrap.theme3 .content-box {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.module.so-categories .cat-wrap.theme3 .inner {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.module.so-categories .cat-wrap.theme3 .child-cat {
  flex: 1 1 auto;
  min-width: 0;
}

@media all and (min-width: 1201px) {
  .so-categories.preset01-4 .cat-wrap.theme3 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 2%;
    row-gap: 0.75rem;
  }

  .so-categories.preset01-4 .cat-wrap.theme3 .content-box {
    float: none !important;
    width: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

@media all and (min-width: 769px) and (max-width: 1200px) {
  .so-categories.preset02-3 .cat-wrap.theme3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 2%;
    row-gap: 0.75rem;
  }

  .so-categories.preset02-3 .cat-wrap.theme3 .content-box {
    float: none !important;
    width: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

@media all and (min-width: 481px) and (max-width: 768px) {
  .so-categories.preset03-3 .cat-wrap.theme3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 2%;
    row-gap: 0.75rem;
  }

  .so-categories.preset03-3 .cat-wrap.theme3 .content-box {
    float: none !important;
    width: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
