/* CSP-safe fixed styles shared by public pages and runtime-rendered UI. */
.heading-track-tight { letter-spacing: -.02em; }
.heading-track-tighter { letter-spacing: -.03em; }
.home-newsletter-surface { background: linear-gradient(135deg,#FBFAF7 0%,#F7F4EE 48%,#EFE7FF 100%); }
.blog-cta-surface { background: linear-gradient(180deg,#fff,#fbf8ff); }
.about-compact-image { max-height: 200px; }
.icon-size-2rem { font-size: 2rem; }
.quiz-progress-fill {
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg,#7C3AED,#A855F7);
}
.quiz-next-width { max-width: 600px; }
.csp-hidden { display: none !important; }
.blog-cover-placeholder { background-color: #EDE9FE; }
.result-filter-theme { --filter-active: #7C3AED; }

.quick-icon-image {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 12px;
}
.csp-clipboard-source {
  position: fixed;
  left: -9999px;
  top: 0;
}

/* Runtime toast notifications. */
@keyframes toastIn {
  from { opacity: 0; transform: translateX(40px) scale(.9); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}
#toast-container {
  position: fixed;
  bottom: 80px;
  right: 16px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.hediyo-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  pointer-events: auto;
  max-width: 300px;
  animation: toastIn .25s cubic-bezier(.34,1.56,.64,1);
  transition: opacity .2s ease, transform .2s ease;
}
.hediyo-toast i { font-size: 18px; flex-shrink: 0; }
.hediyo-toast-success { background: #059669; }
.hediyo-toast-error { background: #DC2626; }
.hediyo-toast-warning { background: #D97706; }
.hediyo-toast-default { background: #1F2937; }
.hediyo-toast-exit { opacity: 0; transform: translateX(100%); }

/* Legacy cookie-consent.js and common-layout.js share this class contract. */
@keyframes cookieSlideUp {
  from { opacity: 0; transform: translateX(-50%) translateY(1rem); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
#cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: calc(100% - 2rem);
  max-width: 560px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  border-radius: 1rem;
  background: #1F2937;
  color: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
  font-family: Inter, sans-serif;
  font-size: .875rem;
  animation: cookieSlideUp .3s ease;
  transition: opacity .25s ease, transform .25s ease;
}
#cookie-banner.cookie-banner-hiding { opacity: 0; transform: translateX(-50%) translateY(1rem); }
.cookie-banner-message { flex: 1; min-width: 180px; line-height: 1.5; color: #D1D5DB; }
.cookie-banner-message a { margin-left: 4px; color: #A78BFA; text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: .5rem; flex-shrink: 0; }
.cookie-banner-btn {
  padding: .5rem 1rem;
  border-radius: .625rem;
  font-family: inherit;
  font-size: .8125rem;
  font-weight: 600;
  cursor: pointer;
}
.cookie-banner-btn-decline { border: 1px solid #374151; background: transparent; color: #9CA3AF; }
.cookie-banner-btn-accept { padding-inline: 1.25rem; border: 0; background: #7C3AED; color: #fff; font-weight: 700; }

/* Brand colors remain fixed code-owned classes; API data cannot inject CSS. */
.platform-theme-trendyol { --platform-bg: #F27A1A; --platform-accent: #fff; }
.platform-theme-hepsiburada { --platform-bg: #FF6000; --platform-accent: #fff; }
.platform-theme-amazon-tr,
.platform-theme-amazon-us { --platform-bg: #232F3E; --platform-accent: #FF9900; }
.platform-theme-etsy { --platform-bg: #F1641E; --platform-accent: #fff; }
.platform-theme-n11 { --platform-bg: #5D3EBC; --platform-accent: #fff; }
.platform-theme-default { --platform-bg: #6B7280; --platform-accent: #fff; }

.result-load-failure { padding: 2rem; text-align: center; }
.result-load-failure-icon { display: block; margin-bottom: 1rem; color: #9CA3AF; font-size: 3rem; }
.result-load-failure-message { color: #6B7280; }
.result-load-failure-link {
  display: inline-block;
  margin-top: 1rem;
  padding: .75rem 1.5rem;
  border-radius: .75rem;
  background: #7C3AED;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.stagger-60-0 { animation-delay: 0ms; }
.stagger-60-1 { animation-delay: 60ms; }
.stagger-60-2 { animation-delay: 120ms; }
.stagger-60-3 { animation-delay: 180ms; }
.stagger-60-4 { animation-delay: 240ms; }
.stagger-60-5 { animation-delay: 300ms; }
.stagger-60-6 { animation-delay: 360ms; }
.stagger-60-7 { animation-delay: 420ms; }
.stagger-60-8 { animation-delay: 480ms; }
.stagger-45-0 { animation-delay: 0ms; }
.stagger-45-1 { animation-delay: 45ms; }
.stagger-45-2 { animation-delay: 90ms; }
.stagger-45-3 { animation-delay: 135ms; }
.stagger-45-4 { animation-delay: 180ms; }
.stagger-45-5 { animation-delay: 225ms; }
.stagger-45-6 { animation-delay: 270ms; }
.stagger-45-7 { animation-delay: 315ms; }
.stagger-45-8 { animation-delay: 360ms; }
