/*
 * YOKO Kids v3.4.0
 * Product catalogue recovery + native PHP homepage converted from the
 * Elementor home export dated 2026-08-05.
 */

/* Catalogue: keep the custom all-products page aligned to Rey's full-width
   equation and make every grid column visibly available. */
body.yoko-product-archive-page .yoko-archive-products {
  min-height: 320px;
}
body.yoko-product-archive-page .yoko-archive-grid {
  align-items: stretch;
}
body.yoko-product-archive-page .yoko-archive-product-card {
  min-width: 0;
  height: 100%;
}
body.yoko-product-archive-page .yoko-filter-sizes {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
body.yoko-product-archive-page .yoko-filter-sizes span {
  min-width: 0;
  font-variant-numeric: tabular-nums;
}
body.yoko-product-archive-page .yoko-archive-empty {
  min-height: 320px;
  display: grid;
  place-content: center;
}

/* Native homepage typography and layout are tied to the shared brand tokens,
   not Elementor widget-level font declarations. */
body.yoko-home-php-page {
  --yoko-home-heading-weight: 700;
  --yoko-home-body-weight: 400;
  font-family: var(--yoko-font);
  font-weight: var(--yoko-home-body-weight);
}
body.yoko-home-php-page .yoko-homepage-v340 :where(h1,h2,h3,h4,strong,b) {
  font-family: var(--yoko-font);
  font-weight: var(--yoko-home-heading-weight);
}
body.yoko-home-php-page .yoko-homepage-v340 :where(p,li,span,a,button,input,select,textarea) {
  font-family: var(--yoko-font);
}
body.yoko-home-php-page .yoko-homepage__shell {
  width: calc(100% - (var(--yoko-page-gutter) * 2));
  max-width: none;
}

@media (min-width: 1200px) and (max-width: 1599px) {
  body.yoko-product-archive-page .yoko-archive-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1199px) {
  body.yoko-product-archive-page .yoko-filter-sizes {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body.yoko-product-archive-page .yoko-filter-sizes {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  body.yoko-product-archive-page .yoko-filter-sizes span {
    height: 44px;
    font-size: 14px;
  }
  body.yoko-home-php-page .yoko-homepage__shell {
    width: calc(100% - 32px);
  }
}
