

/* ── Card wrapper */
.hp-sbc-card,
.hp-altmod-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  transition: transform .3s ease;
  border: 1px solid #ddd;
}
.hp-sbc-card:hover,
.hp-altmod-card:hover { transform: translateY(-2px); }

/* ── Image wrapper */
.hp-sbc-card-img-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cream-deep, #ede9e0);
  flex-shrink: 0;
}

/* ── Image link fills the entire wrap  */
.hp-sbc-card-img-link {
  display: block;
  position: absolute;
  inset: 0;
  text-decoration: none;
}

/* ── Both images stacked  */
.hp-sbc-img-primary,
.hp-sbc-img-secondary {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
}

.hp-sbc-img-primary {
  opacity: 1;
  z-index: 1;
  transition: opacity .42s ease;
}

.hp-sbc-img-secondary {
  opacity: 0;
  z-index: 2;
  transition: opacity .42s ease;
}

/* ── Desktop hover */
@media (hover: hover) {
  .has-hover-img:hover .hp-sbc-img-primary   { opacity: 0; }
  .has-hover-img:hover .hp-sbc-img-secondary { opacity: 1; }
}

/* ── Touch/mobile — JS adds .is-touched  */
.has-hover-img.is-touched .hp-sbc-img-primary   { opacity: 0; }
.has-hover-img.is-touched .hp-sbc-img-secondary { opacity: 1; }

/* ── Badges  */
.hp-sbc-badge {
  position: absolute;
  top: 10px; left: 0px;
  z-index: 5;
  background: #000;
  color: #fff;
  font-family: var(--font-sans, 'Jost', sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 5px 11px;
}
.hp-new-badge {
  position: absolute;
  top: 0; left: 0;
  z-index: 5;
  background: #b8873f;
  color: #fff;
  font-family: var(--font-sans, 'Jost', sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 0 0 6px 0;
}

/* ── Wishlist heart — top-right of image  */
.hp-sbc-wish,
.hp-altmod-wish {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 6;
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--ink-soft, #7a6f63);
  cursor: pointer;
  transition: color .2s, background .2s;
}
/* .hp-sbc-wish:hover,
.hp-sbc-wish.is-wished,
.hp-altmod-wish:hover,
.hp-altmod-wish.is-wished { color: #c0392b; background: #fff; }
.hp-sbc-wish.is-wished i,
.hp-altmod-wish.is-wished i { font-weight: 900; } */

/* ── Card footer  */
.hp-sbc-card-foot,
.hp-altmod-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 12px 14px;
}
.hp-sbc-card-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

/* ── Name  */
.hp-sbc-card-name,
.hp-altmod-card-name {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: 14px;
  font-weight: 400;
  color: var(--ink, #1e1812);
  text-decoration: none;
  line-height: 1.35;
  display: block;
  white-space: normal;
}
.hp-sbc-card-name:hover,
.hp-altmod-card-name:hover { color: var(--ink, #1e1812); }

/* ── Price */
.hp-sbc-card-price,
.hp-altmod-card-price {
  font-family: var(--font-sans, 'Jost', sans-serif);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink, #1e1812);
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap;
}
.hp-sbc-card-mrp,
.hp-altmod-card-mrp {
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-soft, #7a6f63);
  text-decoration: line-through;
}
