.cc_7mrfchfr_ttnjiQDGec .ispost {
  display: flex;
  flex-direction: column;
  height: 100%;
  font-family: inherit;
}

/* ---------- media ---------- */

.cc_7mrfchfr_ttnjiQDGec .ispost-media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #e9e5e0;
}

.cc_7mrfchfr_ttnjiQDGec .ispost-media-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
}

.cc_7mrfchfr_ttnjiQDGec .ispost-video {
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.cc_7mrfchfr_ttnjiQDGec .ispost-video.is-on {
  opacity: 1;
}

.cc_7mrfchfr_ttnjiQDGec .ispost-poster {
  z-index: 0;
}

.cc_7mrfchfr_ttnjiQDGec .ispost-media-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ece8e3 0%, #ddd7d0 100%);
}

.cc_7mrfchfr_ttnjiQDGec .ispost-permalink {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
}

/* ---------- username overlay ---------- */

.cc_7mrfchfr_ttnjiQDGec .ispost-user {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: calc(100% - 20px);
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.cc_7mrfchfr_ttnjiQDGec .ispost-avatars {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.cc_7mrfchfr_ttnjiQDGec .ispost-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex: 0 0 auto;
}

/* Collab posts stack the two accounts the way Instagram does. */
.cc_7mrfchfr_ttnjiQDGec .ispost-avatars.is-pair .ispost-avatar {
  border: 1.5px solid #ffffff;
}

.cc_7mrfchfr_ttnjiQDGec .ispost-avatars.is-pair .ispost-avatar + .ispost-avatar {
  margin-left: -9px;
}

.cc_7mrfchfr_ttnjiQDGec .ispost-username {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  color: #1a1a1a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cc_7mrfchfr_ttnjiQDGec .ispost-verified {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
}

/* ---------- product shots ---------- */

.cc_7mrfchfr_ttnjiQDGec .ispost-shop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 10px 14px;
}

.cc_7mrfchfr_ttnjiQDGec .ispost-shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
}

.cc_7mrfchfr_ttnjiQDGec .ispost-shots.is-single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 52%;
  margin: 0 auto;
}

.cc_7mrfchfr_ttnjiQDGec .ispost-shot {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: #f3f1ee;
  transition: transform 0.25s ease;
}

.cc_7mrfchfr_ttnjiQDGec .ispost-shot:hover {
  transform: translateY(-2px);
}

.cc_7mrfchfr_ttnjiQDGec .ispost-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.cc_7mrfchfr_ttnjiQDGec .ispost-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
  color: #4a4a4a;
  text-decoration: none;
}

.cc_7mrfchfr_ttnjiQDGec .ispost-name:hover {
  text-decoration: underline;
}

.cc_7mrfchfr_ttnjiQDGec .ispost-price {
  font-size: 12px;
  font-weight: 600;
  color: #1a1a1a;
}

@media (min-width: 768px) {
  .cc_7mrfchfr_ttnjiQDGec .ispost-name, .cc_7mrfchfr_ttnjiQDGec .ispost-price {
    font-size: 13px;
  }
}
