/* CXP Portal — kampanya & mağazam (Vavsan paleti) */
.cxp-portal {
  --cxp-accent: #c31313;
  --cxp-accent-2: #206bc4;
  --cxp-radius: 16px;
  --cxp-text: #0f172a;
  --cxp-muted: #64748b;
}

.page-body .cxp-portal { max-width: 100%; }

.cxp-hero {
  background: linear-gradient(135deg, rgba(195, 19, 19, 0.06) 0%, rgba(32, 107, 196, 0.05) 100%);
  border: 1px solid rgba(195, 19, 19, 0.1);
  border-radius: var(--cxp-radius);
  padding: 1.25rem 1.5rem;
}
.cxp-hero__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.cxp-hero__eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cxp-accent);
}
.cxp-hero__title {
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 800;
  color: var(--cxp-text);
  line-height: 1.25;
}
.cxp-hero__sub { color: var(--cxp-muted); max-width: 36rem; margin: 0; }

.cxp-section-title { font-size: 1.05rem; font-weight: 800; color: var(--cxp-text); }

.cxp-card {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: var(--cxp-radius);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  padding: 1.15rem 1.25rem;
  transition: transform .15s ease, box-shadow .15s ease;
}
.cxp-card--link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
  color: inherit;
}
.cxp-card--teaser { border-left: 4px solid var(--cxp-accent); }
.cxp-card--hero { padding: 1.5rem; border: 0; }
.cxp-card--product { text-align: center; }
.cxp-card__badge {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: rgba(195, 19, 19, 0.1);
  color: var(--cxp-accent);
  margin-bottom: .65rem;
}
.cxp-card__icon { font-size: 1.75rem; color: var(--cxp-accent); margin-bottom: .5rem; }
.cxp-card__title { font-size: 1rem; font-weight: 700; color: var(--cxp-text); margin-bottom: .35rem; }
.cxp-card__text { color: var(--cxp-muted); font-size: .9rem; line-height: 1.5; margin-bottom: 0; }
.cxp-card__hint { color: #94a3b8; }

.cxp-btn {
  border-radius: 999px;
  font-weight: 700;
  padding: .5rem 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border: 1px solid transparent;
  text-decoration: none;
  line-height: 1.2;
}
.cxp-btn--primary {
  background: linear-gradient(135deg, var(--cxp-accent), #e11d48);
  border-color: var(--cxp-accent);
  color: #fff !important;
}
.cxp-btn--primary:hover { filter: brightness(.96); color: #fff !important; }
.cxp-btn--ghost {
  background: #fff;
  border-color: #e2e8f0;
  color: #334155 !important;
}
.cxp-btn--ghost:hover { background: #f8fafc; color: #0f172a !important; }

.cxp-teaser-grid .cxp-card { height: 100%; display: flex; flex-direction: column; }
.cxp-teaser-grid .cxp-btn { margin-top: auto; align-self: flex-start; }

.cxp-skeleton {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: cxp-shimmer 1.2s infinite;
  border-radius: 8px;
}
.cxp-skeleton--line { height: 14px; margin-bottom: 8px; }
.cxp-skeleton--line.short { width: 60%; }
.cxp-skeleton--card { height: 120px; }
@keyframes cxp-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.cxp-alert-teaser { background: #fff7ed; color: #9a3412; border-radius: 12px; }
.cxp-empty-state { background: #f8fafc; border-radius: 12px; }

@media (max-width: 575.98px) {
  .cxp-hero { padding: 1rem; }
  .cxp-card { padding: 1rem; }
  .cxp-hero__actions { width: 100%; }
  .cxp-hero__actions .cxp-btn { flex: 1; justify-content: center; }
}
