.product-card-rich {
  overflow: hidden;
}

.product-card-rich .product-visual {
  margin: -2px -2px 12px;
}

.product-card-rich > .card-row > .icon {
  display: none;
}

.product-visual {
  min-height: 116px;
  border-radius: 20px;
  border: 1px solid rgba(215, 180, 106, .18);
  background: radial-gradient(circle at 20% 15%, rgba(240, 217, 155, .26), transparent 32%), linear-gradient(145deg, rgba(215, 180, 106, .16), rgba(255, 255, 255, .04));
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-visual-fallback::after {
  content: "";
  position: absolute;
  inset: auto -22px -28px auto;
  width: 94px;
  height: 94px;
  border-radius: 999px;
  background: rgba(215, 180, 106, .12);
}

.product-visual-icon {
  font-size: 46px;
  line-height: 1;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .35));
}

.product-visual-brand {
  position: absolute;
  left: 12px;
  bottom: 10px;
  color: var(--accent-2);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .12em;
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.product-badges span {
  color: var(--accent-2);
  border: 1px solid rgba(215, 180, 106, .24);
  background: rgba(215, 180, 106, .09);
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 900;
}

.product-detail-button {
  min-height: 40px;
  margin-top: 12px;
}

.product-detail-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(6, 9, 14, .76);
  backdrop-filter: blur(10px);
  padding: 18px 12px;
  overflow: auto;
}

.product-detail-modal {
  width: min(680px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)), var(--card);
  box-shadow: 0 22px 90px rgba(0, 0, 0, .42);
  padding: 14px;
  position: relative;
}

.product-detail-close {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(16, 23, 34, .74);
  color: var(--text);
  border: 1px solid var(--line);
  font-size: 24px;
  line-height: 1;
}

.product-detail-visual {
  min-height: 176px;
  margin-bottom: 14px;
}

.product-detail-modal h2 {
  margin-top: 14px;
  line-height: 1.05;
}

.product-ticket {
  color: var(--accent-2);
  font-weight: 850;
  margin-top: 8px;
  line-height: 1.35;
}

.product-flavor {
  color: var(--text);
  margin-top: 10px;
  line-height: 1.35;
  font-weight: 750;
}

.product-story {
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.45;
}

.product-detail-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.product-detail-meta div {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .035);
  padding: 10px;
}

.product-detail-meta span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.product-detail-meta strong {
  display: block;
  margin-top: 4px;
  color: var(--accent-2);
  font-size: 16px;
}

.product-detail-controls {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.product-detail-control-title,
.product-detail-in-cart {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.product-detail-in-cart {
  text-align: right;
  margin-top: 8px;
}
