.ckc-product-card {
  --ckc-card-surface: #f7f4ec;
  --ckc-card-ink: #282828;
  --ckc-card-action: #282828;
  --ckc-card-action-ink: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--ckc-card-ink);
  border-radius: 12px;
  background: var(--ckc-card-surface);
  color: var(--ckc-card-ink);
  font-family: "CKC Aktiv", Arial, sans-serif;
}
.ckc-product-card--category { min-height: 544px; padding: 15px; }
.ckc-product-card--catalog, .ckc-product-card--bundle { border-radius: 6px; }
.ckc-product-card--catalog { min-height: 100%; }
.ckc-product-card--bundle { min-height: 714px; }
.ckc-product-card__media { position: relative; min-width: 0; }
.ckc-product-card__image-link { display: block; overflow: hidden; }
.ckc-product-card__image-link img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  object-fit: contain;
}
.ckc-product-card--category .ckc-product-card__image-link {
  margin-top: 20px;
  height: 230px;
}
.ckc-product-card--category .ckc-product-card__image-link img { height: 100%; }
.ckc-product-card--bundle .ckc-product-card__image-link,
.ckc-product-card--catalog .ckc-product-card__image-link { aspect-ratio: 4 / 5; }
.ckc-product-card--bundle .ckc-product-card__image-link img,
.ckc-product-card--catalog .ckc-product-card__image-link img { height: 100%; }
.ckc-product-card--bundle .ckc-product-card__image-link img { object-fit: cover; }
.ckc-product-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: flex-start;
  justify-content: space-between;
  position: absolute;
  inset: 10px 10px auto;
  pointer-events: none;
}
.ckc-product-card--category .ckc-product-card__badges { top: 0; right: 0; left: 0; }
.ckc-product-card__discount,
.ckc-product-card__best,
.ckc-product-card__sold {
  min-width: 0;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.14;
  white-space: normal;
  text-transform: uppercase;
}
.ckc-product-card__discount {
  display: inline-flex;
  border-radius: 30px;
  background: #e60023;
  color: #fff;
}
.ckc-product-card__best { margin-inline-start: auto; border: 1px solid; border-radius: 12px; background: #fcc89b; }
.ckc-product-card__sold {
  position: absolute;
  inset: auto 8px 8px;
  background: var(--ckc-card-ink);
  color: var(--ckc-card-surface);
  text-align: center;
  pointer-events: none;
}
.ckc-product-card__info {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  padding: 12px 15px;
  text-align: center;
}
.ckc-product-card--category .ckc-product-card__info { padding: 24px 0 0; }
.ckc-product-card--bundle .ckc-product-card__info { padding-inline: 12%; }
.ckc-product-card__title {
  margin: 0 0 6px;
  color: inherit;
  font: 700 18px/1.23 "CKC Libre", Arial, sans-serif;
  overflow-wrap: anywhere;
}
.ckc-product-card--category .ckc-product-card__title { margin-bottom: 10px; font-size: 24px; line-height: 1; }
.ckc-product-card__title a { color: inherit; text-decoration: none; }
.ckc-product-card__title a:hover { text-decoration: underline; }
.ckc-product-card__description { margin: 0 0 6px; font-size: 15px; line-height: 1.35; }
.ckc-product-card__rating { display: flex; gap: 5px; align-items: center; justify-content: center; margin: 1px 0 5px; font-size: 12px; }
.ckc-product-card__rating .star-rating { margin: 0; font-size: 14px; }
.ckc-product-card__rating .star-rating > span::before { color: currentColor; }
.ckc-product-card__swatches {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 5px 0 7px;
}
.ckc-product-card__shade {
  display: grid;
  place-items: center;
  width: 23px;
  min-width: 23px;
  height: 23px;
  min-height: 23px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #28282844;
  border-radius: 50%;
  background: var(--ckc-swatch-color, #e2d6cc);
}
.ckc-product-card__shade img { width: 100%; height: 100%; object-fit: cover; }
.ckc-product-card__shade[aria-pressed="true"] { outline: 1px solid #282828; outline-offset: 2px; }
.ckc-product-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  justify-content: center;
  margin-top: auto;
  padding-top: 12px;
}
.ckc-product-card__price { display: block; color: var(--ckc-card-ink); font-size: 14px; line-height: 1.2; }
.ckc-product-card__price--sale :is(ins, ins .amount) { color: #bf0020; text-decoration: none; }
.ckc-product-card__price--sale:not(:has(ins)) .amount { color: #bf0020; }
.ckc-product-card__price :is(del, del .amount) { color: #555; opacity: 1; }
.ckc-product-card .ckc-product-card__buy.button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 39px;
  margin: 0;
  padding: 7px 10px;
  border: 1px solid var(--ckc-card-action);
  border-radius: 5px;
  background: var(--ckc-card-action);
  color: var(--ckc-card-action-ink);
  box-shadow: none;
  font-family: "CKC Aktiv", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  transition: color .15s ease, background-color .15s ease, border-color .15s ease;
}
.ckc-product-card .ckc-product-card__buy.button:is(:hover, :focus-visible) {
  background: transparent;
  color: var(--ckc-card-ink);
}
.ckc-product-card__quick {
  display: block;
  margin: 3px 0 0;
  padding: 3px 2px;
  color: var(--ckc-card-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: underline;
}
.ckc-product-card :focus-visible { outline: 2px solid var(--ckc-card-ink); outline-offset: -2px; }

/* The Flatsome slot renders its native sale hook before the provider.
   Retain separate non-sale labels, while displaying the provider sale pill once. */
.product-small > .col-inner:has(> .ckc-product-card) > .badge-container > .badge:has(.on-sale) { display: none !important; }
.col-inner:has(> .ckc-product-card) > .badge-container {
  top: 35px !important;
  margin: 0 10px !important;
  pointer-events: none;
}
body .badge-container .badge-inner.on-sale,
body.woocommerce .product-small .box-image > .onsale,
body .product-quick-view-container .onsale {
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 5px 9px !important;
  border: 0 !important;
  border-radius: 30px !important;
  background: #e60023 !important;
  color: #fff !important;
  font: 700 11px/1.14 "CKC Aktiv", Arial, sans-serif;
}
body .badge-container .badge-inner.on-sale .onsale { background: transparent !important; color: inherit !important; }
.woocommerce :is(.product-small, .product-summary, .product-info, .sf-pdp__summary, .product-quick-view-container) .price ins,
.woocommerce :is(.product-small, .product-summary, .product-info, .sf-pdp__summary, .product-quick-view-container) .price ins .amount { color: #bf0020; }

@media (max-width: 767px) {
  .ckc-product-card--category { min-height: 476px; }
  .ckc-product-card--bundle { min-height: 576px; }
  .ckc-product-card--category .ckc-product-card__image-link { height: 180px; }
  .ckc-product-card--category .ckc-product-card__info { padding-top: 10px; }
  .ckc-product-card--category .ckc-product-card__title { font-size: 20px; font-weight: 900; line-height: 1.2; }
  .ckc-product-card--catalog .ckc-product-card__info { padding: 10px 7px 8px; }
  .ckc-product-card--catalog .ckc-product-card__title { font-size: 15px; }
  .ckc-product-card__description { font-size: 14px; }
  .ckc-product-card .ckc-product-card__buy.button { min-height: 37px; padding-inline: 5px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .ckc-product-card .ckc-product-card__buy.button { transition: none; }
}
