/*
Theme Name: Twenty Twenty-Five Child
Theme URI: https://gidro-privod.ru/
Description: Child theme for gidro-privod.ru based on Twenty Twenty-Five.
Author: Money Maker
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.7
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: twentytwentyfive-child
*/

/*
 * Site-specific CSS and managed plugin CSS blocks can be added below.
 * Do not edit the parent Twenty Twenty-Five theme directly.
 */

/* BEGIN money-maker-managed-css: money-maker-product-cat-layout */
.mm-cat-layout {
  display: grid;
  gap: 1.6rem;
}

.mm-cat-layout__intro {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 1.3rem;
  align-items: start;
  background: linear-gradient(180deg, var(--awb-color2), var(--awb-color1));
  border-radius: 22px;
  padding: 1.2rem;
}

.mm-cat-layout__intro--compact {
  width: fit-content;
  max-width: 100%;
  grid-template-columns: minmax(220px, 320px) auto;
}

.mm-cat-layout__intro-media {
  display: flex;
  justify-content: center;
}

.mm-cat-layout__intro-image,
.mm-cat-layout__child-image,
.mm-cat-layout__product-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: var(--awb-color1);
}

.mm-cat-layout__intro-image {
  max-width: 320px;
  aspect-ratio: 1 / 1;
}

.mm-cat-layout__intro-body {
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.mm-cat-layout__title {
  margin: 0;
  color: var(--awb-color8);
  line-height: 1.12;
  font-size: 2rem;
}

.mm-cat-layout__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.mm-cat-layout__meta-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--awb-color1);
  color: var(--awb-color6);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  font-size: 0.82rem;
  font-weight: 600;
}

.mm-cat-layout__description {
  display: grid;
  gap: 0.7rem;
  color: var(--awb-color6);
  font-size: 0.95rem;
  line-height: 1.65;
}

.mm-cat-layout__description p {
  margin: 0;
  text-align: justify;
}

.mm-cat-layout__section {
  display: grid;
  gap: 0.95rem;
}

.mm-cat-layout__section-head {
  display: grid;
  gap: 0.35rem;
}

.mm-cat-layout__section-head--compact {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.mm-cat-layout__section-title {
  margin: 0;
  color: var(--awb-color8);
  font-size: 1.8rem;
  line-height: 1.15;
}

.mm-cat-layout__section-title a {
  color: inherit;
  text-decoration: none;
}

.mm-cat-layout__section-note {
  margin: 0;
  color: var(--awb-color6);
  font-size: 0.95rem;
  line-height: 1.55;
}

.mm-cat-layout__children-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  align-items: stretch;
}

.mm-cat-layout__child-card,
.mm-cat-layout__product-card {
  display: grid;
  gap: 0;
  background: var(--awb-color1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.mm-cat-layout__child-card,
.mm-cat-layout__product-card {
  grid-template-rows: auto 1fr;
  align-content: start;
}

.mm-cat-layout__child-media,
.mm-cat-layout__product-media {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  background: linear-gradient(180deg, var(--awb-color2), var(--awb-color1));
  min-height: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.mm-cat-layout__child-image,
.mm-cat-layout__product-image {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

.mm-cat-layout__child-body,
.mm-cat-layout__product-body {
  display: grid;
  gap: 0.7rem;
  padding: 0.9rem 0.95rem 0.95rem;
}

.mm-cat-layout__child-body {
  align-content: start;
}

.mm-cat-layout__product-body {
  align-content: start;
  grid-template-rows: auto auto;
}

.mm-cat-layout__child-topline {
  display: grid;
  gap: 0.45rem;
}

.mm-cat-layout__child-title,
.mm-cat-layout__product-title {
  margin: 0 !important;
  color: var(--awb-color7);
}

.mm-cat-layout__child-title a,
.mm-cat-layout__product-title a {
  color: inherit;
  text-decoration: none;
  display: inline;
  overflow: visible;
}

.mm-cat-layout__child-name,
.mm-cat-layout__product-title a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.mm-cat-layout__child-count {
  position: static;
  display: inline-block;
  margin-left: 0.35rem;
  color: var(--awb-color6);
  font-size: 0.9em;
  font-weight: 700;
  white-space: nowrap;
  vertical-align: baseline;
}

.mm-cat-layout__child-description,
.mm-cat-layout__product-excerpt {
  margin: 0;
  color: var(--awb-color6);
  text-align: justify;
  font-size: 0.86rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 3;
}

.mm-cat-layout__product-excerpt {
  min-height: calc(1.55em * 3);
  max-height: calc(1.55em * 3);
}

.mm-cat-layout__child-actions {
  display: none;
}

.mm-cat-layout__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 38px;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: var(--awb-color4);
  color: var(--awb-color1) !important;
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.mm-cat-layout__button:hover {
  color: var(--awb-color1);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.mm-cat-layout__button--ghost {
  background: var(--awb-color2);
  color: var(--awb-color8) !important;
  box-shadow: none;
}

.mm-cat-layout__button--ghost:hover {
  color: var(--awb-color8);
  background: var(--awb-color3);
  box-shadow: none;
}

.mm-cat-layout__products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  width: 100%;
  align-items: stretch;
}

.mm-cat-layout__products-grid--preview {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mm-cat-layout__child-preview {
  display: grid;
  gap: 1rem;
  padding-top: 0.3rem;
}

.mm-cat-layout__children-grid > *,
.mm-cat-layout__products-grid > * {
  min-width: 0;
  width: auto;
  max-width: none;
  grid-column: auto;
}

.mm-cat-layout__pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.mm-cat-layout__pagination-item a,
.mm-cat-layout__pagination-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: var(--awb-color1);
  color: var(--awb-color8);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  font-size: 0.88rem;
}

.mm-cat-layout__pagination-item .current {
  background: var(--awb-color4);
  color: var(--awb-color1);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.mm-cat-layout__empty,
.mm-cat-layout__footer-link {
  display: flex;
  justify-content: center;
}

.mm-cat-layout__empty p {
  margin: 0;
  padding: 1rem 1.2rem;
  background: var(--awb-color2);
  border-radius: 16px;
  color: var(--awb-color6);
  font-size: 0.92rem;
}

@media (max-width: 1400px) {
  .mm-cat-layout__children-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .mm-cat-layout__products-grid,
  .mm-cat-layout__products-grid--preview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1200px) {
  .mm-cat-layout__children-grid,
  .mm-cat-layout__products-grid,
  .mm-cat-layout__products-grid--preview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .mm-cat-layout {
    gap: 1.3rem;
  }

  .mm-cat-layout__intro {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
    width: 100%;
  }

  .mm-cat-layout__intro-media {
    justify-content: flex-start;
  }

  .mm-cat-layout__intro-image {
    max-width: 240px;
  }

  .mm-cat-layout__children-grid,
  .mm-cat-layout__products-grid,
  .mm-cat-layout__products-grid--preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mm-cat-layout__section-head--compact {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
}

body.archive.tax-product_cat .post-content .mm-cat-layout__children-grid,
body.archive.tax-product_cat .entry-content .mm-cat-layout__children-grid,
body.archive.tax-product_cat .fusion-text .mm-cat-layout__children-grid,
body.archive.tax-product_cat .awb-post-content .mm-cat-layout__children-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  width: 100% !important;
  align-items: stretch !important;
}

body.archive.tax-product_cat .post-content .mm-cat-layout__products-grid,
body.archive.tax-product_cat .entry-content .mm-cat-layout__products-grid,
body.archive.tax-product_cat .fusion-text .mm-cat-layout__products-grid,
body.archive.tax-product_cat .awb-post-content .mm-cat-layout__products-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  width: 100% !important;
  align-items: stretch !important;
}

body.archive.tax-product_cat .post-content .mm-cat-layout__products-grid--preview,
body.archive.tax-product_cat .entry-content .mm-cat-layout__products-grid--preview,
body.archive.tax-product_cat .fusion-text .mm-cat-layout__products-grid--preview,
body.archive.tax-product_cat .awb-post-content .mm-cat-layout__products-grid--preview {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

body.archive.tax-product_cat .post-content .mm-cat-layout__children-grid > *,
body.archive.tax-product_cat .entry-content .mm-cat-layout__children-grid > *,
body.archive.tax-product_cat .fusion-text .mm-cat-layout__children-grid > *,
body.archive.tax-product_cat .awb-post-content .mm-cat-layout__children-grid > *,
body.archive.tax-product_cat .post-content .mm-cat-layout__products-grid > *,
body.archive.tax-product_cat .entry-content .mm-cat-layout__products-grid > *,
body.archive.tax-product_cat .fusion-text .mm-cat-layout__products-grid > *,
body.archive.tax-product_cat .awb-post-content .mm-cat-layout__products-grid > * {
  min-width: 0 !important;
  width: auto !important;
  max-width: none !important;
  grid-column: auto !important;
}

@media (max-width: 1400px) {
  body.archive.tax-product_cat .post-content .mm-cat-layout__children-grid,
  body.archive.tax-product_cat .entry-content .mm-cat-layout__children-grid,
  body.archive.tax-product_cat .fusion-text .mm-cat-layout__children-grid,
  body.archive.tax-product_cat .awb-post-content .mm-cat-layout__children-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  body.archive.tax-product_cat .post-content .mm-cat-layout__products-grid,
  body.archive.tax-product_cat .entry-content .mm-cat-layout__products-grid,
  body.archive.tax-product_cat .fusion-text .mm-cat-layout__products-grid,
  body.archive.tax-product_cat .awb-post-content .mm-cat-layout__products-grid,
  body.archive.tax-product_cat .post-content .mm-cat-layout__products-grid--preview,
  body.archive.tax-product_cat .entry-content .mm-cat-layout__products-grid--preview,
  body.archive.tax-product_cat .fusion-text .mm-cat-layout__products-grid--preview,
  body.archive.tax-product_cat .awb-post-content .mm-cat-layout__products-grid--preview {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1200px) {
  body.archive.tax-product_cat .post-content .mm-cat-layout__children-grid,
  body.archive.tax-product_cat .entry-content .mm-cat-layout__children-grid,
  body.archive.tax-product_cat .fusion-text .mm-cat-layout__children-grid,
  body.archive.tax-product_cat .awb-post-content .mm-cat-layout__children-grid,
  body.archive.tax-product_cat .post-content .mm-cat-layout__products-grid,
  body.archive.tax-product_cat .entry-content .mm-cat-layout__products-grid,
  body.archive.tax-product_cat .fusion-text .mm-cat-layout__products-grid,
  body.archive.tax-product_cat .awb-post-content .mm-cat-layout__products-grid,
  body.archive.tax-product_cat .post-content .mm-cat-layout__products-grid--preview,
  body.archive.tax-product_cat .entry-content .mm-cat-layout__products-grid--preview,
  body.archive.tax-product_cat .fusion-text .mm-cat-layout__products-grid--preview,
  body.archive.tax-product_cat .awb-post-content .mm-cat-layout__products-grid--preview {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 860px) {
  body.archive.tax-product_cat .post-content .mm-cat-layout__children-grid,
  body.archive.tax-product_cat .entry-content .mm-cat-layout__children-grid,
  body.archive.tax-product_cat .fusion-text .mm-cat-layout__children-grid,
  body.archive.tax-product_cat .awb-post-content .mm-cat-layout__children-grid,
  body.archive.tax-product_cat .post-content .mm-cat-layout__products-grid,
  body.archive.tax-product_cat .entry-content .mm-cat-layout__products-grid,
  body.archive.tax-product_cat .fusion-text .mm-cat-layout__products-grid,
  body.archive.tax-product_cat .awb-post-content .mm-cat-layout__products-grid,
  body.archive.tax-product_cat .post-content .mm-cat-layout__products-grid--preview,
  body.archive.tax-product_cat .entry-content .mm-cat-layout__products-grid--preview,
  body.archive.tax-product_cat .fusion-text .mm-cat-layout__products-grid--preview,
  body.archive.tax-product_cat .awb-post-content .mm-cat-layout__products-grid--preview {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .mm-cat-layout__children-grid,
  .mm-cat-layout__products-grid,
  .mm-cat-layout__products-grid--preview {
    grid-template-columns: 1fr;
  }

  body.archive.tax-product_cat .post-content .mm-cat-layout__children-grid,
  body.archive.tax-product_cat .entry-content .mm-cat-layout__children-grid,
  body.archive.tax-product_cat .fusion-text .mm-cat-layout__children-grid,
  body.archive.tax-product_cat .awb-post-content .mm-cat-layout__children-grid,
  body.archive.tax-product_cat .post-content .mm-cat-layout__products-grid,
  body.archive.tax-product_cat .entry-content .mm-cat-layout__products-grid,
  body.archive.tax-product_cat .fusion-text .mm-cat-layout__products-grid,
  body.archive.tax-product_cat .awb-post-content .mm-cat-layout__products-grid,
  body.archive.tax-product_cat .post-content .mm-cat-layout__products-grid--preview,
  body.archive.tax-product_cat .entry-content .mm-cat-layout__products-grid--preview,
  body.archive.tax-product_cat .fusion-text .mm-cat-layout__products-grid--preview,
  body.archive.tax-product_cat .awb-post-content .mm-cat-layout__products-grid--preview {
    grid-template-columns: 1fr !important;
  }
}
/* END money-maker-managed-css: money-maker-product-cat-layout */

/* BEGIN money-maker-managed-css: money-maker-alt-catalog */
/* Money Maker Alt Catalog managed styles for Avada child themes.
   Site-specific overrides should be added after this managed block in the child theme. */

.mm-alt-catalog {
  column-count: 3;
  column-gap: 42px;
  column-fill: balance;
  margin: 0;
  color: var(--awb-color8);
  font-size: 14px;
  line-height: 1.42;
}

.mm-alt-catalog--cols-1 {
  column-count: 1;
}

.mm-alt-catalog--cols-2 {
  column-count: 2;
}

.mm-alt-catalog--cols-4 {
  column-count: 4;
}

.mm-alt-catalog__card {
  break-inside: avoid;
  display: block;
  margin: 0 0 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: none;
  box-shadow: none;
}

.mm-alt-catalog__card-header {
  display: block;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  background: none;
}

.mm-alt-catalog__card-body {
  padding: 0;
  border: 0;
  background: none;
}

.mm-alt-catalog__icon-wrap {
  display: none;
}

.mm-alt-catalog__group .mm-alt-catalog__icon-wrap,
.mm-alt-catalog__subgroup .mm-alt-catalog__icon-wrap {
  display: none;
}

.mm-alt-catalog__icon-image {
  display: none;
}

.mm-alt-catalog__title,
.mm-alt-catalog__group-title,
.mm-alt-catalog__subgroup-title {
  margin: 0 0 10px;
}

.mm-alt-catalog__title {
  color: var(--awb-color8);
  font-weight: 700;
  font-size: 1.5em;
  letter-spacing: 0;
  line-height: 1.2;
}

.mm-alt-catalog__group {
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
}

.mm-alt-catalog__group:first-child {
  margin-top: 0;
}

.mm-alt-catalog__group + .mm-alt-catalog__group {
  margin-top: 10px;
}

.mm-alt-catalog__group-head,
.mm-alt-catalog__subgroup-head {
  display: block;
  margin: 0;
}

.mm-alt-catalog__group-title {
  color: var(--awb-color8);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
}

.mm-alt-catalog__subgroup {
  margin-top: 8px;
  padding-top: 0;
  border-top: 0;
}

.mm-alt-catalog__subgroup-title {
  color: var(--awb-color8);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
}

.mm-alt-catalog a.mm-alt-catalog__term-link,
.mm-alt-catalog a.mm-alt-catalog__product-link {
  text-decoration: none !important;
}

.mm-alt-catalog a.mm-alt-catalog__term-link,
.mm-alt-catalog a.mm-alt-catalog__term-link:visited {
  color: var(--awb-color4) !important;
  text-decoration: underline !important;
  font-weight: 700;
}

.mm-alt-catalog a.mm-alt-catalog__product-link,
.mm-alt-catalog a.mm-alt-catalog__product-link:visited {
  color: var(--awb-color4) !important;
  text-decoration: underline !important;
}

.mm-alt-catalog__products {
  margin: 0 0 0 18px;
  padding: 0 0 0 18px;
  list-style: disc;
  border: 0;
}

.mm-alt-catalog__card-body > .mm-alt-catalog__products {
  margin-top: 0;
}

.mm-alt-catalog__product-item {
  margin: 0;
  padding: 0;
}

.mm-alt-catalog__product-item + .mm-alt-catalog__product-item {
  border-top: 0;
}

.mm-alt-catalog a.mm-alt-catalog__product-link,
.mm-alt-catalog a.mm-alt-catalog__product-link:visited {
  display: inline;
  padding: 0;
  font-weight: 400;
  line-height: 1.38;
}

.mm-alt-catalog a.mm-alt-catalog__product-link:hover,
.mm-alt-catalog a.mm-alt-catalog__product-link:focus {
  color: var(--awb-color4) !important;
}

.mm-alt-catalog__empty {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--awb-color8);
  font-weight: 400;
}

@media (max-width: 1180px) {
  .mm-alt-catalog,
  .mm-alt-catalog--cols-3,
  .mm-alt-catalog--cols-4 {
    column-count: 2;
    column-gap: 28px;
  }
}

@media (max-width: 760px) {
  .mm-alt-catalog,
  .mm-alt-catalog--cols-2,
  .mm-alt-catalog--cols-3,
  .mm-alt-catalog--cols-4 {
    column-count: 1;
  }

  .mm-alt-catalog {
    column-gap: 0;
    font-size: 13px;
  }

  .mm-alt-catalog__card {
    margin-bottom: 22px;
  }

  .mm-alt-catalog__card-header,
  .mm-alt-catalog__card-body {
    padding-left: 0;
    padding-right: 0;
  }

  .mm-alt-catalog__group {
    margin-bottom: 12px;
  }
}

/*
  Dynamic top-level Woo category list for the homepage.
  Built around the `mm_home_category_list` shortcode.
*/
.mm-home-category-list {
  display: grid;
  gap: 0;
  margin: 0;
  color: var(--awb-color8);
}

.mm-home-category-list__item {
  display: block;
  margin: 0;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--awb-color3);
}

.mm-home-category-list__item + .mm-home-category-list__item {
  margin-top: 20px;
}

.mm-home-category-list__title {
  margin: 0 0 12px;
  color: var(--awb-color8);
  line-height: 1.2;
  text-transform: uppercase;
}

.mm-home-category-list__content {
  display: grid;
  grid-template-columns: minmax(72px, var(--mm-home-category-image-size, 96px)) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.mm-home-category-list__media {
  display: block;
  width: var(--mm-home-category-image-size, 96px);
  text-decoration: none !important;
}

.mm-home-category-list__image {
  display: block;
  width: var(--mm-home-category-image-size, 96px);
  height: var(--mm-home-category-image-size, 96px);
  border-radius: 5px;
  object-fit: cover;
}

.mm-home-category-list__body {
  min-width: 0;
}

.mm-home-category-list__title-link,
.mm-home-category-list__title-link:visited {
  color: var(--awb-color8) !important;
  text-decoration: none !important;
}

.mm-home-category-list__title-link:hover,
.mm-home-category-list__title-link:focus {
  color: var(--awb-color8) !important;
}

.mm-home-category-list__description {
  margin: 0;
  color: var(--awb-color7);
  line-height: 1.68;
}

.mm-home-category-list__children {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px 18px;
  align-items: start;
  margin: 16px 0 0;
  width: 100%;
}

.mm-home-category-list__children-label {
  color: var(--awb-color8);
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
  padding-top: 2px;
  min-width: 0;
  justify-self: start;
  align-self: start;
  text-align: left;
}

.mm-home-category-list__child-item {
  display: grid;
  grid-template-rows: auto auto;
  gap: 10px;
  justify-items: center;
  align-content: start;
  width: 100%;
  min-width: 0;
  padding: 0;
  box-sizing: border-box;
  border: 1px solid var(--awb-color2);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
}

.mm-home-category-list__child-link,
.mm-home-category-list__child-link:visited {
  color: var(--awb-color8) !important;
  text-decoration: none !important;
  display: flex;
  order: 2;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  padding: 0 12px 12px;
  box-sizing: border-box;
  min-height: 4.4em;
  font-size: 0.94rem;
  line-height: 1.3;
  font-weight: 600;
  text-align: center;
  overflow-wrap: anywhere;
  word-break: normal;
}

.mm-home-category-list__child-link:hover,
.mm-home-category-list__child-link:focus {
  color: var(--awb-color8) !important;
  text-decoration: underline !important;
}

.mm-home-category-list__child-media {
  display: block;
  order: 1;
  width: 100%;
  line-height: 0;
  text-decoration: none !important;
}

.mm-home-category-list__child-media .mm-home-category-list__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.mm-home-category-list__empty {
  margin: 0;
  color: var(--awb-color7);
}

@media (max-width: 760px) {
  .mm-home-category-list__item {
    padding-bottom: 18px;
  }

  .mm-home-category-list__item + .mm-home-category-list__item {
    margin-top: 16px;
  }

  .mm-home-category-list__title {
    margin-bottom: 10px;
  }

  .mm-home-category-list__content {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
  }

  .mm-home-category-list__media,
  .mm-home-category-list__image {
    width: 72px;
    height: 72px;
  }

  .mm-home-category-list__description {
    line-height: 1.55;
  }

  .mm-home-category-list__children {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
  }

  .mm-home-category-list__child-link,
  .mm-home-category-list__child-link:visited {
    min-height: 4.1em;
    font-size: 0.9rem;
  }
}

@media (max-width: 640px) {
  .mm-home-category-list__children {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .mm-home-category-list__content {
    grid-template-columns: 1fr;
  }

  .mm-home-category-list__media {
    width: 72px;
  }

  .mm-home-category-list__children {
    grid-template-columns: 1fr;
  }

  .mm-home-category-list__child-link,
  .mm-home-category-list__child-link:visited {
    min-height: 0;
  }
}

/*
  Compact category card grid for the homepage.
  Built around the `mm_home_category_grid` shortcode.
*/
.mm-home-category-grid {
  display: grid;
  gap: 28px 22px;
  margin: 0;
  color: var(--awb-color8);
  align-items: start;
}

.mm-home-category-grid--cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.mm-home-category-grid--cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mm-home-category-grid--cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mm-home-category-grid--cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mm-home-category-grid--cols-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.mm-home-category-grid--cols-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.mm-home-category-grid__item {
  min-width: 0;
  display: block;
}

.mm-home-category-grid__link,
.mm-home-category-grid__link:visited {
  display: grid;
  grid-template-rows: auto auto;
  align-content: start;
  justify-items: stretch;
  gap: 14px;
  height: 100%;
  width: 100%;
  color: var(--awb-color8) !important;
  text-decoration: none !important;
}

.mm-home-category-grid__link:hover,
.mm-home-category-grid__link:focus {
  color: var(--awb-color8) !important;
  text-decoration: none !important;
}

.mm-home-category-grid__link--static {
  cursor: default;
}

.mm-home-category-grid__image {
  display: block;
  width: 100%;
  max-width: none;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
}

.mm-home-category-grid__title {
  display: block;
  width: 100%;
  text-align: center;
}

.mm-home-category-grid__title-text {
  display: inline-block;
  font-size: 1.02rem;
  line-height: 1.45;
  font-weight: 700;
  color: var(--awb-color8);
  text-wrap: pretty;
}

.mm-home-category-grid__empty {
  margin: 0;
  color: var(--awb-color7);
}

@media (max-width: 1100px) {
  .mm-home-category-grid--cols-3,
  .mm-home-category-grid--cols-4,
  .mm-home-category-grid--cols-5,
  .mm-home-category-grid--cols-6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .mm-home-category-grid {
    gap: 22px 16px;
  }

  .mm-home-category-grid--cols-2,
  .mm-home-category-grid--cols-3,
  .mm-home-category-grid--cols-4,
  .mm-home-category-grid--cols-5,
  .mm-home-category-grid--cols-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mm-home-category-grid__link,
  .mm-home-category-grid__link:visited {
    gap: 12px;
  }

  .mm-home-category-grid__title-text {
    font-size: 0.96rem;
    line-height: 1.4;
  }
}

@media (max-width: 420px) {
  .mm-home-category-grid {
    gap: 20px 12px;
  }

  .mm-home-category-grid--cols-1,
  .mm-home-category-grid--cols-2,
  .mm-home-category-grid--cols-3,
  .mm-home-category-grid--cols-4,
  .mm-home-category-grid--cols-5,
  .mm-home-category-grid--cols-6 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

/*
  Dynamic intro for current Woo product category archives.
  Intended for insertion via Fusion Builder Text Block shortcode.
*/
.mm-current-product-cat-intro {
  margin: 0 0 24px;
  color: var(--awb-color8);
}

.mm-current-product-cat-intro__content {
  display: grid;
  grid-template-columns: minmax(96px, var(--mm-current-term-image-size, 128px)) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.mm-current-product-cat-intro__media {
  display: block;
  width: var(--mm-current-term-image-size, 128px);
  text-decoration: none !important;
}

.mm-current-product-cat-intro__media .mm-home-category-list__image {
  display: block;
  width: var(--mm-current-term-image-size, 128px);
  height: var(--mm-current-term-image-size, 128px);
  border-radius: 5px;
  object-fit: cover;
}

.mm-current-product-cat-intro__body {
  min-width: 0;
}

.mm-current-product-cat-intro__description {
  color: var(--awb-color7);
  line-height: 1.7;
}

.mm-current-product-cat-intro__description > :first-child {
  margin-top: 0;
}

.mm-current-product-cat-intro__description > :last-child {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .mm-current-product-cat-intro {
    margin-bottom: 20px;
  }

  .mm-current-product-cat-intro__content {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
  }

  .mm-current-product-cat-intro__media,
  .mm-current-product-cat-intro__media .mm-home-category-list__image {
    width: 88px;
    height: 88px;
  }

  .mm-current-product-cat-intro__description {
    line-height: 1.58;
  }
}

@media (max-width: 420px) {
  .mm-current-product-cat-intro__content {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .mm-current-product-cat-intro__media,
  .mm-current-product-cat-intro__media .mm-home-category-list__image {
    width: 88px;
    height: 88px;
  }
}
/* END money-maker-managed-css: money-maker-alt-catalog */

/* BEGIN money-maker-managed-css: money-maker-product-see-also */
.mm-product-see-also {
  width: 100%;
  margin: 24px 0;
  color: #1f2933;
}

.mm-product-see-also__title {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
}

.mm-product-see-also__items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mm-product-see-also__item {
  display: flex;
  min-height: 48px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(31, 41, 51, .14);
  border-radius: 6px;
  background: #fff;
  color: #1f2933;
  text-decoration: none;
  transition: border-color .16s ease, background-color .16s ease;
}

.mm-product-see-also__item:hover,
.mm-product-see-also__item:focus {
  border-color: #2f7d32;
  background: #f4faf4;
  color: #1f2933;
  text-decoration: none;
}

.mm-product-see-also__item--category {
  background: #f7f9fb;
}

.mm-product-see-also__name {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.32;
  font-weight: 650;
}

@media (max-width: 640px) {
  .mm-product-see-also__items {
    grid-template-columns: 1fr;
  }
}
/* END money-maker-managed-css: money-maker-product-see-also */
