/* Product card (shared) */
.f24-card-item {
  display: flex;
  min-width: 0;
  height: auto !important;
  margin-bottom: 0 !important;
}

.f24-card-item .f24-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--f24-white, white);
  border: 1px solid var(--f24-border);
  border-radius: 2px;
  box-shadow: none;
  transition: border-color 180ms ease;
}

.f24-card-item .f24-card:hover,
.f24-card-item .f24-card:focus-within {
  border-color: var(--f24-primary);
}

.f24-card-item:hover .f24-card {
  height: 100%;
  margin-top: 0;
  outline: none;
}

.f24-card .f24-card-image {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  margin: 0;
  padding: 16px;
  border-radius: 0;
  background: var(--f24-white, white);
}

.f24-card-image picture,
.f24-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.f24-card .f24-no-image {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--f24-muted);
  background: var(--f24-bg-soft);
}

.f24-card .f24-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 4px 16px 16px;
}

.f24-card .f24-card-title {
  height: auto;
  min-height: 4.05em;
  margin: 0 0 12px;
  text-align: left;
  text-transform: none;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
}

.f24-card .f24-card-title a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow-wrap: break-word;
  hyphens: auto;
  color: var(--f24-dark);
  font: inherit;
  text-align: left;
  text-transform: none;
}

.f24-card .f24-card-prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  margin: auto 0 14px;
  color: var(--f24-text);
  text-align: left;
  font-size: 13px;
}

.f24-card .f24-card-price,
.f24-card .f24-card-price b {
  color: var(--f24-primary);
  font-family: var(--f24-font);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.f24-card .regular-price,
.f24-card .discount-product,
.f24-card .unit-price-cart,
.f24-card .f24-card-price small {
  color: var(--f24-text);
  font-size: 12px;
  font-weight: 400;
}

.f24-card .pdomnibuspro-product-price {
  flex-basis: 100%;
  margin: 4px 0 0;
  color: var(--f24-text);
  font-size: 11px;
  line-height: 1.4;
}

.f24-card .discount-product {
  display: inline;
}

.f24-card .f24-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px;
  border: 1px solid var(--f24-border);
  border-radius: 2px;
  color: var(--f24-dark);
  background: var(--f24-white, white);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  transition: opacity 180ms ease, color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.f24-card .f24-card-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.f24-card .f24-card-cta {
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .f24-card .f24-card-cta {
    opacity: 0;
  }

  .f24-card:hover .f24-card-cta,
  .f24-card:focus-within .f24-card-cta {
    opacity: 1;
  }
}

@media (hover: none), (pointer: coarse) {
  .f24-card .f24-card-cta {
    display: none;
  }

  .f24-card .f24-card-prices {
    margin-bottom: 0;
  }

  .f24-card .f24-card-body {
    padding-bottom: 14px;
  }
}

.f24-card:hover .f24-card-cta,
.f24-card:focus-within .f24-card-cta {
  border-color: var(--f24-primary);
  color: var(--f24-white, white);
  background: var(--f24-primary);
}

.f24-card .f24-card-flags {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: calc(100% - 20px);
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}

.f24-card .f24-card-flags .product-flag {
  position: static;
  width: auto;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 3px 7px;
  border: 1px solid var(--f24-border);
  color: var(--f24-dark);
  background: var(--f24-white, white);
  box-shadow: none;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
}

.f24-card a:focus-visible {
  outline: 2px solid var(--f24-primary);
  outline-offset: -3px;
}

@media (max-width: 767px) {
  .f24-card .f24-card-image {
    padding: 12px;
  }

  .f24-card .f24-card-body {
    padding: 4px 12px 12px;
  }

  .f24-card .f24-card-title {
    font-size: 14px;
  }

  .f24-card .f24-card-price,
  .f24-card .f24-card-price b {
    font-size: 20px;
  }

  .f24-card .f24-card-cta {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .f24-card-item .f24-card,
  .f24-card .f24-card-cta {
    transition: none;
  }
}
/* End product card (shared) */
