/* Metric-matched fallbacks for Saira Condensed: headings keep roughly the same
 * width while the web font loads, so the page does not jump when it arrives. */
@font-face { font-family: "ISR Narrow Fallback"; src: local("Arial Narrow"), local("ArialNarrow"), local("Liberation Sans Narrow"); font-weight: 400 500; }
@font-face { font-family: "ISR Narrow Fallback"; src: local("Arial Narrow Bold"), local("ArialNarrow-Bold"), local("Liberation Sans Narrow Bold"); font-weight: 600 900; }
@font-face { font-family: "ISR Arial Fallback"; src: local("Arial"), local("ArialMT"), local("Helvetica"), local("Liberation Sans"); size-adjust: 84%; ascent-override: 98%; descent-override: 24%; font-weight: 400 500; }
@font-face { font-family: "ISR Arial Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"), local("Liberation Sans Bold"); size-adjust: 84%; ascent-override: 98%; descent-override: 24%; font-weight: 600 900; }
.isr-product-cards-grid,
.isr-product-cards-grid * {
  box-sizing: border-box;
}

.isr-product-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 24px;
  width: 100%;
}

.isr-product-card {
  --isr-product-hover-shadow: #BCE153;
  --isr-product-hover-offset: 7px;
  min-width: 0;
  min-height: 354px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  border: 1px solid #cfd8de;
  background: #fff;
  font-family: "Montserrat", Arial, sans-serif;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.isr-product-card:hover,
.isr-product-card:focus-within {
  z-index: 2;
  transform: translate(-1px, -1px);
  border-color: #0b2230;
  box-shadow: var(--isr-product-hover-offset) var(--isr-product-hover-offset) 0 var(--isr-product-hover-shadow);
}

.isr-product-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 17px;
}

.isr-product-card__code {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 0 10px;
  background: #0b2230;
  color: #fff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.isr-product-card__type {
  color: #285f80;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 9px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-align: right;
}

.isr-product-card__title {
  margin: 0 0 10px;
  color: #071d2a;
  font-family: "Saira Condensed", "ISR Narrow Fallback", "ISR Arial Fallback", "Arial Narrow", sans-serif;
  font-size: clamp(24px, 1.8vw, 29px);
  line-height: .98;
  font-weight: 700;
  letter-spacing: -.012em;
  text-transform: uppercase;
}

.isr-product-card__title a {
  color: inherit !important;
  text-decoration: none !important;
}

.isr-product-card__excerpt {
  margin: 0 0 17px;
  color: #687a88;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 400;
}

.isr-product-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: auto 0 20px;
}

.isr-product-card__badges span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 9px;
  border: 1px solid #ced8dd;
  background: #fff;
  color: #5e7280;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 8px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.isr-product-card__badges span:first-child {
  background: #174b68;
  border-color: #174b68;
  color: #fff;
}

.isr-product-card__bottom {
  margin-top: auto;
  padding-top: 19px;
  border-top: 1px solid #d6dee3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.isr-product-card__price {
  min-width: 0;
  color: #0b2230;
  font-family: "Saira Condensed", "ISR Narrow Fallback", "ISR Arial Fallback", "Arial Narrow", sans-serif;
  font-size: 29px;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
}

.isr-product-card__price .woocommerce-Price-currencySymbol {
  display: inline-block;
  margin-right: 2px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 12px;
  line-height: 1;
  vertical-align: top;
  transform: translateY(2px);
}

.isr-product-card__price del {
  color: #8c9aa2;
  font-size: 14px;
  font-weight: 500;
}

.isr-product-card__price ins {
  text-decoration: none;
}

.isr-product-card__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 7px;
}

.isr-product-card__button {
  min-width: 55px;
  height: 36px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #0b2230;
  background: #0b2230;
  color: #fff !important;
  text-decoration: none !important;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 9px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}

.isr-product-card__button:hover,
.isr-product-card__button:focus {
  background: #164b68;
  border-color: #164b68;
  color: #fff !important;
}

.isr-product-card__button--add {
  background: #fff;
  color: #0b2230 !important;
}

.isr-product-card__button--add:hover,
.isr-product-card__button--add:focus {
  background: #0b2230;
  border-color: #0b2230;
  color: #fff !important;
}

.isr-product-card__button.added::after {
  margin-left: 5px;
}

.isr-product-cards-empty {
  padding: 20px;
  border: 1px dashed #cfd8de;
  color: #687a88;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
}

@media (max-width: 767px) {
  .isr-product-card {
    min-height: 0;
    padding: 24px 22px;
  }

  .isr-product-card__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .isr-product-card__actions {
    width: 100%;
  }

  .isr-product-card__button {
    flex: 1 1 0;
  }
}

/* Featured first card defaults */
.isr-product-card:first-child {
  background-color: #0d1b26;
  border-color: #0d1b26;
}

.isr-product-card:first-child .isr-product-card__code {
  background-color: #bce153;
  color: #0d1b26;
}

.isr-product-card:first-child .isr-product-card__type {
  color: #bce153;
}

.isr-product-card:first-child .isr-product-card__title,
.isr-product-card:first-child .isr-product-card__excerpt {
  color: #fff;
}

.isr-product-card:first-child .isr-product-card__bottom {
  border-top-color: #31414c;
}

.isr-product-card:first-child .isr-product-card__price {
  color: #bce153;
}

.isr-product-card:first-child .isr-product-card__button--view {
  background-color: #bce153;
  border-color: #bce153;
  color: #0d1b26 !important;
}

.isr-product-card:first-child .isr-product-card__button--add {
  background-color: #0d1b26;
  border-color: #fff;
  color: #fff !important;
}

/* Third badge accent */
.isr-product-card__badges span:nth-child(3) {
  background-color: #bce153;
  border-color: #bce153;
  color: #0d1b26;
}

/* v1.8.1 — WooCommerce's own "View cart" link (if shown): small, black, vertically centred. */
.isr-product-cards-grid .added_to_cart.wc-forward {
  display: inline-flex !important; align-items: center; align-self: center;
  margin: 0 0 0 10px !important; padding: 0 !important;
  color: #0d1b26 !important; background: none !important; border: 0 !important;
  font-family: "Montserrat", Arial, sans-serif !important; font-size: 10px !important; font-weight: 700 !important; line-height: 1 !important;
  letter-spacing: .08em !important; text-transform: uppercase !important; text-decoration: underline !important; text-underline-offset: 3px; white-space: nowrap;
}
.isr-product-cards-grid .added_to_cart.wc-forward:hover { color: #285d7d !important; }
.isr-product-card__actions { align-items: center; }
.isr-product-card:first-child .added_to_cart.wc-forward { color: #fff !important; }
.isr-product-card__button--add.is-in-cart { background: #0b2230; border-color: #0b2230; color: #fff !important; }
.isr-product-card:first-child .isr-product-card__button--add.is-in-cart { background: #bce153; border-color: #bce153; color: #0d1b26 !important; }
.isr-product-card__button.loading { opacity: .6; pointer-events: none; }
