/* Make product information as readable as the surrounding catalog controls. */
.storefront .catalog-heading-row h1 { font-size: clamp(25px, 2.1vw, 30px); }
.storefront .results-count { font-size: 11px; }
.storefront .product-list { gap: 9px; }
.storefront .product-card {
  grid-template-columns: minmax(0, 1fr) 38px 44px 88px 124px 106px;
  gap: 9px;
  min-height: 104px;
  padding: 12px 14px;
}
.storefront .product-card-link { gap: 12px; }
.storefront .product-icon { width: 50px; height: 50px; }
.storefront .product-card-title {
  margin-bottom: 7px;
  color: #1e2d42;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.38;
}
.storefront .product-card-meta .product-source,
.storefront .product-card-meta .product-sold { font-size: 12px; line-height: 1.3; }
.storefront .product-rating { min-height: 19px; font-size: 10px; }
.storefront .product-favorite { width: 38px; height: 42px; }
.storefront .product-info-box { width: 44px; height: 44px; }
.storefront .product-stat-box { height: 58px; }
.storefront .product-stat-box small { font-size: 11px; line-height: 1.2; }
.storefront .product-stock { font-size: 12px; }
.storefront .product-price { font-size: 16px; }
.storefront .product-add { width: 106px; height: 46px; min-height: 46px; font-size: 11px; }

@media (max-width: 1100px) {
  .storefront .product-card {
    grid-template-columns: minmax(0, 1fr) 36px 42px 80px 112px 96px;
    gap: 7px;
    padding: 11px 12px;
  }
  .storefront .product-card-title { font-size: 15px; }
  .storefront .product-price { font-size: 15px; }
  .storefront .product-add { width: 96px; }
}

@media (max-width: 1000px) {
  .storefront .product-card {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-areas: none;
    gap: 9px;
    min-height: 0;
    padding: 12px;
  }
  .storefront .product-card-link {
    grid-column: 1 / 5;
    grid-row: 1;
    min-height: 58px;
    padding-right: 0;
    gap: 11px;
  }
  .storefront .product-favorite {
    position: static;
    grid-column: 5;
    grid-row: 1;
    justify-self: end;
    width: 44px;
    height: 44px;
  }
  .storefront .product-info-box {
    position: static;
    grid-column: 6;
    grid-row: 1;
    justify-self: end;
    width: 44px;
    height: 44px;
  }
  .storefront .product-stock-box {
    grid-column: 1 / 3;
    grid-row: 2;
  }
  .storefront .product-price-wrap {
    grid-column: 3 / 5;
    grid-row: 2;
  }
  .storefront .product-add {
    grid-column: 5 / 7;
    grid-row: 2;
    width: 100%;
    height: 54px;
    min-height: 54px;
  }
  .storefront .product-card-title { font-size: 15px; }
  .storefront .product-icon { width: 48px; height: 48px; }
  .storefront .product-card-meta .product-source,
  .storefront .product-card-meta .product-sold { font-size: 11px; }
  .storefront .product-stat-box { height: 54px; min-height: 54px; }
  .storefront .product-stat-box small { font-size: 10px; }
  .storefront .product-stock { font-size: 11px; }
  .storefront .product-price { font-size: 15px; }
  .storefront .product-add { font-size: 11px; }
}

@media (max-width: 650px) {
  .storefront .product-card-title {
    font-size: 14px;
    line-height: 1.42;
    -webkit-line-clamp: 3;
  }
  .storefront .product-card-link { gap: 10px; }
  .storefront .product-stat-box { height: 50px; min-height: 50px; }
  .storefront .product-stat-box small { font-size: 10px; }
  .storefront .product-stock { font-size: 11px; }
  .storefront .product-price { font-size: 14px; }
  .storefront .product-add {
    height: 50px;
    min-height: 50px;
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  .storefront .product-card-link {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 60px;
  }
  .storefront .product-favorite {
    grid-column: 1;
    grid-row: 3;
    justify-self: stretch;
    width: 100%;
    height: 48px;
    border: 1px solid #edf0f3;
    border-radius: 8px;
    background: #f5f6f8;
  }
  .storefront .product-info-box {
    grid-column: 2;
    grid-row: 3;
    justify-self: stretch;
    width: 100%;
    height: 48px;
  }
  .storefront .product-stock-box {
    grid-column: 1 / 4;
    grid-row: 2;
  }
  .storefront .product-price-wrap {
    grid-column: 4 / 7;
    grid-row: 2;
  }
  .storefront .product-add {
    grid-column: 3 / 7;
    grid-row: 3;
    height: 48px;
    min-height: 48px;
  }
}

/* Support is part of the catalog flow on narrow screens, so it never covers purchase buttons. */
.storefront .catalog-support-banner { display: none; }

@media (max-width: 800px) {
  .storefront .catalog-support-banner {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 11px;
    min-height: 78px;
    margin: 0 0 13px;
    padding: 12px 14px;
    border: 1px solid #d7e9f2;
    border-radius: 15px;
    background: linear-gradient(110deg, #f0f9fe, #fbfdff);
    color: #203249;
    box-shadow: 0 7px 19px rgba(35, 69, 94, .055);
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  }
  .storefront .catalog-support-banner:hover {
    border-color: #a9d8ee;
    box-shadow: 0 10px 22px rgba(35, 69, 94, .1);
    transform: translateY(-1px);
  }
  .storefront .catalog-support-banner:focus-visible {
    outline: 3px solid #69bde5;
    outline-offset: 3px;
  }
  .storefront .catalog-support-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid #d8eaf4;
    border-radius: 13px;
    background: #fff;
  }
  .storefront .catalog-support-icon img { display: block; width: 28px; height: 28px; }
  .storefront .catalog-support-copy { display: grid; gap: 3px; min-width: 0; }
  .storefront .catalog-support-copy strong { font-size: 14px; font-weight: 800; line-height: 1.2; }
  .storefront .catalog-support-copy small { color: #61768a; font-size: 11px; font-weight: 600; line-height: 1.35; }
  .storefront .catalog-support-arrow { color: #b91b37; font-size: 22px; font-weight: 600; text-align: right; }
}
