/* Catalog-only overrides. This file is loaded exclusively on shop/category archives. */
.shop-shell .category-hero > span { display: none; }

/* Use the same shared product-card geometry as the homepage component. */
.shop-shell .shop-results ul.products li.product {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 12px;
  border: 0;
  border-radius: 12px;
  background: #f2f3f5;
  overflow: hidden;
}
.shop-shell .shop-results ul.products li.product:hover { border-color: transparent; background: #eceff3; }
.shop-shell .shop-results ul.products li.product .product-card-media {
  margin: -12px -12px 8px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}
.shop-shell .shop-results ul.products li.product .product-image,
.shop-shell .shop-results ul.products li.product a img {
  width: 100%;
  height: 230px;
  margin: 0;
  border-radius: 12px 12px 0 0;
  object-fit: contain;
  background: #fff;
}
.shop-shell .shop-results .product-card-brand {
  min-height: 0;
  margin: 4px 0 2px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .03em;
}
.shop-shell .shop-results ul.products li.product h3 {
  min-height: 40px;
  margin: 3px 0 4px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.32;
}
.shop-shell .shop-results .product-card-rating {
  min-height: 20px;
  gap: 5px;
  font-weight: 400;
}
.shop-shell .shop-results .product-card-rating strong { font-weight: 500; }
.shop-shell .shop-results .product-card-rating.is-empty { display: none; }
.shop-shell .shop-results .product-price-row {
  min-height: 28px;
  margin: 1px 0;
  align-items: center;
}
.shop-shell .shop-results ul.products li.product .price,
.shop-shell .shop-results ul.products li.product .price ins {
  margin: 0;
  font-size: 17px;
  font-weight: 650;
}
.shop-shell .shop-results ul.products li.product .price del { font-weight: 400; }
.shop-shell .shop-results .product-card-saving {
  min-height: 0;
  margin: 0;
  font-weight: 500;
}
.shop-shell .shop-results .product-card-availability {
  min-height: 0;
  margin: 2px 0 4px;
  font-weight: 400;
  line-height: 1.25;
}
.shop-shell .shop-results ul.products li.product a.product-cart-button.button {
  display: inline-flex !important;
  width: 100%;
  min-height: 40px !important;
  height: 40px !important;
  max-height: 40px !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 40px;
  margin-top: auto !important;
  padding: 0 20px !important;
  border: 1.5px solid #e23a22 !important;
  color: #cf2f19 !important;
  background: #fff !important;
  font-weight: 500;
  line-height: 1.2 !important;
  text-align: center !important;
  white-space: nowrap;
}
.shop-shell .shop-results ul.products li.product a.product-cart-button.button:hover {
  color: #fff !important;
  background: #df3b23 !important;
}

/* Constrain both price inputs to the sidebar's actual content width. */
.shop-shell .shop-sidebar .puppy-filter-price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  width: 100%;
  gap: 6px;
}
.shop-shell .shop-sidebar .puppy-filter-price-row input {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.shop-shell .shop-sidebar .puppy-context-filter legend { font-size: 17px; }

@media (max-width: 760px) {
  .shop-shell .shop-results ul.products li.product .product-image,
  .shop-shell .shop-results ul.products li.product a img { height: 195px; }
}

@media (max-width: 480px) {
  .shop-shell .shop-results ul.products li.product .product-image,
  .shop-shell .shop-results ul.products li.product a img { height: 155px; }
  .shop-shell .shop-results ul.products li.product h3 {
    min-height: 38px;
    font-size: 13px;
  }
  .shop-shell .shop-results .product-card-availability { font-size: 11px; }
}

/* Catalog empty result: replace WooCommerce's default notice with a useful,
   page-scoped state and a direct way to clear the current filters. */
.shop-shell .shop-results .catalog-empty {
  display: flex;
  min-height: 340px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 0 30px;
  padding: 48px 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: #f7f9fc;
  text-align: center;
}
.shop-shell .shop-results .catalog-empty-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-soft);
  font-size: 28px;
}
.shop-shell .shop-results .catalog-empty h2 {
  margin: 17px 0 8px;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.2;
}
.shop-shell .shop-results .catalog-empty p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.shop-shell .shop-results .catalog-empty .button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 0 18px;
  border-radius: 8px;
  text-decoration: none;
}

