/* =============================================================================
   CopyPrompt — Açık, soft, üst düzey e-ticaret teması
   https://copypromt.com
   ============================================================================= */

:root {
  --bg: #f8fafc;
  --bg-card: #ffffff;
  --bg-elevated: #f1f5f9;
  --text: #0f172a;
  --text-muted: #64748b;
  --text-faint: #94a3b8;
  --border: #e2e8f0;
  --primary: #0d9488;
  --primary-dim: #0f766e;
  --primary-glow: rgba(13, 148, 136, 0.15);
  --accent: #06b6d4;
  --radius: 20px;
  --radius-sm: 12px;
  --font: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "DM Sans", var(--font);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 0 0 1px rgba(0, 0, 0, 0.03), 0 8px 32px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 0 0 1px rgba(13, 148, 136, 0.08), 0 24px 48px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 40px var(--primary-glow);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background: var(--bg);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
  transition: background 0.5s ease, color 0.5s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--accent);
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.5em;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

p:last-child {
  margin-bottom: 0;
}

.text-muted {
  color: var(--text-muted);
}

.text-faint {
  color: var(--text-faint);
}

/* ----- Arka plan: 3D Canvas ve Gradient Overlay ----- */
#bg-canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

#bg-canvas-container canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.page-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  min-height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(13, 148, 136, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 80% 80%, rgba(6, 182, 212, 0.04) 0%, transparent 40%),
    radial-gradient(ellipse 60% 50% at 20% 90%, rgba(16, 185, 129, 0.03) 0%, transparent 35%),
    linear-gradient(165deg, rgba(248, 250, 252, 0.92) 0%, rgba(241, 245, 249, 0.88) 45%, rgba(238, 242, 247, 0.85) 100%);
}

.glitch:hover {
  opacity: 0.9;
}

/* ----- Layout ----- */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: transparent;
}

.main {
  flex: 1;
  padding: 2rem 0 4rem;
  background: transparent;
}

.main .section,
.main .hero {
  background: transparent;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--narrow {
  max-width: 720px;
}

.container--md {
  max-width: 1100px;
}

.container--sm {
  max-width: 520px;
}

.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 1rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px) saturate(1.1);
  -webkit-backdrop-filter: blur(24px) saturate(1.1);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 4px 24px rgba(0, 0, 0, 0.03);
}

.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font);
  font-weight: 800;
  font-size: 1.375rem;
  color: var(--primary);
  letter-spacing: -0.04em;
  transition: color 0.2s var(--ease);
}

.logo:hover {
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.nav a,
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav a:hover,
.nav__link:hover {
  color: var(--primary);
  background: rgba(13, 148, 136, 0.06);
}

.nav a.is-active,
.nav__link.is-active {
  color: var(--primary);
  font-weight: 600;
  background: rgba(13, 148, 136, 0.08);
}

.nav__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.9;
}

.nav a:hover .nav__icon,
.nav__link:hover .nav__icon,
.nav a.is-active .nav__icon,
.nav__link.is-active .nav__icon {
  opacity: 1;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  transition: all 0.25s var(--ease-out);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn--primary {
  background: linear-gradient(180deg, #10b981 0%, var(--primary) 50%, var(--primary-dim) 100%);
  color: #fff;
  box-shadow: 0 2px 12px rgba(13, 148, 136, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn--primary:hover:not(:disabled) {
  background: linear-gradient(180deg, #14b88a 0%, #0d9488 50%, var(--primary-dim) 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn--ghost:hover:not(:disabled) {
  background: var(--bg-elevated);
  color: var(--primary);
  border-color: rgba(13, 148, 136, 0.25);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn--outline:hover:not(:disabled) {
  background: rgba(13, 148, 136, 0.08);
  box-shadow: var(--shadow-soft);
}

.btn--sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.8125rem;
}

.btn--lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.btn--primary:focus-visible,
.btn--outline:focus-visible,
.btn--ghost:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.25);
}

.product-detail__actions .btn:hover:not(:disabled),
.product-demo-block__full:hover,
.product-card .btn:hover:not(:disabled),
.hero__cta:hover,
.section__cta .btn:hover {
  transform: translateY(-1px);
}

.product-detail__actions .btn:active:not(:disabled),
.product-demo-block__full:active,
.product-card .btn:active:not(:disabled),
.hero__cta:active,
.section__cta .btn:active {
  transform: translateY(0);
}

/* ----- Hero ----- */
.hero {
  padding: 6rem 0 7rem;
  text-align: center;
  position: relative;
}

.hero__inner {
  max-width: 760px;
  margin: 0 auto;
}

.hero__title {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  margin-bottom: 1.5rem;
  color: var(--text);
  line-height: 1.1;
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 3.75rem;
  }
}

.hero__subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero__subtitle strong {
  color: var(--primary);
  font-weight: 600;
}

.hero__cta {
  margin-top: 1rem;
  box-shadow: 0 4px 20px rgba(13, 148, 136, 0.25);
}

.hero__cta:hover {
  box-shadow: 0 8px 32px rgba(13, 148, 136, 0.3);
}

/* ----- Section ----- */
.section {
  padding: 3.5rem 0;
}

.section__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section__title {
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 0.6rem;
}

.section__desc {
  color: var(--text-muted);
  max-width: 40rem;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.65;
}

.section__desc .text-primary,
.section__desc strong {
  color: var(--primary);
}

.section__cta {
  margin-top: 2rem;
}

/* ----- Ürün kartı: tarayıcı çerçevesi, ekran görüntüsü boyutu (16:10) ----- */
.product-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: rgba(13, 148, 136, 0.25);
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}

/* Tarayıcı penceresi çerçevesi — ekran görüntüleri için ideal */
.product-card__frame {
  position: relative;
  background: var(--bg-elevated);
  padding: 10px 10px 0;
  border-radius: var(--radius) var(--radius) 0 0;
}

.product-card__frame::before {
  content: "";
  display: block;
  height: 24px;
  background: var(--bg-elevated);
  border-radius: 6px 6px 0 0;
  margin-bottom: 8px;
  background-image: radial-gradient(circle, var(--text-faint) 1.5px, transparent 1.5px);
  background-size: 8px 8px;
  background-position: 12px 50%;
  opacity: 0.8;
}

.product-card__media {
  aspect-ratio: 16 / 10;
  background: var(--bg-elevated);
  overflow: hidden;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  display: block;
  position: relative;
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.product-card:hover .product-card__img {
  transform: scale(1.03);
}

.product-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--text-faint);
  background: var(--bg-elevated);
}

.product-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}

.badge {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  font-family: var(--font);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 999px;
  background: rgba(13, 148, 136, 0.08);
  color: var(--primary);
  border: 1px solid rgba(13, 148, 136, 0.15);
}

.badge--template {
  background: rgba(56, 189, 248, 0.08);
  color: #0ea5e9;
  border-color: rgba(56, 189, 248, 0.15);
}

.badge--script {
  background: rgba(13, 148, 136, 0.08);
  color: var(--primary);
  border-color: rgba(13, 148, 136, 0.15);
}

.badge--software {
  background: rgba(139, 92, 246, 0.08);
  color: #7c3aed;
  border-color: rgba(139, 92, 246, 0.15);
}

.badge--bundle {
  background: rgba(244, 63, 94, 0.08);
  color: #e11d48;
  border-color: rgba(244, 63, 94, 0.15);
}

.product-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.product-card__title a {
  color: inherit;
  transition: color 0.2s var(--ease);
}

.product-card__title a:hover {
  color: var(--primary);
}

.product-card__excerpt {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.55;
}

.product-card__footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin-top: auto;
}

.product-card__price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font);
}

.product-card__price--sale {
  color: var(--primary);
}

.product-card__price-old {
  font-size: 0.8125rem;
  color: var(--text-faint);
  text-decoration: line-through;
  margin-right: 0.35rem;
  font-weight: 500;
}

/* ----- Ürün detay: kapsamlı sunum, lightbox, satın alma odaklı ----- */
.product-detail-page {
  padding: 2rem 0 4rem;
}

.product-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.product-breadcrumb a {
  color: var(--text-muted);
}

.product-breadcrumb a:hover {
  color: var(--primary);
}

.product-breadcrumb__sep {
  color: var(--text-faint);
  user-select: none;
}

.product-breadcrumb__current {
  color: var(--text);
  font-weight: 600;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-detail__specs {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1.5rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 0.9375rem;
}

.product-detail__specs dt {
  color: var(--text-faint);
  font-weight: 500;
}

.product-detail__specs dd {
  margin: 0;
  color: var(--text);
}

.product-detail__specs a {
  color: var(--primary);
}

.product-detail__specs a:hover {
  color: var(--accent);
}

.product-faq {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.product-faq__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.product-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-faq__item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.product-faq__q {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.product-faq__q::-webkit-details-marker {
  display: none;
}

.product-faq__q::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--primary);
}

.product-faq__item[open] .product-faq__q::after {
  content: "−";
}

.product-faq__a {
  padding: 0 1.25rem 1rem;
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Canlı Önizleme: tam genişlik, başlık + açıklama + etiketler + önizleme + özellikler */
.product-demo-block {
  width: 100%;
  margin-bottom: 2.5rem;
  padding: 0 1.25rem 2rem;
}

.product-demo-block__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  max-width: 1400px;
  margin: 0 auto 1.25rem;
  padding: 0 0.5rem;
}

.product-demo-block__head {
  flex: 1;
  min-width: 0;
}

.product-demo-block__title {
  margin: 0 0 0.5rem;
  font-size: 1.625rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.product-demo-block__desc {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 42rem;
}

.product-demo-block__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.6rem;
}

.product-demo-block__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--primary);
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.18);
  border-radius: 999px;
}

.product-demo-block__full {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.demo-cta {
  min-height: 48px;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(180deg, #10b981 0%, var(--primary) 50%, var(--primary-dim) 100%);
  border: none;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), opacity 0.2s var(--ease);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.demo-cta:hover {
  color: #fff;
  box-shadow: 0 8px 28px rgba(13, 148, 136, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.demo-cta:active {
  opacity: 0.95;
  transform: translateY(0);
}

.demo-cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.3);
}

.demo-cta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.demo-cta__label {
  white-space: nowrap;
}

.product-demo-block__preview {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(0, 0, 0, 0.02);
}

.product-demo-block__frame {
  background: var(--bg-elevated);
  padding: 12px 12px 0;
}

.product-demo-block__frame::before {
  content: "";
  display: block;
  height: 24px;
  margin-bottom: 8px;
  background: var(--bg-elevated);
  border-radius: 6px 6px 0 0;
  background-image: radial-gradient(circle, var(--text-faint) 1.5px, transparent 1.5px);
  background-size: 8px 8px;
  background-position: 12px 50%;
  opacity: 0.7;
}

.product-demo-block__frame-inner {
  position: relative;
  width: 100%;
  height: 420px;
  max-height: 55vh;
  background: #fff;
  overflow: hidden;
  border-radius: 0 0 6px 6px;
}

.product-demo-block__scroll {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.product-demo-block__scroll::-webkit-scrollbar {
  display: none;
}

.product-demo-block__iframe {
  display: block;
  width: 100%;
  min-width: 100%;
  height: 1000px;
  border: none;
  pointer-events: none;
}

.product-demo-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2rem;
  max-width: 1400px;
  margin: 1.5rem auto 0;
  padding: 1.25rem 1rem 0;
  border-top: 1px solid var(--border);
}

.product-demo-features__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
}

.product-demo-features__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(13, 148, 136, 0.08);
  color: var(--primary);
  border: 1px solid rgba(13, 148, 136, 0.1);
}

.product-demo-features__icon svg {
  flex-shrink: 0;
}

.btn--icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-icon svg {
  flex-shrink: 0;
}

.product-detail-hero {
  margin-bottom: 2.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}

.product-detail-hero__frame {
  background: var(--bg-elevated);
  padding: 14px 14px 0;
}

.product-detail-hero__frame::before {
  content: "";
  display: block;
  height: 28px;
  background: var(--bg-elevated);
  border-radius: 8px 8px 0 0;
  margin-bottom: 10px;
  background-image: radial-gradient(circle, var(--text-faint) 2px, transparent 2px);
  background-size: 10px 10px;
  background-position: 16px 50%;
  opacity: 0.7;
}

.product-detail-hero__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--bg);
  overflow: hidden;
  cursor: zoom-in;
}

.product-detail-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.product-detail-hero__media:hover img {
  transform: scale(1.02);
}

.product-detail-hero__zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.95);
  padding: 6px 10px;
  border-radius: 8px;
  font-family: var(--font);
  opacity: 0;
  transition: opacity 0.2s;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}

.product-detail-hero__media:hover .product-detail-hero__zoom-hint {
  opacity: 1;
}

.product-detail-hero__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--text-faint);
  background: var(--bg-elevated);
}

/* Demo önizleme: tam sayfa iframe + sürekli kaydırma animasyonu */
.product-detail-hero__demo {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #fff;
  overflow: hidden;
}

.product-detail-hero__demo-scroll {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: auto;
}

.product-detail-hero__demo-frame {
  display: block;
  width: 100%;
  min-width: 100%;
  height: 1200px;
  border: none;
  pointer-events: none;
}

.product-detail-hero__demo-link {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: var(--shadow-card);
  z-index: 2;
  transition: background 0.2s, transform 0.2s var(--ease);
}

.product-detail-hero__demo-link:hover {
  background: var(--primary-dim);
  transform: scale(1.02);
  color: #fff;
}

/* Kartlarda demo önizleme */
.product-card__demo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #fff;
}

.product-card__demo-scroll {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: auto;
}

.product-card__demo-frame {
  display: block;
  width: 100%;
  min-width: 100%;
  height: 1000px;
  border: none;
  pointer-events: none;
}

.product-detail {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .product-detail {
    grid-template-columns: 1fr 380px;
  }
}

.product-detail__main {
  min-width: 0;
}

.product-detail__type {
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.product-detail__title {
  margin-bottom: 0.5rem;
  font-size: 1.75rem;
}

.product-detail__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.product-detail__price {
  font-size: 1.875rem;
  font-weight: 800;
  font-family: var(--font);
  color: var(--primary);
  letter-spacing: -0.02em;
}

.product-detail__price--sale {
  color: var(--primary);
}

.product-detail__price-old {
  font-size: 1.0625rem;
  color: var(--text-faint);
  text-decoration: line-through;
  margin-right: 0.5rem;
  font-weight: 500;
}

.product-detail__short {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.01em;
}

.product-detail__desc {
  margin-bottom: 1.5rem;
  max-width: 56rem;
}

.product-detail__desc-p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin: 0 0 1.25rem;
  letter-spacing: 0.01em;
}

.product-detail__desc-p:last-child {
  margin-bottom: 0;
}

.product-detail__desc-p:first-of-type {
  border-left: 3px solid var(--primary);
  padding-left: 1rem;
  background: linear-gradient(90deg, rgba(13, 148, 136, 0.06) 0%, transparent 100%);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.product-detail__desc-p strong {
  color: var(--text);
  font-weight: 600;
}

.product-detail__desc br+br {
  display: block;
  height: 0.5em;
}

.product-detail__desc h4 {
  font-size: 1.0625rem;
  margin: 1.5rem 0 0.6rem;
  color: var(--text);
  font-weight: 700;
}

.product-detail__desc h4:first-child {
  margin-top: 0;
}

.product-detail__desc p {
  margin-bottom: 1rem;
}

.product-detail__desc ul,
.product-detail__desc ol {
  margin: 0.75rem 0 1.25rem 1.25rem;
  padding-left: 0.5rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.product-detail__desc li {
  margin-bottom: 0.35rem;
}

.product-detail__desc li::marker {
  color: var(--primary);
}

.product-detail__sidebar {
  position: relative;
}

.product-detail__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: sticky;
  top: 6.5rem;
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(0, 0, 0, 0.02);
}

.product-detail__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.product-detail__actions form {
  width: 100%;
}

.product-detail__actions .btn {
  width: 100%;
  justify-content: center;
}

.product-detail__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.product-detail__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
}

.product-detail__trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.product-detail__trust-icon svg {
  display: block;
}

.product-detail__share {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.product-detail__share-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-faint);
  margin-bottom: 0.5rem;
}

.product-detail__share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.product-detail__share-btn:hover {
  background: rgba(13, 148, 136, 0.12);
  border-color: var(--primary);
  color: var(--primary-dim);
}

.product-detail__share-btn:disabled {
  opacity: 0.7;
  cursor: default;
}

.product-detail__share-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-detail__share-btn-text {
  flex: 0 0 auto;
}

.product-detail__similar {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.product-detail__similar-title {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.product-detail__similar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.product-detail__similar-card {
  min-width: 0;
}

.product-detail__similar-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-soft);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease-out);
}

.product-detail__similar-link:hover {
  border-color: rgba(13, 148, 136, 0.25);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.product-detail__similar-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.product-detail__similar-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border-radius: 8px;
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.product-detail__similar-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  margin-bottom: 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-detail__similar-link:hover .product-detail__similar-name {
  color: var(--primary);
}

.product-detail__similar-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.product-detail__similar-price--sale {
  color: var(--primary);
}

.product-detail__hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 1.25rem 0;
}

.product-detail__support-title {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.product-detail__support-form .form-group {
  margin-bottom: 0.75rem;
}

.product-detail__support-form label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.form-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 0.9375rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}

textarea.form-input {
  resize: vertical;
  min-height: 60px;
}

.product-detail__support-msg {
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.product-detail__support-msg--ok {
  color: var(--primary);
}

.product-detail__support-msg--err {
  color: #e11d48;
}

/* ----- Lightbox ----- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(30, 41, 59, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: zoom-out;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  cursor: default;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}

/* ----- Prompt Card Styles ----- */
.product-card--prompt .product-card__media {
  aspect-ratio: 16 / 9;
}

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

.product-card__poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s;
}

.product-card__video:hover+.product-card__poster {
  opacity: 0;
}

.product-card--prompt .product-card__overlay {
  position: absolute;
  bottom: 10px;
  right: 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s var(--ease);
  z-index: 10;
}

.product-card--prompt:hover .product-card__overlay {
  opacity: 1;
  transform: translateY(0);
}

.product-card--prompt .badge--outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.copy-prompt-btn {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.copy-prompt-btn:hover {
  background: #fff;
  transform: scale(1.05);
  color: var(--primary);
}

.copy-prompt-btn.copied {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.lightbox__close:hover {
  background: var(--primary);
  color: #fff;
}

/* ----- Kategori filtreleri ----- */
.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

/* ----- Sepet ----- */
.cart-empty {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.cart-empty__text {
  margin: 0 0 1.5rem;
  font-size: 1.125rem;
  color: var(--text-muted);
}

.cart-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.cart-count {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
}

.cart-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.cart-item:hover {
  background: var(--bg-elevated);
}

@media (max-width: 640px) {
  .cart-item {
    grid-template-columns: 64px 1fr;
    gap: 0.75rem;
  }

  .cart-item__price {
    grid-column: 2;
  }

  .cart-remove-form {
    grid-column: 2;
  }

  .cart-item__qty {
    margin-top: 0.5rem;
  }
}

.cart-item__thumb {
  width: 80px;
  height: 80px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cart-item__thumb:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-soft);
}

.cart-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item__placeholder {
  font-size: 1.75rem;
}

.cart-item__body {
  min-width: 0;
}

.cart-item__name {
  display: block;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 0.5rem;
}

.cart-item__name:hover {
  color: var(--primary);
}

.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.cart-qty-form {
  display: inline;
}

.cart-qty-btn {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.cart-qty-btn:hover {
  background: var(--bg-elevated);
  border-color: var(--primary);
  color: var(--primary);
}

.cart-item__qty-num {
  min-width: 1.5rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.9375rem;
}

.cart-item__price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
}

.cart-summary {
  max-width: 360px;
  margin-left: auto;
  padding: 1.25rem 1.5rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin-bottom: 1.25rem;
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.cart-summary__total {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.cart-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.cart-trust__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.cart-trust__item svg {
  color: var(--primary);
  flex-shrink: 0;
}

.cart-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* ----- Ödeme ----- */
.checkout-err {
  margin-bottom: 1rem;
}

.checkout-layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .checkout-layout {
    grid-template-columns: 1fr 340px;
  }

  .checkout-summary {
    position: sticky;
    top: 6rem;
    align-self: start;
  }
}

.checkout-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}

.checkout-user {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.checkout-user strong {
  font-size: 1.0625rem;
  color: var(--text);
}

.checkout-user span {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.checkout-terms {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  cursor: pointer;
}

.checkout-terms input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.checkout-terms a {
  color: var(--primary);
}

.checkout-terms a:hover {
  color: var(--accent);
}

.checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.checkout-actions .btn--primary {
  flex: 1;
  min-width: 140px;
}

.checkout-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.checkout-summary__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.checkout-summary__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.checkout-summary__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--border);
}

.checkout-summary__name {
  color: var(--text);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-summary__price {
  font-weight: 600;
  color: var(--primary);
  flex-shrink: 0;
}

.checkout-summary__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--border);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.checkout-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--text-faint);
}

.checkout-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.checkout-trust svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* ----- Footer ----- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  margin-top: auto;
  background: var(--bg-card);
  box-shadow: 0 -1px 0 var(--border), 0 -4px 24px rgba(0, 0, 0, 0.02);
}

.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.site-footer__logo {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--primary);
  transition: color 0.2s var(--ease);
}

.site-footer__logo:hover {
  color: var(--accent);
}

.site-footer__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  margin: 1rem 0;
}

.site-footer__links a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}

.site-footer__links a:hover {
  color: var(--primary);
}

.site-footer__copy {
  font-size: 0.875rem;
  color: var(--text-faint);
  margin-top: 0.5rem;
}

/* ----- Auth (giriş / kayıt) ----- */
.auth-section {
  padding: 3rem 0 5rem;
}

.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 400px;
  margin: 0 auto;
}

.auth-card__title {
  margin-bottom: 1.25rem;
  text-align: center;
}

.auth-card__error {
  color: #e11d48;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.auth-form .form-group {
  margin-bottom: 1rem;
}

.auth-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.auth-form input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
}

.auth-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.btn--block {
  width: 100%;
  margin-top: 0.5rem;
}

.auth-card__footer {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.auth-card__footer a {
  font-weight: 600;
}

/* ----- Kullanıcı paneli ----- */
.user-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem 0 4rem;
}

.user-sidebar {
  flex: 0 0 220px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  height: fit-content;
  position: sticky;
  top: 6rem;
}

.user-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.user-sidebar__nav a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.user-sidebar__nav a:hover {
  background: var(--bg-elevated);
  color: var(--primary);
}

.user-sidebar__nav a.active {
  background: rgba(13, 148, 136, 0.1);
  color: var(--primary);
}

.user-main {
  flex: 1;
  min-width: 0;
}

.user-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.user-card h2 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.order-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.order-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.order-list li:last-child {
  border-bottom: 0;
}

.order-list__id {
  font-family: var(--font);
  font-weight: 600;
  color: var(--primary);
}

.order-list__meta {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.download-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.download-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.download-list li:last-child {
  border-bottom: 0;
}

.download-list__name {
  font-weight: 600;
}

.download-list__meta {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.download-list__dl-link {
  width: 100%;
  flex-basis: 100%;
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
}

.download-list__dl-link a {
  color: var(--primary);
}

.d-page {
  text-align: center;
  padding: 2rem 0;
}

.d-page__title {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.d-page__msg {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

/* ----- Destek FAB + panel + toast ----- */
.support-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 10010;
  isolation: isolate;
}

.support-fab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  font-family: inherit;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s var(--ease);
}

.support-fab:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-hover);
  background: var(--primary-dim);
}

.support-fab__icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.support-fab__label {
  display: none;
}

@media (min-width: 480px) {
  .support-fab__label {
    display: inline;
  }
}

.support-panel {
  position: absolute;
  bottom: calc(100% + 0.75rem);
  right: 0;
  width: min(380px, calc(100vw - 2rem));
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  overflow: hidden;
  animation: supportPanelIn 0.25s var(--ease);
}

@keyframes supportPanelIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.support-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.support-panel__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.support-panel__close {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s var(--ease);
}

.support-panel__close:hover {
  background: var(--border);
  color: var(--text);
}

.support-panel__body {
  padding: 1.25rem;
}

.support-panel__guest {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.support-panel__guest a {
  color: var(--primary);
  font-weight: 600;
}

.support-form__group {
  margin-bottom: 1rem;
}

.support-form__group label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.support-form__input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-size: 0.9375rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
}

.support-form__input::placeholder {
  color: var(--text-faint);
}

.support-form__input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}

textarea.support-form__input {
  resize: vertical;
  min-height: 88px;
}

.support-form__submit {
  margin-top: 0.5rem;
}

.support-form .btn--primary {
  background: var(--primary);
  color: #fff;
}

.support-form .btn--primary:hover:not(:disabled) {
  background: var(--primary-dim);
  color: #fff;
}

.toast-container {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 420px;
  z-index: 10015;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

@media (min-width: 640px) {
  .toast-container {
    left: auto;
  }
}

.toast {
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  box-shadow: var(--shadow-hover);
  transition: opacity 0.3s, transform 0.3s var(--ease);
}

.toast--success {
  background: var(--primary);
  color: #fff;
}

.toast--error {
  background: #e11d48;
  color: #fff;
}

.toast--out {
  opacity: 0;
  transform: translateX(-12px);
}

/* ----- Bildirim popup (kullanıcı paneli) ----- */
.notifications-popup {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.notifications-popup[hidden] {
  display: none;
}

.notifications-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 41, 59, 0.4);
  cursor: pointer;
}

.notifications-popup__box {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: 80vh;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  animation: supportPanelIn 0.3s var(--ease);
}

.notifications-popup__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.notifications-popup__title {
  margin: 0;
  font-size: 1.125rem;
}

.notifications-popup__close {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}

.notifications-popup__close:hover {
  background: var(--border);
  color: var(--text);
}

.notifications-popup__body {
  padding: 1rem;
  overflow-y: auto;
  max-height: 60vh;
}

.notifications-popup__empty {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.notifications-popup__item {
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  color: inherit;
  text-decoration: none;
  transition: background 0.2s;
}

.notifications-popup__item:hover {
  background: var(--bg-elevated);
}

.notifications-popup__item:last-child {
  border-bottom: 0;
}

.notifications-popup__item strong {
  display: block;
  margin-bottom: 0.25rem;
}

.notifications-popup__item span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ----- Kullanıcı Destek (mesajlaşma) ----- */
.user-support-flash {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.user-support-flash--ok {
  background: rgba(13, 148, 136, 0.1);
  color: var(--primary);
  border: 1px solid rgba(13, 148, 136, 0.2);
}

.user-support-flash--err {
  background: rgba(225, 29, 72, 0.1);
  color: #e11d48;
  border: 1px solid rgba(225, 29, 72, 0.25);
}

.user-support-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.user-support-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.user-support-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-card);
}

.user-support-card--open {
  border-left: 4px solid var(--primary);
}

.user-support-card__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.user-support-card__id {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9375rem;
}

.user-support-card__badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 8px;
}

.user-support-card__badge--open {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

.user-support-card__badge--answered {
  background: rgba(5, 150, 105, 0.2);
  color: #34d399;
}

.user-support-card__badge--closed {
  background: rgba(100, 116, 139, 0.2);
  color: var(--text-muted);
}

.user-support-card__subject {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.user-support-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.user-support-detail__toolbar {
  margin-bottom: 1rem;
}

.user-support-detail__header {
  margin-bottom: 1rem;
}

.user-support-detail__subject {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.user-support-detail__meta {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.user-support-detail__status {
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 8px;
}

.user-support-detail__status--open {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

.user-support-detail__status--answered {
  background: rgba(5, 150, 105, 0.2);
  color: #34d399;
}

.user-support-detail__status--closed {
  background: rgba(100, 116, 139, 0.2);
  color: var(--text-muted);
}

.user-support-detail__thread {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  max-height: 380px;
  overflow-y: auto;
}

.user-support-detail .support-msg {
  margin-bottom: 1rem;
}

.user-support-detail .support-msg:last-child {
  margin-bottom: 0;
}

.user-support-detail .support-msg__inner {
  max-width: 85%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.user-support-detail .support-msg--user .support-msg__inner {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}

.user-support-detail .support-msg--admin .support-msg__inner {
  background: rgba(13, 148, 136, 0.1);
  border: 1px solid rgba(13, 148, 136, 0.2);
  color: var(--text);
  border-bottom-right-radius: 4px;
  margin-left: auto;
}

.user-support-detail .support-msg__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.user-support-detail .support-msg__author {
  font-weight: 600;
  font-size: 0.8125rem;
}

.user-support-detail .support-msg__time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.user-support-detail .support-msg__body {
  white-space: pre-wrap;
  word-break: break-word;
}

.user-support-detail__reply {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.user-support-detail .support-reply-form .form-group {
  margin-bottom: 1rem;
}

.user-support-detail .support-reply-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.user-support-detail .support-reply-form__textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

.user-support-detail .support-reply-form__textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}

.user-support-detail .support-reply-form .btn {
  margin-top: 0.5rem;
}

/* ----- Utils ----- */
.animate-in {
  animation: fadeIn 0.5s var(--ease) both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}