.store-hero {
  padding: 32px 0;
}
.store-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 28px rgba(0,0,0,.04);
}
.metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.metric + .metric {
  border-top: 1px solid #f1f3f5;
  padding-top: 12px;
  margin-top: 12px;
}
.metric strong {
  font-size: 1.6rem;
  color: #0d6efd;
}
.store-public-head {
  padding: 30px 0 20px;
}
.coupon-code {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  border: 2px dashed #0d6efd;
  border-radius: 18px;
  padding: 24px;
  color: #0d6efd;
  background: #f8fbff;
}
.cpn-recommendation {
  background: linear-gradient(135deg, #f8fbff, #ffffff);
  border-color: #dbeafe;
}
.recipe-card {
  border: 1px solid #edf2f7;
  border-radius: 16px;
  padding: 16px;
  background: #fbfcff;
}
.recipe-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef5ff;
  margin-bottom: 10px;
  font-size: 1.3rem;
}
.qr-box img {
  max-width: 220px;
  width: 100%;
  border: 1px solid #edf2f7;
  border-radius: 16px;
  padding: 8px;
  background: #fff;
}
.store-thumb {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid #edf2f7;
}
.public-store-cover {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
}
.public-campaign-card {
  transition: transform .15s ease, box-shadow .15s ease;
}
.public-campaign-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0,0,0,.08);
}
.stamp-progress {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 18px 28px;
  border-radius: 999px;
  background: #f8fbff;
  border: 2px dashed #0d6efd;
  color: #0d6efd;
  font-size: 1.8rem;
}

/* CPN store step4 UX */
.store-card, .recipe-card, .public-campaign-card {
  min-width: 0;
}
.text-break, .share-box, .qr-box .small, code {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.public-form-card {
  max-width: 720px;
}
.customer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #f1f3f5;
  padding: 10px 0;
}
.customer-row:last-child {
  border-bottom: 0;
}
.share-box {
  border: 1px solid #edf2f7;
  background: #f8f9fa;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: .9rem;
}
.public-store-cover,
.store-thumb {
  display: block;
  max-width: 100%;
}
@media (max-width: 576px) {
  .store-card {
    padding: 16px;
    border-radius: 14px;
  }
  .coupon-code {
    font-size: 1.7rem;
    letter-spacing: .08em;
    padding: 18px 12px;
  }
  .customer-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* CPN store step5 */
.store-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px;
  border: 1px solid #e9ecef;
  border-radius: 18px;
  background: #f8f9fa;
}
.store-tab {
  border: 0;
  background: transparent;
  padding: 10px 16px;
  border-radius: 14px;
  font-weight: 700;
  color: #495057;
  white-space: nowrap;
}
.store-tab.active {
  background: #111827;
  color: #fff;
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}
.store-tab-panel { display: none; }
.store-tab-panel.active { display: block; }
@media (max-width: 576px) {
  .store-tabs { border-radius: 14px; }
  .store-tab { padding: 9px 12px; font-size: .92rem; }
}


/* CPN store landing polish */
.store-landing-hero {
  background: radial-gradient(circle at top left, rgba(13,110,253,.10), transparent 34%), linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-radius: 28px;
  padding-left: 22px;
  padding-right: 22px;
}
.store-demo-card {
  border: 1px solid #dbeafe;
  box-shadow: 0 22px 60px rgba(13,110,253,.12);
}
.store-home-cta {
  background: linear-gradient(135deg, #eef5ff 0%, #ffffff 55%, #f7fff9 100%);
  border-radius: 22px;
}
.store-card h5, .recipe-card h6 {
  word-break: keep-all;
}
@media (max-width: 576px) {
  .store-landing-hero {
    border-radius: 18px;
    padding-left: 14px;
    padding-right: 14px;
  }
}


/* CPN store official-info patch */
.prefill-card { border: 1px dashed #93c5fd; background: #f8fbff; }
.store-pre { white-space: pre-wrap; word-break: keep-all; overflow-wrap: anywhere; margin: 0; font-family: inherit; font-size: .95rem; color: #334155; }
.store-public-head .btn { white-space: nowrap; }
.store-tab-panel textarea { font-size: .94rem; }
