.ndm-tea-facts { margin: .7rem 0; text-align: left; }
.ndm-tea-tags { display:flex; flex-wrap:wrap; gap:.35rem; list-style:none; padding:0; margin:0 0 .65rem; }
.ndm-tea-tags li { margin:0; color:#faf0db; background:#341840; font-size:.7rem; padding:.25rem .55rem; }
.ndm-tea-tags a { color:inherit; }
.ndm-tea-tags .ndm-tea-base { background:#f0e4ca; color:#341840; }
.ndm-tea-weight { display:flex; justify-content:space-between; gap:.5rem; margin:0; border-block:1px solid #d8b76a65; padding:.45rem 0; font-size:.78rem; }
.ndm-tea-weight dt,.ndm-tea-weight dd { margin:0; }
.ndm-tea-card-copy { font-size:.78rem; line-height:1.55; text-align:left; }
.ndm-tea-lead { font-size:1.04rem; line-height:1.75; }
.ndm-tea-story { position:relative; isolation:isolate; padding:clamp(2rem,5vw,4rem); margin:2rem 0; background:#f4eadb; border-block:1px solid #d8b76a; }
.ndm-tea-story-inner { position:relative; z-index:1; max-width:72rem; margin:auto; }
.ndm-tea-story h2 { font-size:clamp(2.4rem,5vw,4.2rem); }
.ndm-tea-chapters { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(.8rem,2vw,1.6rem); }
.ndm-tea-chapters article { background:#fff8ed; border:1px solid #d8b76a; padding:clamp(1rem,2vw,1.7rem); }
.ndm-tea-chapters span { color:#6e0b9c; font-size:.75rem; letter-spacing:.15em; }
.ndm-tea-chapters h3 { margin:.45rem 0; font-size:clamp(1.7rem,3vw,2.4rem); }
.ndm-tea-chapters p { margin:0; }
@media(max-width:650px) {
 .ndm-tea-chapters { grid-template-columns:1fr; }
 .ndm-tea-weight { flex-wrap:wrap; }
}

/* Catalog cards share one frame and align their purchase buttons. */
.ndm-wp .category-page-row .products > .product-small > .col-inner {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ndm-purple, #6e0b9c);
  border-radius: var(--ndm-radius, 3px);
  background: #fffaf2;
}
.ndm-wp .category-page-row .products .product-small.box {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(8px, 1vw, 14px);
}
.ndm-wp .category-page-row .products .box-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding-bottom: 0;
}
.ndm-wp .category-page-row .products .product-title {
  min-height: 3.45em;
  margin-top: 0;
}
.ndm-wp .category-page-row .products .ndm-tea-tags li { margin: 0; }
.ndm-wp .category-page-row .products .ndm-tea-card-copy {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: .8rem;
}
.ndm-wp .category-page-row .products .box-text:has(.ndm-tea-card-copy) .box-excerpt { display: none; }
.ndm-wp .category-page-row .products .add-to-cart-button {
  margin-top: auto;
  padding-top: .75rem;
}

/* Flatsome centers .box-image with auto margins. Give it a width in the flex card. */
.ndm-wp .category-page-row .products .product-small.box > .box-image {
  width: 100%;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .ndm-wp .category-page-row .products .product-title {
    font-family: var(--ndm-heading-font) !important;
    font-size: clamp(.84rem, 2vw, 1.08rem) !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
    height: 4.05em !important;
    min-height: 4.05em;
    -webkit-line-clamp: 3;
  }
  .ndm-wp .category-page-row .products .product-title a { text-transform: none; }
  .ndm-wp .category-page-row .products .price { font-size: clamp(.75rem, 1.8vw, .95rem); }
  .ndm-wp .category-page-row .products .ndm-tea-tags li {
    font-size: .65rem;
    padding: .2rem .4rem;
    line-height: 1.35;
  }
  .ndm-wp .category-page-row .products .ndm-tea-weight { font-size: .68rem; }
}

/* Override the legacy Flatsome Custom CSS on product names and currency markup. */
.ndm-wp .products .product-title,
.ndm-wp .products .product-title a,
.ndm-wp .product-info .product-title {
  color: #6f0b9c !important;
}
.ndm-wp .products .price,
.ndm-wp .products .price :is(.amount, bdi, .woocommerce-Price-currencySymbol),
.ndm-wp .product-info .price,
.ndm-wp .product-info .price :is(.amount, bdi, .woocommerce-Price-currencySymbol) {
  color: #555 !important;
}
@media (max-width: 1024px) {
  .ndm-wp .category-page-row .products .product-title,
  .ndm-wp .category-page-row .products .product-title a {
    font-size: 15px !important;
    line-height: 1.35 !important;
  }
  .ndm-wp .category-page-row .products .price,
  .ndm-wp .category-page-row .products .price :is(.amount, bdi, .woocommerce-Price-currencySymbol) {
    font-size: 14px !important;
  }
}
