/* The equipment catalog: cards, the item page, the filter list, and the [products] lists.
   Colors, the rule color, the corner radius, and the font come from the restyle's variables,
   with fallbacks for a page that loads without the restyle. */

.gl-eq-grid {
  --gl-eq-gap: 24px;
  display: grid;
  grid-template-columns: repeat(var(--gl-eq-cols, 3), minmax(0, 1fr));
  gap: var(--gl-eq-gap);
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}
.gl-eq-grid > li { margin: 0; padding: 0; min-width: 0; list-style: none; }

/* Tablets show at most three cards a row, and phones two. */
@media (min-width: 768px) and (max-width: 1023.98px) {
  .gl-eq-grid { grid-template-columns: repeat(min(var(--gl-eq-cols, 3), 3), minmax(0, 1fr)); --gl-eq-gap: 18px; }
}
@media (max-width: 767.98px) {
  .gl-eq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); --gl-eq-gap: 12px; }
}

.gl-eq-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  font-family: var(--gl-sans, inherit);
  color: var(--gl-ink, #1f2430);
}
.gl-eq-card-image {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--gl-rule, #b9bfcc);
  border-radius: var(--gl-radius, 4px);
  background: var(--gl-wash, #eef0f5);
}
.gl-eq-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gl-eq-card-body { padding: 12px 2px 0; min-width: 0; }
.gl-eq-card .gl-eq-card-title {
  margin: 0 0 6px;
  font-family: var(--gl-sans, inherit);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  overflow-wrap: anywhere;
}
.gl-eq-card-title a { color: var(--gl-navy, #182a61); text-decoration: none; }
.gl-eq-card-title a:hover, .gl-eq-card-title a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.gl-eq-card-excerpt { margin: 0; font-size: 15px; line-height: 1.45; color: var(--gl-muted, #525a68); }
@media (max-width: 767.98px) {
  .gl-eq-card .gl-eq-card-title { font-size: 16px; }
  .gl-eq-card-excerpt { font-size: 14px; }
}

/* An item flagged as no longer for sale stays listed, quieter. */
.is-no-longer-for-sale .gl-eq-card-image img { opacity: .55; filter: grayscale(1); }

/* The archive header for categories and tags. The restyle draws the header of /equipment/. */
.gl-eq-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin: 0 0 20px; }
.gl-eq-head .gl-eq-head-title { margin: 0; font-family: var(--gl-sans, inherit); font-size: 28px; line-height: 1.2; color: var(--gl-navy, #182a61); text-transform: none; }
.gl-eq-head .woocommerce-result-count { margin: 0; color: var(--gl-muted, #525a68); font-size: 15px; }
.gl-eq-empty { margin: 8px 0 32px; font-size: 17px; }

/* Page links under a [products] list. The restyle styles the catalog's own. */
.gl-eq-shortcode .woocommerce-pagination ul { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 24px; padding: 0; list-style: none; }

/* The filter list in the shop sidebar. */
.gl-eq-filter { font-family: var(--gl-sans, inherit); }
.gl-eq-filter-group { margin: 0 0 20px; }
.gl-eq-filter-title { margin: 0 0 8px; font-size: 15px; font-weight: 700; color: var(--gl-ink, #1f2430); }
.gl-eq-filter-list { margin: 0; padding: 0; list-style: none; }
.gl-eq-filter-item { display: flex; align-items: center; gap: 6px; margin: 0; min-height: 44px; font-size: 15px; }
.gl-eq-filter-item a, .gl-eq-filter-item.is-current span[aria-current] { display: inline-flex; align-items: center; min-height: 44px; }
.gl-eq-filter-item a { color: var(--gl-navy, #182a61); }
.gl-eq-filter-item.is-current span[aria-current] { font-weight: 600; }
.gl-eq-filter-item a::before, .gl-eq-filter-item.is-current span[aria-current]::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-right: 10px;
  border: 1px solid var(--gl-field, #7a8394);
  border-radius: 3px;
  background: #fff;
}
.gl-eq-filter-item.is-chosen a::before, .gl-eq-filter-item.is-current span[aria-current]::before {
  border-color: var(--gl-navy, #182a61);
  background: var(--gl-navy, #182a61) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' d='M3 8.5l3.2 3L13 4.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.gl-eq-filter-count { color: var(--gl-muted, #525a68); }
.gl-eq-filter-reset a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* The item page. */
.gl-eq-item { font-family: var(--gl-sans, inherit); color: var(--gl-ink, #1f2430); }
.gl-eq-item-row { padding-top: 30px; }
.gl-eq-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.gl-eq-photo { margin: 0; list-style: none; }
.gl-eq-photo.is-main { grid-column: 1 / -1; }
.gl-eq-photo a, .gl-eq-photo.is-placeholder { display: block; overflow: hidden; border: 1px solid var(--gl-rule, #b9bfcc); border-radius: var(--gl-radius, 4px); background: var(--gl-wash, #eef0f5); }
.gl-eq-photo img { display: block; width: 100%; height: auto; }
.gl-eq-photo:not(.is-main) img { aspect-ratio: 1 / 1; object-fit: cover; }
.gl-eq-photo a:focus-visible { outline: 3px solid var(--gl-navy, #182a61); outline-offset: 2px; }
.gl-eq-crumbs { margin: 0 0 8px; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
.gl-eq-crumbs a { color: var(--gl-muted, #525a68); }
.gl-eq-item h1.product_title {
  margin: 0 0 16px;
  font-family: var(--gl-sans, inherit);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15;
  color: var(--gl-navy, #182a61);
  overflow-wrap: anywhere;
}
.gl-eq-short { margin: 0 0 20px; font-size: 17px; line-height: 1.55; }
.gl-eq-agent { margin: 0 0 20px; }
.gl-eq-tags { font-size: 15px; color: var(--gl-muted, #525a68); }
.gl-eq-description { max-width: 760px; margin: 8px auto 40px; padding: 24px 15px 0; border-top: 1px solid var(--gl-rule, #b9bfcc); font-size: 17px; line-height: 1.6; }
.gl-eq-description h2, .gl-eq-related h2 { font-family: var(--gl-sans, inherit); font-size: 22px; color: var(--gl-navy, #182a61); text-transform: none; }
.gl-eq-related { margin: 0 auto 40px; padding: 0 15px; max-width: 1110px; }
@media (max-width: 767.98px) {
  .gl-eq-item-row { padding-top: 16px; }
}
