/* All core rules stay inside the provider. Font follows the active theme setting. */
.ce-cozy-card {
  --ce-card-text: #1e1e1c;
  --ce-card-surface: #e7e8e5;
  --ce-card-sale: #a12020;
  --ce-card-muted: #676763;
  color: var(--ce-card-text);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.4;
  min-width: 0;
  text-align: left;
}
.ce-cozy-card__media {
  aspect-ratio: 7 / 9;
  background: var(--ce-card-surface);
  isolation: isolate;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.ce-cozy-card__media-link { display: block; height: 100%; width: 100%; }
.ce-cozy-card__media .ce-cozy-card__image {
  display: block;
  height: 100%;
  inset: 0;
  max-width: none;
  object-fit: cover;
  object-position: center;
  position: absolute;
  transition: opacity .3s ease;
  width: 100%;
}
.ce-cozy-card__image--alternate { opacity: 0; }
.ce-cozy-card__body { padding: 14px 0 0; }
.ce-cozy-card .ce-cozy-card__title {
  color: var(--ce-card-text);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.35;
  margin: 0 0 5px;
  text-transform: none;
}
.ce-cozy-card__title a, .ce-cozy-card__title a:visited { color: inherit; text-decoration: none; }
.ce-cozy-card__title a:hover { text-decoration: underline; }
.ce-cozy-card__price, .ce-cozy-card__price .amount {
  color: var(--ce-card-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
}
.ce-cozy-card__price del, .ce-cozy-card__price del .amount { color: var(--ce-card-muted); font-size: 14px; font-weight: 400; opacity: 1; }
.ce-cozy-card__price ins, .ce-cozy-card__price ins .amount { color: var(--ce-card-sale); font-size: 16px; text-decoration: none; }
.ce-cozy-card__stock { color: var(--ce-card-muted); font-size: 14px; margin-top: 5px; }
.ce-cozy-card__swatches { font-size: 14px; margin: 0 0 10px; }
.ce-cozy-card__swatches .ux-swatch { min-height: 24px; min-width: 24px; }
.ce-cozy-card__badge {
  background: #fff;
  border-radius: 2px;
  bottom: 10px;
  color: #1e1e1c;
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  left: 10px;
  line-height: 1.2;
  max-width: calc(100% - 20px);
  padding: 5px 8px;
  position: absolute;
  z-index: 2;
}
.ce-cozy-card a.ce-cozy-card__quick,
.ce-cozy-card a.ce-cozy-card__quick:visited {
  align-items: center;
  background: transparent;
  border: 0;
  bottom: 10px;
  color: #fff;
  display: inline-flex;
  flex-direction: column;
  font-size: 14px;
  font-weight: 500;
  gap: 3px;
  height: auto;
  justify-content: center;
  line-height: 1.2;
  opacity: 1;
  padding: 0;
  position: absolute;
  right: 10px;
  text-decoration: none;
  text-transform: none;
  transform: none;
  visibility: visible;
  width: auto;
  z-index: 3;
}
.ce-cozy-card__quick-icon { align-items: center; background: #fff; border: 1px solid #20201f; border-radius: 50%; color: #20201f; display: flex; height: 34px; justify-content: center; width: 34px; }
.ce-cozy-card__quick-label { background: #20201f; border-radius: 2px; color: #fff; padding: 4px 6px; }
.ce-cozy-card a.ce-cozy-card__quick:hover { background: transparent; color: #fff; }
.ce-cozy-card a.ce-cozy-card__quick:hover .ce-cozy-card__quick-label { background: #000; }
.ce-cozy-card a:focus-visible { outline: 3px solid #111; outline-offset: 3px; }
/* Leave other native labels untouched and hide only the duplicate sale badge. */
.product-small .col-inner:has(> .ce-cozy-card--managed-sale) > .badge-container .callout:has(.onsale) { display: none; }
@media (hover: hover) and (min-width: 1024px) {
  .ce-cozy-card--has-alternate:hover .ce-cozy-card__image--alternate,
  .ce-cozy-card--has-alternate:focus-within .ce-cozy-card__image--alternate { opacity: 1; }
  .ce-cozy-card a.ce-cozy-card__quick { opacity: 0; transition: opacity .2s ease; }
  .ce-cozy-card:hover a.ce-cozy-card__quick,
  .ce-cozy-card:focus-within a.ce-cozy-card__quick { opacity: 1; }
}
@media (max-width: 767px) {
  .ce-cozy-card__body { padding-top: 12px; }
  .ce-cozy-card__swatches .ux-swatch { min-height: 20px; min-width: 20px; }
  .ce-cozy-card__badge { bottom: 8px; left: 8px; }
  .ce-cozy-card a.ce-cozy-card__quick { bottom: auto; right: 8px; top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .ce-cozy-card__image, .ce-cozy-card a.ce-cozy-card__quick { transition: none; }
}
