/* THE HERB HUT - MOBILE HOMEPAGE */

@media screen and (max-width: 767px) {

  /* COLLECTION TILES - THREE COLUMNS */

  div.epic-wrap > div.ect-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    width: 100% !important;
    align-items: flex-start !important;
  }

  div.epic-wrap > div.ect-grid > * {
    flex: 0 0 32% !important;
    width: 32% !important;
    max-width: 32% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  div.epic-wrap > div.ect-grid .ect-frame {
    width: 100% !important;
    height: auto !important;
    overflow: hidden !important;
  }

  div.epic-wrap > div.ect-grid .ect-frame img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }

  /* DELIVERY CARDS - THREE COLUMNS */

  div.epic-wrap > div.ecr-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    width: 100% !important;
    align-items: flex-start !important;
  }

  div.epic-wrap > div.ecr-grid > * {
    flex: 0 0 32% !important;
    width: 32% !important;
    max-width: 32% !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  div.epic-wrap > div.ecr-grid img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }

  /* COMPACT TEXT FOR BOTH SECTIONS */

  div.epic-wrap > div.ect-grid > *,
  div.epic-wrap > div.ecr-grid > * {
    font-size: 11px !important;
    line-height: 1.35 !important;
    overflow-wrap: anywhere !important;
  }

  div.epic-wrap > div.ect-grid a,
  div.epic-wrap > div.ecr-grid a {
    overflow-wrap: anywhere !important;
  }

}

/* END OF MOBILE HOMEPAGE CSS *//* THE HERB HUT - COMPACT MOBILE DELIVERY CARDS */

@media screen and (max-width: 767px) {

  /* Centre content within delivery cards */
  div.epic-wrap > div.ecr-grid > * {
    text-align: center !important;
    padding: 4px !important;
  }

  /* Reduce heading size */
  div.epic-wrap > div.ecr-grid h2,
  div.epic-wrap > div.ecr-grid h3,
  div.epic-wrap > div.ecr-grid h4 {
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    margin: 5px 0 !important;
    overflow-wrap: break-word !important;
  }

  /* Reduce description size */
  div.epic-wrap > div.ecr-grid p {
    font-size: 10px !important;
    line-height: 1.3 !important;
    margin: 4px 0 !important;
    overflow-wrap: break-word !important;
  }

}/* THE HERB HUT - EQUAL HEIGHT MOBILE DELIVERY CARDS */

@media screen and (max-width: 767px) {

  /* Stretch all three cards to equal height */
  div.epic-wrap > div.ecr-grid {
    align-items: stretch !important;
  }

  /* Make each card fill the available row height */
  div.epic-wrap > div.ecr-grid > * {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    align-self: stretch !important;
  }

  /* Consistent image dimensions */
  div.epic-wrap > div.ecr-grid img {
    width: 100% !important;
    height: 85px !important;
    object-fit: contain !important;
  }

}
/* THE HERB HUT - SWAP LOGO AND DESCRIPTION */
/* DESKTOP ONLY */

@media screen and (min-width: 992px) {

  main .about-us.mt-100 .row {
    display: flex !important;
    flex-direction: row-reverse !important;
  }

}
main > div.about-us.mt-100 {
	
}/* ========================================
   THE HERB HUT
   MOBILE LOGO ABOVE DESCRIPTION
   ======================================== */

@media screen and (max-width: 767px) {

  /* Reverse the order of the two columns */
  main .about-us.mt-100 .row {
    display: flex !important;
    flex-direction: column-reverse !important;
  }

  /* Keep both columns full width */
  main .about-us.mt-100 .row > div {
    width: 100% !important;
    max-width: 100% !important;
  }

}