.jbw-category-grid,
.jbw-product-catalog {
  font-family: "Archivo", sans-serif;
}

.jbw-category-grid,
.jbw-product-grid {
  display: grid;
  grid-template-columns: repeat(var(--jbw-columns, 3), minmax(0, 1fr));
  gap: 18px;
}

.jbw-category-card,
.jbw-product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d5dadd;
  background: #fff;
}

.jbw-category-card__media,
.jbw-product-card__media {
  position: relative;
  display: block;
  height: 300px;
  overflow: hidden;
  background: #e9ebec;
}

.jbw-category-card__media img,
.jbw-product-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.jbw-category-card:hover .jbw-category-card__media img,
.jbw-product-card:hover .jbw-product-card__media img {
  transform: scale(1.035);
}

.jbw-category-card__media span,
.jbw-product-card__media span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  padding: 9px 12px;
  background: #fff;
  color: #17191a;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.jbw-category-card__body,
.jbw-product-card__body {
  padding: 26px;
}

.jbw-category-card__title,
.jbw-product-card__title {
  margin: 0;
  color: inherit;
  font-family: inherit;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
}

.jbw-product-card__title a {
  color: inherit;
  text-decoration: none;
}

.jbw-category-card__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
  border: 1px solid #d5dadd;
}

.jbw-category-card__stats > div {
  min-width: 0;
  padding: 14px 12px;
  border-right: 1px solid #d5dadd;
}

.jbw-category-card__stats > div:last-child {
  border-right: 0;
}

.jbw-category-card__stat-label {
  display: block;
  margin-bottom: 6px;
  color: #62696d;
  font-size: 10px;
  line-height: 1.2;
  text-transform: uppercase;
}

.jbw-category-card__stats strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.4;
}

.jbw-category-card__description,
.jbw-product-card__description {
  margin: 20px 0;
  color: #62696d;
  font-size: 14px;
  line-height: 1.55;
}

.jbw-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid currentColor;
  background: #fff;
  color: #17191a;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}

.jbw-button:hover {
  background: #17191a;
  color: #fff;
}

.jbw-filters {
  display: flex;
  flex-wrap: wrap;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 32px;
  border: 1px solid #d5dadd;
  background: #fff;
}

.jbw-filter {
  min-height: 48px;
  padding: 10px 24px;
  border: 0;
  background: transparent;
  color: #17191a;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.jbw-filter span {
  margin-left: 4px;
  color: #62696d;
  font-size: 10px;
}

.jbw-filter.is-active {
  background: #17191a;
  color: #fff;
}

.jbw-filter.is-active span {
  color: #d5dadd;
}

.jbw-product-card {
  transition: opacity .22s ease, transform .22s ease;
}

.jbw-product-card.is-filtered-out {
  display: none;
}

.jbw-product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #d5dadd;
}

.jbw-product-card__price {
  font-size: 16px;
}

.jbw-product-card__footer > a {
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 767px) {
  .jbw-category-card__body,
  .jbw-product-card__body {
    padding: 20px;
  }

  .jbw-category-card__stats {
    grid-template-columns: 1fr;
  }

  .jbw-category-card__stats > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid #d5dadd;
  }

  .jbw-category-card__stats > div:last-child {
    border-bottom: 0;
  }

  .jbw-filters {
    width: 100%;
  }

  .jbw-filter {
    flex: 1 1 auto;
    padding-inline: 14px;
  }
}

/* Rental inventory widget */
.jbw-rental-inventory {
  --jbw-rental-accent: #f15a32;
  --jbw-rental-muted: #59636a;
  --jbw-rental-media-width: 235px;
  --jbw-rental-aside: #303a3f;
  box-sizing: border-box;
  width: 100%;
  padding: clamp(44px, 6vw, 84px) clamp(18px, 5vw, 72px);
  background: #f5f5f3;
  color: #17191a;
  font-family: "Archivo", sans-serif;
}

.jbw-rental-inventory *,
.jbw-rental-inventory *::before,
.jbw-rental-inventory *::after,
.jbw-rental-list *,
.jbw-rental-list *::before,
.jbw-rental-list *::after {
  box-sizing: border-box;
}

.jbw-rental-inventory__header,
.jbw-rental-catalog {
  width: min(100%, 1280px);
  margin-right: auto;
  margin-left: auto;
}

.jbw-rental-inventory__header {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .8fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: end;
  margin-bottom: 34px;
}

.jbw-rental-inventory__eyebrow,
.jbw-rental-option__eyebrow,
.jbw-rental-aside__eyebrow {
  margin: 0 0 14px;
  color: var(--jbw-rental-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1.25;
  text-transform: uppercase;
}

.jbw-rental-inventory__heading {
  margin: 0;
  color: inherit;
  font-family: inherit;
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: .98;
}

.jbw-rental-inventory__intro {
  max-width: 520px;
  margin: 0 0 4px;
  color: var(--jbw-rental-muted);
  font-size: 16px;
  line-height: 1.55;
}

.jbw-rental-catalog {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 336px);
  gap: 18px;
  align-items: start;
}

.jbw-rental-list {
  --jbw-rental-accent: #f15a32;
  --jbw-rental-muted: #59636a;
  --jbw-rental-media-width: 235px;
  display: grid;
  gap: 14px;
  min-width: 0;
  width: 100%;
  color: #17191a;
  font-family: "Archivo", sans-serif;
}

.jbw-rental-option {
  display: grid;
  grid-template-columns: var(--jbw-rental-media-width) minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d5dadd;
  background: #fff;
}

.jbw-rental-option__media {
  position: relative;
  display: block;
  min-height: 240px;
  overflow: hidden;
  background: #dfe3e4;
}

.jbw-rental-option__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform .45s ease;
}

.jbw-rental-option:hover .jbw-rental-option__media img {
  transform: scale(1.035);
}

.jbw-rental-option__badge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  padding: 8px 11px;
  background: #fff;
  color: #17191a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.jbw-rental-option__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 27px 26px 25px;
}

.jbw-rental-option__top {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}

.jbw-rental-option__eyebrow {
  margin-bottom: 9px;
}

.jbw-rental-option__title {
  margin: 0;
  color: inherit;
  font-family: inherit;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.jbw-rental-option__title a {
  color: inherit;
  text-decoration: none;
}

.jbw-rental-option__title a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.jbw-rental-option__price {
  flex: 0 0 auto;
  color: #17191a;
  font-size: 17px;
  line-height: 1.2;
  white-space: nowrap;
}

.jbw-rental-option__price .woocommerce-Price-amount {
  font-weight: inherit;
}

.jbw-rental-option__description {
  max-width: 640px;
  margin: 21px 0 0;
  color: var(--jbw-rental-muted);
  font-size: 14px;
  line-height: 1.55;
}

.jbw-rental-option__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid #d5dadd;
}

.jbw-rental-option__best-for {
  color: var(--jbw-rental-muted);
  font-size: 12px;
  line-height: 1.4;
}

.jbw-rental-option__button,
.jbw-rental-aside__button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid #17191a;
  background: #fff;
  color: #17191a;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.jbw-rental-option__button:hover {
  background: #17191a;
  color: #fff;
  transform: translateY(-1px);
}

.jbw-rental-aside {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 32px;
  background: var(--jbw-rental-aside);
  color: #fff;
}

.jbw-rental-aside__mark {
  display: inline-flex;
  width: 25px;
  height: 25px;
  align-items: center;
  justify-content: center;
  margin-bottom: 47px;
  border: 2px solid var(--jbw-rental-accent);
  color: var(--jbw-rental-accent);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.jbw-rental-aside__eyebrow {
  margin-bottom: 14px;
  color: #ff9a7f;
}

.jbw-rental-aside__heading {
  max-width: 260px;
  margin: 0;
  color: inherit;
  font-family: inherit;
  font-size: 31px;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.05;
}

.jbw-rental-aside__text {
  margin: 20px 0 26px;
  color: #e8edef;
  font-size: 14px;
  line-height: 1.55;
}

.jbw-rental-aside__list {
  display: grid;
  gap: 19px;
  margin: 0 0 31px;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .22);
  list-style: none;
}

.jbw-rental-aside__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.jbw-rental-aside__marker {
  display: inline-block;
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border: 2px solid #ff9a7f;
  border-radius: 50%;
}

.jbw-rental-aside__button {
  width: 100%;
  margin-top: auto;
  border-color: var(--jbw-rental-accent);
  background: var(--jbw-rental-accent);
  color: #fff;
}

.jbw-rental-aside__button:hover {
  background: #d84321;
  border-color: #d84321;
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .jbw-rental-inventory__header {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .jbw-rental-inventory__intro {
    max-width: 700px;
  }

  .jbw-rental-catalog {
    grid-template-columns: 1fr;
  }

  .jbw-rental-aside {
    min-height: 0;
  }
}

@media (max-width: 767px) {
  .jbw-rental-inventory {
    padding: 46px 16px;
  }

  .jbw-rental-inventory__heading {
    font-size: clamp(36px, 11vw, 52px);
  }

  .jbw-rental-option {
    grid-template-columns: 1fr;
  }

  .jbw-rental-option__media {
    min-height: 230px;
  }

  .jbw-rental-option__body {
    padding: 22px 20px 20px;
  }

  .jbw-rental-option__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 12px;
    row-gap: 8px;
    align-items: start;
  }

  .jbw-rental-option__top > div {
    display: contents;
  }

  .jbw-rental-option__eyebrow {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    max-width: 100%;
    margin: 0;
    font-size: clamp(9px, 2.8vw, 11px);
    letter-spacing: .12em;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .jbw-rental-option__title {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    min-width: 0;
    font-size: clamp(19px, 5.8vw, 23px);
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  .jbw-rental-option__price {
    grid-column: 2;
    grid-row: 1;
    max-width: 48vw;
    font-size: clamp(13px, 4vw, 15px);
    line-height: 1.15;
    text-align: right;
    white-space: normal;
  }

  .jbw-rental-option__footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .jbw-rental-option__button {
    width: 100%;
  }

  .jbw-rental-aside {
    padding: 27px 22px;
  }

  .jbw-rental-aside__mark {
    margin-bottom: 35px;
  }
}
