/* All source-inspired styling is scoped to the single registered card. */
.np-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 10px;
  border: 1px solid var(--np-card-border, #ebeae6);
  border-radius: var(--np-card-radius, 8px);
  background: var(--np-card-bg, #fafaf9);
  color: var(--np-card-ink, #5d5e5d);
  overflow: hidden;
  text-align: left;
}
.np-card *, .np-card *::before, .np-card *::after { box-sizing: border-box; }
.np-card__media {
  box-sizing: border-box;
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--np-card-border, #ebeae6);
  border-radius: 10px;
  background: var(--np-card-bg, #fafaf9);
}
.np-card__image-link { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.np-card__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0;
  object-fit: cover;
  object-position: center;
  transition: opacity .25s ease;
}
.np-card__image--primary { opacity: 1; }
.np-card__image--secondary { opacity: 0; pointer-events: none; }
@media (hover: hover) {
  .np-card:not(.np-card--variant-selected):hover .np-card__image--secondary { opacity: 1; }
}
.np-card__badge, .np-card__stock {
  position: absolute;
  z-index: 2;
  top: 15px;
  left: 15px;
  max-width: calc(100% - 30px);
  min-height: 34px;
  padding: 8px 15px;
  border: 0;
  border-radius: 40px;
  background: var(--np-card-badge-bg, #737679);
  color: var(--np-card-badge-fg, #fff);
  font-family: Poppins, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: .04em;
  text-transform: uppercase;
  pointer-events: none;
}
.np-card__stock { top: auto; bottom: 15px; font-size: 14px; }
.np-card__quick {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 12px;
  left: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}
.np-card:hover .np-card__quick, .np-card:focus-within .np-card__quick { opacity: 1; pointer-events: auto; }
.np-card .np-card__quick a.quick-view {
  display: block;
  width: 100%;
  min-height: 40px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid #313631;
  border-radius: 2px;
  background: #313631;
  color: #fff;
  font-family: Poppins, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
  text-decoration: none;
  text-shadow: none;
  transform: none;
}
.np-card .np-card__quick a.quick-view:hover, .np-card .np-card__quick a.quick-view:focus-visible { background: #1e251f; color: #fff; }
.np-card a:focus-visible, .np-card button:focus-visible { outline: 3px solid #635f51; outline-offset: 3px; }
.np-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  padding: 24px 20px 10px;
  color: var(--np-card-ink, #5d5e5d);
}
.np-card__title, .np-card__title a {
  margin: 0;
  color: inherit;
  font-family: Larken, Georgia, 'Times New Roman', serif;
  font-size: var(--np-card-title-size, 23px);
  font-weight: 300;
  line-height: 1.3;
  overflow-wrap: anywhere;
  text-decoration: none;
}
.np-card__title a:hover { color: inherit; text-decoration: underline; }
.np-card__price {
  margin: 0 0 12px;
  color: inherit;
  font-family: Larken, Georgia, 'Times New Roman', serif;
  font-size: var(--np-card-price-size, 20px);
  font-weight: 300;
  line-height: 1.2;
}
.np-card__price .amount, .np-card__price ins, .np-card__price bdi { color: inherit; font-size: inherit; font-weight: inherit; }
.np-card__price ins { background: transparent; text-decoration: none; }
.np-card__price del { color: #666; font-size: max(14px, .8em); opacity: 1; }
.np-card__description { margin: 0 0 16px; font: italic 16px/1.5 Larken, Georgia, 'Times New Roman', serif; }
.np-card__rating { display: flex; align-items: center; gap: 7px; min-height: 20px; margin: 0 0 12px; font: 14px/1.3 Poppins, Arial, sans-serif; color: var(--np-card-ink, #5d5e5d); }
.np-card__rating .star-rating { float: none; margin: 0; font-size: 16px; }
.np-card__rating-count { font-size: 14px; }
.np-card__swatches { display: none; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.np-card--ready .np-card__swatches { display: flex; }
.np-card .np-card__swatch {
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  margin: 0;
  padding: 0;
  border: 1px solid #d3d3d0;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
}
.np-card__swatch img { display: block; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; }
.np-card .np-card__swatch[aria-pressed="true"] { outline: 2px solid #5d5e5d; outline-offset: 2px; }
.np-card__more { color: inherit; font: 14px/1.4 Poppins, Arial, sans-serif; text-decoration: underline; text-underline-offset: 3px; }
.np-card__action { margin-top: auto; padding-top: 8px; }
.np-card .np-card__action .button, .np-card .np-card__action a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 47px;
  margin: 0;
  padding: 10px 16px;
  border: 1px solid var(--np-card-ink, #5d5e5d);
  border-radius: 0;
  background: var(--np-card-bg, #fafaf9);
  color: var(--np-card-ink, #5d5e5d);
  font: 400 20px/1.2 Larken, Georgia, 'Times New Roman', serif;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  box-shadow: none;
}
.np-card .np-card__action .button:hover, .np-card .np-card__action a:hover { background: #414741; color: #fff; }
/* Flatsome emits the native sale bubble in an outer hook before the provider.
   Suppress only the duplicated sale element; unrelated native labels remain. */
.product-small > .col-inner:has(> .np-card) > .badge-container .callout.badge:has(.on-sale),
.product-small > .col-inner:has(> .np-card) > .badge-container .callout.badge:has(.onsale),
.product-small > .col-inner.np-card-provider-active > .badge-container .np-card-native-sale-hidden { display: none !important; }
.product-small > .col-inner:has(> .np-card) > .badge-container { position: absolute; z-index: 3; top: 22px; left: 22px; }
.product-small > .col-inner:has(> .np-card .np-card__badge--discount) > .badge-container { top: 60px; }
.product-small > .col-inner:has(> .np-card) > .badge-container .badge-inner:not(.on-sale) {
  width: auto; height: auto; min-height: 30px; padding: 6px 12px;
  border-radius: 40px; background: var(--np-card-badge-bg, #737679); color: var(--np-card-badge-fg, #fff);
  font: 500 14px/18px Poppins, Arial, sans-serif;
}
@media (hover: none) { .np-card__quick { opacity: 1; pointer-events: auto; } }
@media (max-width: 550px) { .np-card__body { padding: 20px 14px 8px; } }
@media (prefers-reduced-motion: reduce) { .np-card__image, .np-card__quick { transition: none; } }
