/* Virtual Shop Discovery — scoped promo blocks */
.cvs-promo {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0.75rem 0;
  padding: 1rem 1.1rem 1.15rem;
  border-radius: 16px;
  border: 1px solid rgba(253, 119, 40, 0.22);
  background: linear-gradient(145deg, #fffaf6 0%, #fff 55%);
  box-shadow: 0 6px 24px rgba(30, 28, 26, 0.06);
}

.cvs-promo.is-hidden,
.cvs-promo[hidden] {
  display: none !important;
}

.cvs-promo__dismiss {
  position: absolute;
  top: 0.45rem;
  right: 0.55rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  color: #5c5a57;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.cvs-promo__kicker {
  display: inline-block;
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #c45a18;
}

.cvs-promo__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  color: #1e1c1a;
}

.cvs-promo__lead {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #4a4744;
}

.cvs-promo__products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.cvs-promo--feed .cvs-promo__products,
.cvs-promo--profile .cvs-promo__products,
.cvs-promo--gift .cvs-promo__products {
  grid-template-columns: minmax(0, 1fr);
}

.cvs-promo--feed .cvs-promo__products {
  grid-template-columns: minmax(0, 1fr);
  max-width: 280px;
}

.cvs-promo__product {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.55rem 0.6rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.cvs-promo__product-preview {
  min-height: 2.5rem;
}

.cvs-promo__product-preview .arena-shop__preview {
  transform: scale(0.85);
  transform-origin: top left;
}

.cvs-promo__product-title {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
}

.cvs-promo__product-meta {
  font-size: 0.75rem;
  color: #6b6864;
}

.cvs-promo__collections {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.cvs-promo__collection {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  background: rgba(253, 119, 40, 0.1);
  color: #9a4510;
  text-decoration: none;
}

.cvs-promo__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cvs-promo__cta {
  font-size: 0.85rem;
}

.cvs-promo--feed {
  border-style: dashed;
}

.cvs-promo--profile,
.cvs-promo--gift {
  margin-top: 0.65rem;
  padding: 0.85rem 1rem;
}

@media (max-width: 768px) {
  .cvs-promo__products {
    grid-template-columns: 1fr;
  }

  .cvs-promo--home .cvs-promo__products {
    grid-template-columns: 1fr;
  }
}

@media (prefers-color-scheme: dark) {
  html[data-theme="dark"] .cvs-promo,
  body.theme-dark .cvs-promo {
    background: linear-gradient(145deg, #2a2522 0%, #1f1c1a 55%);
    border-color: rgba(253, 119, 40, 0.35);
    color: #f2eeea;
  }

  html[data-theme="dark"] .cvs-promo__title,
  body.theme-dark .cvs-promo__title {
    color: #f5f0eb;
  }

  html[data-theme="dark"] .cvs-promo__lead,
  body.theme-dark .cvs-promo__lead {
    color: #c9c4be;
  }

  html[data-theme="dark"] .cvs-promo__product,
  body.theme-dark .cvs-promo__product {
    background: #2e2926;
    border-color: rgba(255, 255, 255, 0.08);
  }
}