/* Equal product cards and bottom actions; each page keeps its original image styles. */
html body :is(.home-page-content, .home-card-typography) :is(.product-card, .card) {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: auto !important;
  min-width: 0;
}
html body .home-card-typography:is(.product-grid, .grid),
html body .home-page-content .product-grid {
  align-items: stretch;
  grid-auto-rows: 1fr;
}
html body .home-card-typography .product-card > a:has(> .p-body) {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}
html body .home-page-content .independence-track {
  align-items: stretch;
}
html body .home-page-content .independence-track > .product-card {
  align-self: stretch;
}
html body :is(.home-page-content, .home-card-typography) :is(.product-body, .p-body, .body) {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}
html body .home-card-typography :is(.p-price, .price),
html body .home-page-content .product-body > div:has(> .product-price) {
  margin-top: auto !important;
  padding-top: 6px;
  flex-shrink: 0;
}
html body .home-card-typography :is(.p-actions, .action) {
  margin-top: auto;
  flex-shrink: 0;
}
html body .home-card-typography :is(.add-btn, .cart),
html body .home-page-content .product-card .add-cart-btn {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  height: 44px;
  flex-shrink: 0;
}
html body .home-page-content .product-card .add-cart-btn {
  margin-top: auto;
}
html body .home-page-content .product-body:has(> div > .product-price) > .add-cart-btn {
  margin-top: 6px;
}
@media (min-width: 601px) {
  html body .home-card-typography.grid.list > .card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 190px;
    height: auto !important;
  }
  html body .home-card-typography.grid.list .action {
    margin-top: 0;
  }
}
@media (max-width: 600px) {
  html body .home-card-typography :is(.add-btn, .cart),
  html body .home-page-content .product-card .add-cart-btn {
    min-height: 40px;
    height: 40px;
  }
}
