/* =====================================================
   DARK THEME — Premium Glassmorphism Design System
   ===================================================== */

/* ── Base ─────────────────────────────────────────── */
:root {
  --bg-primary:    #000000;
  --bg-secondary:  #050505;
  --bg-card:       #141416;
  --bg-card-hover: #1c1c1f;
  --border:        rgba(255, 255, 255, 0.08);
  --border-glow:   rgba(91, 87, 245, 0.45);
  --text-primary:  #f4f4f5;
  --text-muted:    #9ca3af;
  --accent:        #5b57f5;
  --accent-hover:  #6d69ff;
  --accent-glow:   rgba(91, 87, 245, 0.4);
  --price-turquoise: #40e0d0;
  --ap-listing-aspect: 1110 / 750;
  --ap-category-banner-aspect: 2350 / 400;
  --success:       #22c55e;
  --danger:        #ef4444;
  --gold:          #fbbf24;
  --radius-lg:     20px;
  --radius-xl:     24px;
}

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

html, body {
  width: 100%;
  overflow-x: hidden;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  scroll-behavior: smooth;
}

/* Site genişliği — yan boşluklar tek yerden (Tailwind container + px-4 çiftlemesini önler) */
.ap-site {
  --ap-gutter: 12px;
}
@media (min-width: 768px) {
  .ap-site { --ap-gutter: 16px; }
}
@media (min-width: 1280px) {
  .ap-site { --ap-gutter: 20px; }
}
.ap-site .container {
  width: 100%;
  max-width: 100% !important;
  margin-left: auto;
  margin-right: auto;
  padding-left: max(var(--ap-gutter), env(safe-area-inset-left, 0px)) !important;
  padding-right: max(var(--ap-gutter), env(safe-area-inset-right, 0px)) !important;
  box-sizing: border-box;
}
@media (min-width: 1400px) {
  .ap-site .container {
    max-width: 1680px !important;
  }
}

.ap-site img,
.ap-site video,
.ap-site iframe,
.ap-site embed,
.ap-site object {
  max-width: 100%;
}
.ap-site img:not(.ap-logo__img):not(.ap-footer__logo-img) {
  height: auto;
}
.ap-product-card__img-wrap .ap-product-card__img,
.ap-hero-banner__img,
.ap-home-cat-tile__img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}
.ap-site-main {
  overflow-x: clip;
  min-width: 0;
}
.ap-ambient-glow {
  width: min(700px, 100vw);
}
.scrollbar-hide::-webkit-scrollbar { display: none; }
[x-cloak] { display: none !important; }

@media (min-width: 1200px) { html { font-size: 90%; } }
@media (min-width: 1200px) {
  .product-scale { zoom: 0.8; }
  @supports not (zoom: 1) {
    .product-scale { transform: scale(0.8) !important; transform-origin: top center; width: 125%; }
  }
}
@media (max-width: 1199px) {
  .product-scale { zoom: 1; transform: none !important; width: 100%; }
}

/* ── Ambient Glow (Replaces stars) ────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: transparent;
  pointer-events: none;
  z-index: 0;
}

/* ── Glass Card ───────────────────────────────────── */
.glass {
  background: rgba(24, 24, 27, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.75rem;
}
.glass:hover {
  border-color: rgba(99,102,241,0.4);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

/* ── Glow Utilities ───────────────────────────────── */
.glow-indigo  { box-shadow: 0 0 30px rgba(139,92,246,0.3); }
.glow-emerald { box-shadow: 0 0 30px rgba(16,185,129,0.3); }
.glow-amber   { box-shadow: 0 0 30px rgba(245,158,11,0.3); }
.text-glow    { text-shadow: 0 0 20px rgba(139,92,246,0.5); }

/* ── Gradient Text ────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, #a78bfa 0%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Pulse Ring Animation ─────────────────────────── */
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(139,92,246,0.5); }
  70%  { box-shadow: 0 0 0 12px rgba(139,92,246,0); }
  100% { box-shadow: 0 0 0 0 rgba(139,92,246,0); }
}
.pulse-ring { animation: pulse-ring 2s infinite; }

/* ── Float Animation ──────────────────────────────── */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}
.float { animation: float 3s ease-in-out infinite; }

/* ── Shimmer (loading skeleton) ───────────────────── */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.shimmer {
  background: linear-gradient(90deg, #1a1a1a 25%, #242424 50%, #1a1a1a 75%);
  background-size: 800px 100%;
  animation: shimmer 1.5s infinite;
}

/* ── Fade In Up ───────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fadeInUp 0.5s ease forwards; }
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* ── Scale In ─────────────────────────────────────── */
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
.animate-scale-in { animation: scaleIn 0.35s ease forwards; }

/* ── Header (Dark Glassmorphism) ──────────────────── */
header {
  background: rgba(13, 13, 13, 0.92) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(255,255,255,0.07) !important;
}

header a:not(.btn-primary) {
  color: #9ca3af !important;
  transition: color 0.2s, background 0.2s;
}
header a:not(.btn-primary):hover {
  color: #a78bfa !important;
}

header .border {
  background: rgba(255,255,255,0.04) !important;
  border-color: rgba(255,255,255,0.07) !important;
  color: #9ca3af !important;
}
header .border:hover {
  background: rgba(139,92,246,0.1) !important;
  border-color: rgba(139,92,246,0.3) !important;
  color: #a78bfa !important;
}

header input[type="text"] {
  background: rgba(255,255,255,0.04) !important;
  border-color: rgba(255,255,255,0.07) !important;
  color: #e2e8f0 !important;
}
header input[type="text"]::placeholder { color: #4b5563 !important; }
header input[type="text"]:focus {
  background: rgba(139,92,246,0.07) !important;
  border-color: rgba(139,92,246,0.4) !important;
  box-shadow: 0 0 0 3px rgba(139,92,246,0.12) !important;
}

header .absolute.bg-white {
  background: #1a1a1a !important;
  border-color: rgba(255,255,255,0.08) !important;
}
header .absolute.bg-white a {
  border-color: rgba(255,255,255,0.05) !important;
  color: #d1d5db !important;
}
header .absolute.bg-white a:hover {
  background: rgba(139,92,246,0.1) !important;
}
header .absolute.bg-white .bg-blue-600 {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed) !important;
}

header .bg-slate-50.border-b {
  background: rgba(26,26,26,0.95) !important;
  border-color: rgba(255,255,255,0.06) !important;
}
header div.bg-slate-50\/50 {
  background: rgba(20,20,20,0.5) !important;
}
header p.text-slate-800,
header p.font-bold.text-slate-800 { color: #e2e8f0 !important; }
header p.text-xs.text-slate-500   { color: #64748b !important; }

header .bg-indigo-50.border-2 {
  background: rgba(139,92,246,0.12) !important;
  border-color: rgba(139,92,246,0.25) !important;
}

header .bg-white.w-3\/4 {
  background: #141414 !important;
  border-right: 1px solid rgba(255,255,255,0.06) !important;
}
header .text-xl.font-bold.text-slate-900 { color: #e2e8f0 !important; }

/* ── Body Backgrounds (Tailwind overrides) ────────── */
.bg-gray-50,
.bg-slate-50 {
  background-color: var(--bg-primary) !important;
}

.bg-white {
  background-color: var(--bg-card) !important;
  border-color: var(--border) !important;
  color: var(--text-primary) !important;
}

.border-gray-100,
.border-gray-200,
.border-slate-100,
.border-slate-200 {
  border-color: var(--border) !important;
}

/* Text colors */
.text-slate-900,
.text-slate-800,
.text-gray-800,
.text-gray-900 { color: #f1f5f9 !important; }

.text-slate-700,
.text-gray-700 { color: #cbd5e1 !important; }

.text-slate-600,
.text-gray-600 { color: #94a3b8 !important; }

.text-slate-500,
.text-gray-500 { color: #64748b !important; }

/* Table rows */
tbody tr:hover { background-color: rgba(99,102,241,0.06) !important; }
thead tr { background: rgba(15,31,61,0.8) !important; }
.divide-y > * { border-color: rgba(255,255,255,0.05) !important; }

/* Input & Select (forms) */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="color"],
input[type="file"],
textarea,
select {
  background-color: #18181b !important;
  border-color: rgba(255,255,255,0.1) !important;
  color: #e4e4e7 !important;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
input:focus, textarea:focus, select:focus {
  background-color: #000000 !important;
  border-color: rgba(99,102,241,0.4) !important;
  box-shadow: 0 0 0 3px rgba(99,102,241,0.15) !important;
  outline: none !important;
}
select option {
  background: #0f1f3d;
  color: #e2e8f0;
}

/* Tailwind bg-slate-50 inputs */
.bg-slate-50 input, .bg-slate-50 textarea, .bg-slate-50 select,
input.bg-slate-50, textarea.bg-slate-50, select.bg-slate-50 {
  background-color: rgba(255,255,255,0.04) !important;
}

/* ── Stat Cards ───────────────────────────────────── */
.bg-\.\[0_2px_10px_-3px_rgba\(6\,81\,237\,0\.1\)\] {
  box-shadow: 0 0 30px rgba(139,92,246,0.07) !important;
}

/* Emerald badge */
.bg-emerald-50  { background: rgba(16,185,129,0.12) !important; }
.bg-yellow-100  { background: rgba(245,158,11,0.12) !important; }
.bg-red-100     { background: rgba(239,68,68,0.12) !important; }
.bg-green-100   { background: rgba(16,185,129,0.12) !important; }
.bg-indigo-50   { background: rgba(139,92,246,0.1) !important; }
.bg-blue-100    { background: rgba(59,130,246,0.1) !important; }
.bg-purple-50   { background: rgba(139,92,246,0.1) !important; }
.bg-orange-50   { background: rgba(249,115,22,0.1) !important; }
.bg-amber-50    { background: rgba(245,158,11,0.1) !important; }
.bg-gray-100    { background: rgba(255,255,255,0.05) !important; }
.bg-slate-100   { background: rgba(255,255,255,0.05) !important; }
.bg-slate-900   { background: rgba(10,10,10,0.98) !important; }

/* ── Product Cards (detay/market) ─────────────────── */
.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}

/* ── Buttons ──────────────────────────────────────── */
.bg-indigo-600 {
  background-color: #4f46e5 !important;
  box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.39) !important;
}
.bg-indigo-600:hover {
  background-color: #4338ca !important;
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.23) !important;
  transform: translateY(-1px);
}

button[type="submit"]:not(.bg-indigo-600),
.bg-slate-900[type="submit"] {
  background: linear-gradient(135deg, #1c1c1c, #111111) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  transition: all 0.2s !important;
}
button[type="submit"]:hover {
  background: linear-gradient(135deg, #2a2a2a, #1c1c1c) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5) !important;
}

.bg-slate-50\/50,
.bg-gray-50\/50 { background: rgba(20,20,20,0.6) !important; }

/* Sipariş status badge */
.bg-emerald-100 { background: rgba(16,185,129,0.15) !important; }
.text-emerald-700 { color: #34d399 !important; }
.border-emerald-200 { border-color: rgba(16,185,129,0.3) !important; }

.bg-yellow-100 { background: rgba(245,158,11,0.15) !important; }
.text-yellow-700, .text-yellow-800 { color: #fbbf24 !important; }
.border-yellow-200 { border-color: rgba(245,158,11,0.3) !important; }

.bg-red-50 { background: rgba(239,68,68,0.1) !important; }
.bg-red-100 { background: rgba(239,68,68,0.15) !important; }
.text-red-700, .text-red-800 { color: #f87171 !important; }

/* ── Separator lines ──────────────────────────────── */
.border-t, .border-b, .border-l, .border-r, .border {
  border-color: rgba(255,255,255,0.07) !important;
}

/* ── Sidebar (Admin Panel) ────────────────────────── */
.bg-\[\#0f172a\] {
  background: linear-gradient(180deg, #0d0d0d 0%, #141414 100%) !important;
}

/* ── Footer ───────────────────────────────────────── */
footer.bg-\[#0f172a\] {
  background: #0a0a0a !important;
  border-top: 1px solid rgba(255,255,255,0.06) !important;
}
footer .bg-\[#020617\] { background: #080808 !important; }

/* ── Scrollbar ────────────────────────────────────── */
::-webkit-scrollbar       { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #0d0d0d; }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: #3a3a3a; }

/* ── Selection ────────────────────────────────────── */
::selection { background: rgba(139,92,246,0.35); color: #fff; }

/* ── WhatsApp Button (unchanged) ──────────────────── */
.whatsapp-fixed-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #c9a24d, #e6b960);
  color: #000;
  padding: 14px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(201,162,77,0.4);
  transition: all 0.25s ease;
}
.whatsapp-fixed-btn:hover {
  background: linear-gradient(135deg, #e6b960, #c9a24d);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(201,162,77,0.55);
}
@media (max-width: 640px) {
  .whatsapp-fixed-btn span { display: none; }
  .whatsapp-fixed-btn { padding: 14px; border-radius: 50%; }
}

/* ── SweetAlert2 Dark ─────────────────────────────── */
.swal2-popup {
  background: #0f1f3d !important;
  color: #e2e8f0 !important;
  border: 1px solid rgba(99,102,241,0.2) !important;
  width: min(32rem, calc(100vw - 1.5rem)) !important;
  max-width: calc(100vw - 1.5rem) !important;
  margin: 0.75rem !important;
}
.swal2-title  { color: #f1f5f9 !important; }
.swal2-content { color: #94a3b8 !important; }

/* ── Micro-animations on cards ────────────────────── */
.bg-white, .glass {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.bg-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(139,92,246,0.1) !important;
  border-color: rgba(139,92,246,0.18) !important;
}

/* ── Popup dark ───────────────────────────────────── */
#marketingPopup .bg-white {
  background: #1a1a1a !important;
  border: 1px solid rgba(139,92,246,0.2) !important;
}
#marketingPopup h3 { color: #f1f5f9 !important; }
#marketingPopup .text-slate-600 { color: #94a3b8 !important; }

/* =====================================================
   ALPHAPINS-STYLE — Header / Hero / Footer
   ===================================================== */

.ap-header {
  background: rgba(0, 0, 0, 0.92) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px);
  overflow: visible;
}
.ap-header .container,
.ap-header__inner,
.ap-header-actions,
.ap-header-actions > .relative {
  overflow: visible;
}
.ap-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  height: auto;
  padding: 8px 0;
}
@media (min-width: 1024px) {
  .ap-header__inner {
    min-height: 84px;
    padding: 10px 0;
  }
}
.ap-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #a1a1aa;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, transform 0.15s;
}
.ap-icon-btn:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
}
.ap-icon-btn:active { transform: scale(0.94); }
.ap-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
  overflow: visible;
  text-decoration: none;
}
/* Mobil: logo ortada, yan butonlar sıkıştırmasın (global img max-width:100% burada küçültüyordu) */
@media (max-width: 1023px) {
  .ap-header__inner {
    position: relative;
    min-height: 64px;
    padding: 8px 0;
  }
  .ap-logo {
    position: absolute;
    left: calc(50% + 14px);
    top: 50%;
    transform: translate(-50%, -50%);
    flex: none;
    width: max-content;
    max-width: min(200px, calc(100% - 112px));
    z-index: 2;
    pointer-events: auto;
  }
}
@media (min-width: 1024px) {
  .ap-logo {
    flex: 0 0 auto;
    justify-content: flex-start;
    position: static;
    transform: none;
    max-width: none;
    margin-left: 10px;
  }
}
/* Logo: canlı site ölçüsüne göre (~50px mobil, ~56px masaüstü; geniş PNG için max-width sınırı) */
.ap-logo__img,
.ap-logo img {
  display: block;
  width: auto !important;
  max-width: min(180px, calc(100vw - 112px)) !important;
  height: 46px !important;
  max-height: none !important;
  object-fit: contain;
  object-position: center center;
  transition: filter 0.3s;
}
@media (min-width: 640px) and (max-width: 1023px) {
  .ap-logo__img,
  .ap-logo img {
    height: 50px !important;
    max-width: min(200px, calc(100vw - 120px)) !important;
  }
}
@media (min-width: 1024px) {
  .ap-logo__img,
  .ap-logo img {
    height: 54px !important;
    max-width: min(220px, 18vw) !important;
    object-position: left center;
  }
}
@media (min-width: 1280px) {
  .ap-logo__img,
  .ap-logo img {
    height: 58px !important;
    max-width: min(240px, 16vw) !important;
  }
}
.ap-logo:hover .ap-logo__img,
.ap-logo:hover img { filter: brightness(1.15); }

.ap-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.ap-header-auth {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: 6px;
  padding-right: 4px;
}
@media (min-width: 640px) {
  .ap-header-auth { display: flex; }
}
.ap-header-auth__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.15s;
}
.ap-header-auth__btn i {
  font-size: 15px;
  opacity: 0.95;
}
.ap-header-auth__btn--ghost {
  color: #d4d4d8;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}
.ap-header-auth__btn--ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}
.ap-header-auth__btn--primary {
  padding: 11px 22px;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(135deg, #5b57f5, #6d69ff);
  border: 1px solid rgba(109, 105, 255, 0.5);
  box-shadow: 0 8px 24px rgba(91, 87, 245, 0.35);
}
.ap-header-auth__btn--primary:hover {
  background: linear-gradient(135deg, #6d69ff, #7c78ff);
  transform: translateY(-1px);
}
.ap-search-bar {
  flex: 1;
  max-width: 520px;
  position: relative;
  z-index: 120;
}
.ap-search-bar input {
  width: 100%;
  background: #141416 !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 14px !important;
  padding: 11px 16px 11px 44px !important;
  font-size: 14px;
  color: #e4e4e7 !important;
  transition: border-color 0.25s, box-shadow 0.25s !important;
}
.ap-search-bar input:focus {
  border-color: rgba(91,87,245,0.5) !important;
  box-shadow: 0 0 0 3px rgba(91,87,245,0.12) !important;
  background: #0a0a0c !important;
}
.ap-search-bar i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #71717a;
  pointer-events: none;
}
.ap-search-bar form {
  position: relative;
}
.ap-search-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 300;
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  max-height: 380px;
  overflow-y: auto;
}
.ap-search-dropdown--mobile,
.ap-search-dropdown--menu {
  position: relative;
  top: 8px;
  left: auto;
  right: auto;
}
.ap-search-dropdown__list {
  list-style: none;
  margin: 0;
  padding: 6px;
}
.ap-search-dropdown__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #e4e4e7;
  text-decoration: none;
  transition: background 0.15s;
}
.ap-search-dropdown__item:hover {
  background: rgba(91, 87, 245, 0.12);
  color: #fff;
}
.ap-search-dropdown__thumb {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #0a0a0c;
}
.ap-search-dropdown__icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(91, 87, 245, 0.15);
  color: #a5a3ff;
  flex-shrink: 0;
  font-size: 1rem;
}
.ap-search-dropdown__icon--cat {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
}
.ap-search-dropdown__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ap-search-dropdown__title {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ap-search-dropdown__meta {
  font-size: 11px;
  color: #71717a;
  font-weight: 600;
}
.ap-search-dropdown__empty {
  margin: 0;
  padding: 14px 16px;
  font-size: 13px;
  color: #71717a;
  text-align: center;
}

/* Tawk.to canlı destek widget */
#tawk-bubble-container,
.tawk-min-container,
.tawk-max-container,
iframe[title*="chat" i],
iframe[src*="tawk.to"] {
  z-index: 2147483000 !important;
}
.ap-nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #a1a1aa;
  background: #141416;
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.25s cubic-bezier(.22,.61,.36,1);
}
.ap-nav-pill:hover {
  color: #fff;
  border-color: rgba(91,87,245,0.35);
  background: rgba(91,87,245,0.12);
}
.ap-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px var(--accent-glow);
}
.ap-mobile-search {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  padding: 20px 16px;
  animation: apFadeIn 0.25s ease;
}
.ap-mobile-search[hidden],
.ap-mobile-search:not(.is-open) {
  display: none !important;
}
body.ap-mobile-search-open,
body.ap-mobile-menu-open {
  overflow: hidden;
}
.ap-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 110;
}
.ap-mobile-menu[hidden],
.ap-mobile-menu:not(.is-open) {
  display: none !important;
}
.ap-mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.ap-mobile-menu__panel {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: min(85%, 24rem);
  max-width: 100%;
  background: #0a0a0c;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 4px 0 32px rgba(0, 0, 0, 0.55);
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.ap-mobile-menu.is-open .ap-mobile-menu__panel.is-visible,
.ap-mobile-menu.is-open .ap-mobile-menu__panel {
  transform: translateX(0);
}
.ap-mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.ap-mobile-menu__body {
  padding: 1rem;
}
@keyframes apFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.ap-mobile-nav__label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #52525b;
  padding: 0.75rem 1rem 0.35rem;
}
.ap-subheader {
  display: none;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(16,16,18,0.98), rgba(8,8,10,0.99));
  padding: 0 0 10px;
}
@media (min-width: 768px) {
  .ap-subheader { display: block; }
}
.ap-subheader__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
}
.ap-subheader__cats {
  flex: 1;
  min-width: 0;
}
.ap-subheader__extras {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  padding: 6px 2px 4px 8px;
  margin-left: auto;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}
.ap-subheader__extras .ap-header-nav__link--reward {
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.08);
}
.ap-subheader__extras .ap-header-nav__link--reward i { color: #fbbf24; }
.ap-subheader__extras .ap-header-nav__link--sub {
  border-color: rgba(91, 87, 245, 0.35);
  background: rgba(91, 87, 245, 0.1);
}
.ap-header-nav--unified {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 2px 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(91, 87, 245, 0.45) transparent;
  -webkit-overflow-scrolling: touch;
}
.ap-header-nav--unified::-webkit-scrollbar { height: 4px; }
.ap-header-nav--unified::-webkit-scrollbar-thumb {
  background: rgba(91, 87, 245, 0.45);
  border-radius: 999px;
}
.ap-header-nav__link--pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 700;
  color: #d4d4d8;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.15s;
}
.ap-header-nav__link--pill i {
  font-size: 15px;
  color: #9d9af5;
  width: 17px;
  text-align: center;
  flex-shrink: 0;
}
.ap-header-nav__link--pill:hover {
  color: #fff;
  background: rgba(91, 87, 245, 0.16);
  border-color: rgba(91, 87, 245, 0.38);
  transform: translateY(-1px);
}
.ap-header-nav__link--pill.ap-header-nav__link--all {
  background: rgba(91, 87, 245, 0.22);
  border-color: rgba(91, 87, 245, 0.42);
  color: #fff;
}
.ap-header-nav__link--pill.ap-header-nav__link--all i { color: #c4c2ff; }
.ap-header-nav__link--pill.ap-header-nav__link--cat:hover {
  color: #fff;
  background: color-mix(in srgb, var(--cat-hover, var(--ap-primary, #5b57f5)) 22%, transparent);
  border-color: color-mix(in srgb, var(--cat-hover, var(--ap-primary, #5b57f5)) 45%, transparent);
}
.ap-header-nav__link--cat {
  padding: 9px 14px;
  gap: 9px;
}
.ap-header-nav__link--cat > i {
  font-size: 18px;
  width: 22px;
  text-align: center;
}
.ap-header-nav__cat-icon {
  width: 22px;
  height: 22px;
  max-width: 22px;
  max-height: 22px;
  object-fit: contain;
  object-position: center;
  border-radius: 5px;
  flex-shrink: 0;
  display: block;
}
.ap-header-nav__link--kasalar.ap-kasalar-rgb {
  padding: 10px 15px;
  gap: 8px;
  animation: apKasaLinkPulse 2s ease-in-out infinite;
  border-color: rgba(255, 45, 135, 0.28);
  background: rgba(255, 45, 135, 0.08);
}
.ap-header-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  min-height: 44px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #e4e4e7;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  position: relative;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.15s;
}
.ap-header-action-btn i { font-size: 16px; color: #a5a3ff; }
.ap-header-action-btn:hover {
  color: #fff;
  background: rgba(91, 87, 245, 0.14);
  border-color: rgba(91, 87, 245, 0.35);
}
.ap-header-action-btn:active { transform: scale(0.97); }
.ap-header-action-btn--icon { padding: 10px 12px; }
.ap-header-action-btn--cart { padding-right: 16px; }
.ap-header-action-btn__label {
  max-width: 7rem;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 639px) {
  .ap-header-action-btn__label { display: none; }
  .ap-header-action-btn__label--account {
    display: inline;
    max-width: 5.5rem;
  }
  .ap-header-action-btn--account { padding: 10px 12px; }
  .ap-header-action-btn--cart { padding: 10px 12px; }
}
.ap-header-action-btn__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #f43f5e;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ap-header-actions { gap: 8px; }
.ap-icon-btn {
  width: 44px;
  height: 44px;
}
.ap-header-auth__btn {
  padding: 11px 18px;
  font-size: 14px;
}
.ap-header-auth__btn--primary {
  padding: 12px 22px;
  font-size: 15px;
}
.ap-search-bar input {
  padding: 12px 16px 12px 44px !important;
  font-size: 15px;
}
@media (min-width: 1024px) {
  .ap-header__inner {
    min-height: 72px;
  }
}

/* Hero carousel */
.ap-hero {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 200px;
  background: #141416;
  border: 1px solid rgba(255,255,255,0.06);
}
@media (min-width: 768px) { .ap-hero { min-height: 280px; } }
@media (min-width: 1024px) { .ap-hero { min-height: 340px; } }
.ap-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
.ap-hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.ap-hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.ap-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.45) 45%, rgba(0,0,0,0.15) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 24px 72px;
}
@media (min-width: 768px) {
  .ap-hero__overlay { padding: 40px 48px 80px; }
}
.ap-hero__badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
  animation: apPulseBadge 2.5s ease-in-out infinite;
}
@keyframes apPulseBadge {
  0%, 100% { border-color: rgba(255,255,255,0.25); box-shadow: none; }
  50% { border-color: rgba(91,87,245,0.6); box-shadow: 0 0 20px rgba(91,87,245,0.25); }
}
.ap-hero__title {
  font-size: clamp(1.5rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.ap-hero__desc {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  max-width: 420px;
  margin-bottom: 20px;
  line-height: 1.5;
}
.ap-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 8px 28px rgba(91,87,245,0.45);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.ap-hero__cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(91,87,245,0.55);
}
.ap-hero__tabs {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  gap: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.6));
  padding: 0 8px 8px;
}
.ap-hero__tab {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  border-radius: 12px 12px 0 0;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  text-align: left;
}
.ap-hero__tab:hover { color: rgba(255,255,255,0.85); }
.ap-hero__tab.is-active {
  color: #fff;
  border-bottom-color: var(--accent);
  background: rgba(91,87,245,0.12);
}
.ap-hero__tab-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.ap-hero__tab.is-active .ap-hero__tab-icon {
  background: rgba(91,87,245,0.25);
  color: var(--accent-hover);
}
.ap-hero__tab-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}
.ap-hero__tab-sub {
  font-size: 10px;
  opacity: 0.7;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

/* Trust / feature cards */
.ap-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}
@media (min-width: 768px) {
  .ap-features { grid-template-columns: repeat(4, 1fr); gap: 14px; }
}
.ap-feature {
  background: #141416;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 18px 14px;
  text-align: center;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  animation: apFadeUp 0.5s ease backwards;
}
.ap-feature:nth-child(1) { animation-delay: 0.05s; }
.ap-feature:nth-child(2) { animation-delay: 0.1s; }
.ap-feature:nth-child(3) { animation-delay: 0.15s; }
.ap-feature:nth-child(4) { animation-delay: 0.2s; }
@keyframes apFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.ap-feature:hover {
  transform: translateY(-4px);
  border-color: rgba(91,87,245,0.25);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.ap-feature__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.ap-feature__title {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.25;
}
.ap-feature__sub {
  font-size: 12px;
  color: #a1a1aa;
  line-height: 1.35;
}
.ap-features--animated .ap-feature--anim {
  animation: apFeatureFloat 4s ease-in-out infinite;
}
.ap-features--animated .ap-feature:nth-child(1) { animation-delay: 0s; }
.ap-features--animated .ap-feature:nth-child(2) { animation-delay: 0.4s; }
.ap-features--animated .ap-feature:nth-child(3) { animation-delay: 0.8s; }
.ap-features--animated .ap-feature:nth-child(4) { animation-delay: 1.2s; }
.ap-features--animated .ap-feature__icon {
  animation: apFeatureIconPulse 2.5s ease-in-out infinite;
}
@keyframes apFeatureFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes apFeatureIconPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 rgba(91,87,245,0); }
  50% { transform: scale(1.06); box-shadow: 0 0 20px rgba(91,87,245,0.2); }
}

/* Fiyat — indirim */
.ap-price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; }
.ap-price--card {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  max-width: 100%;
  line-height: 1.2;
}
.ap-price__compare {
  font-size: 0.85em;
  color: #71717a;
  text-decoration: line-through;
  font-weight: 600;
}
.ap-price--detail .ap-price__compare { font-size: 1.1rem; }
.ap-price__current {
  font-weight: 900;
  color: var(--price-turquoise, #40e0d0);
  letter-spacing: -0.02em;
}
.ap-price--card .ap-price__current { font-size: 1.25rem; color: var(--price-turquoise, #40e0d0); }
.ap-price--card.ap-price--single {
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--price-turquoise, #40e0d0);
  letter-spacing: -0.02em;
}
.ap-price--detail .ap-price__current { font-size: 2rem; }
.ap-price__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(244, 63, 94, 0.2);
  border: 1px solid rgba(244, 63, 94, 0.35);
  color: #fb7185;
  font-size: 0.8rem;
  font-weight: 800;
  margin-left: 8px;
  vertical-align: middle;
}
.ap-product-detail__price-value { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.ap-product-card__img-wrap > .ap-product-card__badge--sale {
  background: rgba(244, 63, 94, 0.9) !important;
  color: #fff !important;
}
@keyframes ap-badge-popular-glow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.55), 0 4px 12px rgba(0, 0, 0, 0.25);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 22px rgba(249, 115, 22, 0.95), 0 0 36px rgba(239, 68, 68, 0.45), 0 4px 14px rgba(0, 0, 0, 0.3);
    transform: scale(1.04);
  }
}
@keyframes ap-badge-popular-shine {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes ap-badge-fire-flicker {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.75; transform: scale(1.15); }
}
.ap-product-card--discount .ap-product-card__price-row {
  min-height: auto;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 6px;
}
.ap-product-card__price-row .ap-price--card {
  width: 100%;
}
.ap-product-card__price-row .ap-price__compare {
  font-size: 0.75rem;
  order: 2;
}
.ap-product-card__price-row .ap-price__current {
  order: 1;
}

/* Ana sayfa — popüler kategoriler (4 kutu, soldan sağa, max 480×320) */
.ap-home-cat-tiles {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: clamp(8px, 1.2vw, 16px);
  width: 100%;
}
.ap-home-cat-tile {
  position: relative;
  display: block;
  flex: 1 1 0;
  min-width: 0;
  max-width: 480px;
  aspect-ratio: 480 / 320;
  height: auto;
  border-radius: clamp(10px, 1.2vw, 18px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #141416;
  transition: transform 0.3s cubic-bezier(.22,.61,.36,1), border-color 0.3s, box-shadow 0.3s;
}
.ap-home-cat-tile__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s cubic-bezier(.22,.61,.36,1);
}
.ap-home-cat-tile__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(91, 87, 245, 0) 0%,
    rgba(91, 87, 245, 0.15) 50%,
    rgba(0, 0, 0, 0.55) 100%
  );
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.ap-home-cat-tile:hover {
  transform: translateY(-6px);
  border-color: rgba(91, 87, 245, 0.45);
  box-shadow: 0 20px 40px rgba(91, 87, 245, 0.2);
}
.ap-home-cat-tile:hover .ap-home-cat-tile__img {
  transform: scale(1.06);
}
.ap-home-cat-tile:hover .ap-home-cat-tile__shine {
  opacity: 1;
}

/* Ana sayfa — ürün şeritleri (soldan sağa, tek satır, max kart genişliği) */
.ap-home-products-row {
  --ap-home-product-card-max: 260px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: clamp(8px, 1vw, 20px);
  width: 100%;
}
@media (min-width: 768px) {
  .ap-home-products-row { --ap-home-product-card-max: 280px; }
}
.ap-home-products-row .ap-product-card--v2 {
  flex: 1 1 0;
  min-width: 0;
  max-width: var(--ap-home-product-card-max);
  width: auto;
}
.ap-home-products-row .ap-product-card__img-wrap {
  aspect-ratio: var(--ap-listing-aspect, 1110 / 750);
  width: 100%;
  max-height: none;
}
.ap-home-products-row .ap-product-card__img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
}

/* Section headings */
.ap-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}
.ap-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
}
.ap-section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 2px;
  margin-left: 4px;
}
.ap-section-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-hover);
  white-space: nowrap;
  transition: color 0.2s;
}
.ap-section-link:hover { color: #fff; }

/* Footer */
.ap-footer {
  background: #000 !important;
  border-top: 1px solid rgba(255,255,255,0.06) !important;
  color: #9ca3af;
  margin-top: auto;
}
.ap-footer__newsletter {
  background: linear-gradient(135deg, rgba(91,87,245,0.15), rgba(91,87,245,0.03));
  border: 1px solid rgba(91,87,245,0.2);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  margin-bottom: 40px;
}
.ap-footer__newsletter input {
  flex: 1;
  min-width: 0;
  background: #0a0a0c !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
}
.ap-footer__company {
  background: #141416;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.ap-footer__company-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #71717a;
  margin-bottom: 8px;
}
.ap-footer__company-label::before {
  content: '';
  width: 3px;
  height: 14px;
  background: var(--accent);
  border-radius: 2px;
}
.ap-footer__info-row {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 13px;
  line-height: 1.5;
}
.ap-footer__info-row:last-child { border-bottom: none; }
.ap-footer__info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #0a0a0c;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #71717a;
  flex-shrink: 0;
}
.ap-footer__payments {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding-top: 20px;
}
.ap-footer__pay-icon {
  width: 44px;
  height: 30px;
  border-radius: 8px;
  background: #141416;
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #71717a;
  font-size: 18px;
}
.ap-product-card {
  background: #141416 !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  border-radius: var(--radius-lg) !important;
}
.ap-product-card:hover {
  border-color: rgba(91,87,245,0.35) !important;
  box-shadow: 0 16px 40px rgba(91,87,245,0.12) !important;
}

/* ── Shared page layout ───────────────────────────── */
.ap-page { padding: 2rem 0 3rem; }
.ap-page-header { margin-bottom: 2rem; }
.ap-page-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}
.ap-page-sub { color: #71717a; font-size: 15px; font-weight: 500; }
.ap-badge-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #141416;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #a1a1aa;
}
.ap-badge-count__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: apPulseDot 2s ease infinite;
}
@keyframes apPulseDot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

.ap-card {
  background: #141416;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
}
.ap-card-pad { padding: 1.5rem; }

.ap-breadcrumb-bar {
  background: #0a0a0c;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ap-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #71717a;
  padding: 14px 0;
}
.ap-breadcrumb a { color: #a1a1aa; transition: color 0.2s; }
.ap-breadcrumb a:hover { color: #6d69ff; }
.ap-breadcrumb span.sep { color: #3f3f46; margin: 0 4px; }
.ap-breadcrumb .current { color: #fff; }

.ap-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: #5b57f5 !important;
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(91,87,245,0.35);
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.ap-btn-primary:hover {
  background: #6d69ff !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(91,87,245,0.45);
}
.ap-btn-primary:active { transform: scale(0.98); }
.ap-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: transparent;
  color: #a1a1aa;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  transition: all 0.2s;
  text-decoration: none;
}
.ap-btn-secondary:hover { color: #fff; border-color: rgba(91,87,245,0.4); background: rgba(91,87,245,0.08); }
.ap-btn-disabled {
  background: rgba(239,68,68,0.1) !important;
  color: #f87171 !important;
  border: 1px solid rgba(239,68,68,0.2) !important;
  cursor: not-allowed;
  box-shadow: none !important;
}

.ap-input,
.ap-input-icon input {
  width: 100%;
  background: #0a0a0c !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  color: #f4f4f5 !important;
  border-radius: 14px !important;
  padding: 12px 16px !important;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ap-input:focus {
  border-color: rgba(91,87,245,0.5) !important;
  box-shadow: 0 0 0 3px rgba(91,87,245,0.12) !important;
  outline: none !important;
}
.ap-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #71717a;
  margin-bottom: 8px;
}

.ap-alert {
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1.25rem;
  line-height: 1.5;
  text-align: left;
}
.ap-alert > i:first-child,
.ap-alert__icon {
  flex-shrink: 0;
  font-size: 1.2rem;
  line-height: 1.35;
  margin-top: 1px;
}
.ap-alert__body { flex: 1; min-width: 0; }
.ap-alert__title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: inherit;
}
.ap-alert__text {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
  opacity: 0.95;
}
.ap-alert--success { background: rgba(34,197,94,0.12); color: #4ade80; border: 1px solid rgba(34,197,94,0.25); }
.ap-alert--error { background: rgba(239,68,68,0.12); color: #f87171; border: 1px solid rgba(239,68,68,0.25); }
.ap-alert--warning { background: rgba(245,158,11,0.12); color: #fbbf24; border: 1px solid rgba(245,158,11,0.25); }
.ap-alert--info { background: rgba(91,87,245,0.12); color: #a5b4fc; border: 1px solid rgba(91,87,245,0.25); }
.ap-alert a { color: inherit; text-decoration: underline; font-weight: 700; }

/* Şifre kuralları (anlık) */
.ap-password-rules {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
}
.ap-password-rules__title {
  margin: 0 0 8px;
  color: #a1a1aa;
  line-height: 1.45;
}
.ap-password-rules__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ap-password-rules__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  color: #71717a;
  transition: color 0.15s;
}
.ap-password-rules__list li i::before {
  content: '○';
  font-style: normal;
  font-size: 10px;
}
.ap-password-rules__list li.is-ok {
  color: #4ade80;
}
.ap-password-rules__list li.is-ok i::before {
  content: '✓';
  color: #4ade80;
}
.ap-password-rules__list li.is-bad {
  color: #f87171;
}
.ap-password-rules.is-valid {
  border-color: rgba(34,197,94,0.35);
  background: rgba(34,197,94,0.08);
}

/* Bildirim anahtarları */
.ap-notify-toggles {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ap-notify-toggle {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.ap-notify-toggle:hover {
  border-color: rgba(91,87,245,0.4);
  background: rgba(91,87,245,0.06);
}
.ap-notify-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.ap-notify-toggle__box {
  flex-shrink: 0;
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: #3f3f46;
  position: relative;
  transition: background 0.2s;
  margin-top: 2px;
}
.ap-notify-toggle__box::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.35);
  transition: transform 0.2s;
}
.ap-notify-toggle input:checked + .ap-notify-toggle__box {
  background: #5b57f5;
}
.ap-notify-toggle input:checked + .ap-notify-toggle__box::after {
  transform: translateX(20px);
}
.ap-notify-toggle input:focus-visible + .ap-notify-toggle__box {
  outline: 2px solid #a5a3ff;
  outline-offset: 2px;
}
.ap-notify-toggle__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.ap-notify-toggle__text strong {
  color: #fff;
  font-size: 14px;
}
.ap-notify-toggle__text small {
  color: #71717a;
  font-size: 12px;
  line-height: 1.4;
}

.ap-empty {
  text-align: center;
  padding: 4rem 2rem;
  background: #141416;
  border: 1px dashed rgba(255,255,255,0.12);
  border-radius: 24px;
}
.ap-empty__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: rgba(91,87,245,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #6d69ff;
}

.ap-filter-panel { background: #141416; border: 1px solid rgba(255,255,255,0.06); border-radius: 20px; overflow: hidden; }
.ap-filter-panel__head { padding: 1.25rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
.ap-filter-panel__head h2 { font-size: 1.15rem; font-weight: 800; color: #fff; }
.ap-filter-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  color: #a1a1aa;
  transition: all 0.2s;
}
.ap-filter-link:hover { background: rgba(255,255,255,0.04); color: #fff; }
.ap-filter-link.is-active { background: #5b57f5; color: #fff; }

.ap-auth-page {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  position: relative;
}
.ap-auth-card {
  width: 100%;
  max-width: 420px;
  background: #141416;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
  position: relative;
  z-index: 1;
}
.ap-auth-card__bar { height: 4px; background: linear-gradient(90deg, #5b57f5, #8b7dff, #5b57f5); background-size: 200% 100%; animation: gradientShift 4s ease infinite; }
.ap-auth-card__body { padding: 2rem 2rem 1.5rem; }
.ap-auth-card__foot {
  padding: 1rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: #0a0a0c;
  text-align: center;
  font-size: 14px;
  color: #71717a;
}
.ap-auth-card__foot a { color: #6d69ff; font-weight: 700; }

.ap-account-layout { display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 1024px) {
  .ap-account-layout { flex-direction: row; align-items: flex-start; }
}
.ap-account-sidebar {
  background: #141416;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  overflow: hidden;
}
.ap-account-sidebar__head {
  padding: 1.75rem 1.25rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(91,87,245,0.15), transparent);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ap-account-sidebar__avatar {
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
  border-radius: 18px;
  background: #5b57f5;
  color: #fff;
  font-size: 1.75rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(91,87,245,0.4);
}
.ap-account-sidebar__balance {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 14px;
  background: rgba(0,0,0,0.35);
  border-radius: 12px;
  font-weight: 800;
  color: #fff;
  font-size: 14px;
}
.ap-account-sidebar__balance-add {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: #5b57f5;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}
.ap-account-sidebar__nav { padding: 10px; }
.ap-account-sidebar__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  color: #a1a1aa;
  transition: all 0.2s;
  margin-bottom: 4px;
}
.ap-account-sidebar__link i { width: 20px; text-align: center; }
.ap-account-sidebar__link:hover { background: rgba(255,255,255,0.05); color: #fff; }
.ap-account-sidebar__link.is-active {
  background: #5b57f5;
  color: #fff;
  box-shadow: 0 8px 20px rgba(91,87,245,0.35);
}
.ap-account-sidebar__link--danger { color: #f87171; }
.ap-account-sidebar__link--danger:hover { background: rgba(239,68,68,0.1); color: #fca5a5; }

.ap-table-wrap {
  background: #141416;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}
.ap-table { width: 100%; border-collapse: collapse; }
.ap-table th {
  text-align: left;
  padding: 14px 18px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #71717a;
  background: #0a0a0c;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ap-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: #e4e4e7;
  font-weight: 600;
  font-size: 14px;
}
.ap-table tr.cat-row td {
  background: rgba(91,87,245,0.1);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ap-table tr:last-child td { border-bottom: none; }
.ap-table .prod-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}
.ap-table .prod-link:hover { color: #6d69ff; }
.ap-table .go-btn {
  margin-left: auto;
  padding: 6px 12px;
  background: #5b57f5;
  color: #fff;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 800;
}
.ap-table .price { text-align: right; font-weight: 800; color: #6d69ff; white-space: nowrap; }

.ap-tabs { display: flex; border-bottom: 1px solid rgba(255,255,255,0.08); }
.ap-tab {
  flex: 1;
  padding: 14px;
  font-size: 14px;
  font-weight: 700;
  color: #71717a;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.ap-tab.is-active, .ap-tab:hover { color: #6d69ff; }
.ap-tab.is-active { border-bottom-color: #5b57f5; background: rgba(91,87,245,0.08); }

.product-card-compact .product-card-title {
  font-size: 14px !important;
  min-height: 36px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-compact .product-image-wrap {
  height: 220px !important;
  padding: 0 !important;
  overflow: hidden;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card-compact .product-image-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  transform: scale(1.12);
}
.product-card-compact .price { font-size: 18px !important; }
.product-card-compact .btn { padding-top: 10px; padding-bottom: 10px; font-size: 13px; border-radius: 12px; }
.product-grid-compact { gap: 14px !important; }
.product-card-compact .p-5 { padding: 14px !important; }

.best-wrap, .hscroll { border-color: rgba(255,255,255,0.06) !important; background: #141416 !important; }
.slider-btn, .best-nav { background: #141416 !important; border-color: rgba(255,255,255,0.1) !important; color: #fff !important; }

/* Topbar */
.ap-topbar { background: #0a0a0c; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 13px; z-index: 110; position: relative; }
.ap-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; flex-wrap: wrap; }
.ap-topbar__left { display: flex; align-items: center; gap: 8px; color: #a1a1aa; font-weight: 600; }
.ap-topbar__right { display: flex; align-items: center; gap: 8px; }
.ap-topbar__btn { width: 32px; height: 32px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.08); background: #141416; color: #e4e4e7; cursor: pointer; transition: 0.2s; }
.ap-topbar__btn:hover { border-color: var(--ap-primary, #5b57f5); color: #fff; }
.ap-topbar__select { background: #141416; border: 1px solid rgba(255,255,255,0.08); color: #e4e4e7; border-radius: 8px; padding: 7px 11px; font-size: 13px; font-weight: 700; cursor: pointer; }

/* Nav category hover underline */
.ap-nav-pill--cat { position: relative; }
.ap-nav-pill--cat::after {
  content: '';
  position: absolute;
  left: 12px; right: 12px; bottom: 4px;
  height: 2px;
  background: var(--nav-hover, var(--ap-primary, #5b57f5));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s cubic-bezier(.22,.61,.36,1);
}
.ap-nav-pill--cat:hover::after { transform: scaleX(1); }

/* Product card v2 */
/* Sticky footer layout */
.ap-site { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.ap-site-main { flex: 1 0 auto; display: flex; flex-direction: column; width: 100%; }
.ap-page { flex: 1 0 auto; }
.ap-footer--layout { margin-top: auto !important; flex-shrink: 0; width: 100%; }

/* Product grid — larger cards, fewer columns */
.ap-products-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 640px) {
  .ap-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
}
@media (min-width: 768px) {
  .ap-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
  .ap-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}
.ap-products-grid--home {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 768px) {
  .ap-products-grid--home { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .ap-products-grid--home { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.ap-product-card--v2 {
  background: linear-gradient(165deg, #18181b 0%, #121214 100%);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(.22,.61,.36,1), box-shadow 0.35s ease, border-color 0.35s ease;
  animation: apCardIn 0.5s cubic-bezier(.22,.61,.36,1) backwards;
}
@keyframes apCardIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.ap-products-grid .ap-product-card--v2:nth-child(1) { animation-delay: 0.02s; }
.ap-products-grid .ap-product-card--v2:nth-child(2) { animation-delay: 0.05s; }
.ap-products-grid .ap-product-card--v2:nth-child(3) { animation-delay: 0.08s; }
.ap-products-grid .ap-product-card--v2:nth-child(4) { animation-delay: 0.11s; }
.ap-products-grid .ap-product-card--v2:nth-child(5) { animation-delay: 0.14s; }
.ap-products-grid .ap-product-card--v2:nth-child(6) { animation-delay: 0.17s; }
.ap-products-grid .ap-product-card--v2:nth-child(n+7) { animation-delay: 0.2s; }

.ap-product-card--v2:hover {
  transform: translateY(-8px);
  border-color: rgba(91,87,245,0.55);
  box-shadow: 0 24px 48px rgba(91,87,245,0.22), 0 0 0 1px rgba(91,87,245,0.15);
}
.ap-product-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.35) 100%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.ap-product-card--v2:hover .ap-product-card__media::after { opacity: 1; }
.ap-product-card__img-wrap {
  position: relative;
  aspect-ratio: var(--ap-listing-aspect, 1110 / 750);
  min-height: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(91,87,245,0.12), rgba(0,0,0,0.45) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ap-product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
  transition: transform 0.45s cubic-bezier(.22,.61,.36,1);
}
.ap-product-card--v2:hover .ap-product-card__img { transform: scale(1.08); }
.ap-product-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  right: auto;
  z-index: 3;
  background: linear-gradient(135deg, #facc15, #f59e0b);
  color: #713f12;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 10px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  pointer-events: none;
  white-space: nowrap;
}
.ap-product-card__badge--sale {
  top: 10px;
  left: 10px;
  right: auto;
}
.ap-product-card__badge--popular {
  top: 10px;
  right: 10px;
  left: auto !important;
  background: linear-gradient(135deg, #fb923c, #ef4444, #f97316);
  background-size: 200% 200%;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px 4px 10px 10px;
  animation: ap-badge-popular-glow 2.2s ease-in-out infinite, ap-badge-popular-shine 3.5s linear infinite;
}
.ap-product-card__badge--popular i {
  margin-right: 4px;
  animation: ap-badge-fire-flicker 1.4s ease-in-out infinite;
}
.ap-product-card__body { padding: 18px 20px 20px !important; }
.ap-product-card__title {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.35;
  min-height: 44px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 768px) {
  .ap-product-card__title { font-size: 17px; min-height: 48px; }
}
.ap-product-card__title a:hover { color: var(--ap-primary, #6d69ff); }

/* Alt kategori — ürün kartı görünümü, sadece görsel + isim */
a.ap-product-card--subcategory {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.ap-product-card--subcategory .ap-product-card__body {
  padding: 16px 14px 20px !important;
  flex-grow: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 4.25rem;
}
.ap-product-card--subcategory .ap-product-card__title {
  margin: 0 auto;
  min-height: 0;
  width: 100%;
  text-align: center;
  font-size: 1.0625rem;
  line-height: 1.35;
  -webkit-line-clamp: 3;
}
@media (min-width: 768px) {
  .ap-product-card--subcategory .ap-product-card__title { font-size: 1.1875rem; }
  .ap-product-card--subcategory .ap-product-card__body { min-height: 4.75rem; padding: 18px 16px 22px !important; }
}
.ap-product-card--subcategory .ap-product-card__img-wrap {
  aspect-ratio: var(--ap-category-banner-aspect, 2350 / 400);
}
.ap-product-card--subcategory .ap-product-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 2.5rem;
  color: #6d69ff;
  opacity: 0.85;
}

.ap-product-card__rating { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.ap-product-card__price-row { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 14px; }
.ap-product-card__price { font-size: 22px; font-weight: 900; color: var(--price-turquoise, #40e0d0); letter-spacing: -0.02em; }
@media (min-width: 768px) {
  .ap-product-card__price { font-size: 24px; }
}
.ap-product-card__btn {
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.ap-product-card__btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(91,87,245,0.35); }

/* Market page */
.ap-market-hero {
  background: linear-gradient(135deg, rgba(91,87,245,0.15), rgba(0,0,0,0.4));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 24px 28px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}
.ap-market-hero::before {
  content: '';
  position: absolute;
  right: -40px; top: -40px;
  width: 180px; height: 180px;
  background: rgba(91,87,245,0.2);
  border-radius: 50%;
  filter: blur(40px);
}
.ap-market-sidebar {
  background: #141416;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden;
}
.ap-market-sidebar__head {
  padding: 20px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(91,87,245,0.06);
}
.ap-filter-link--child {
  font-size: 13px;
}
.ap-market-sidebar .ap-filter-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.ap-market-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 16px;
}
.ap-market-cat-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #141416;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.ap-market-cat-card:hover {
  border-color: rgba(91, 87, 245, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.ap-market-cat-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
}
.ap-market-cat-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.ap-market-cat-card:hover .ap-market-cat-card__img {
  transform: scale(1.04);
}
.ap-market-cat-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 2rem;
  color: #52525b;
}
.ap-market-cat-card__body {
  padding: 14px 16px;
}
.ap-market-cat-card__title {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
}
.ap-market-cat-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #71717a;
  margin: 0;
}
.best-item { flex: 0 0 min(78vw, 240px) !important; scroll-snap-align: start; }
@media (min-width: 768px) {
  .best-item { flex: 0 0 280px !important; }
}
@media (min-width: 1024px) {
  .best-item { flex: 0 0 300px !important; }
}
.hitem { width: min(78vw, 240px) !important; flex: 0 0 min(78vw, 240px) !important; }
@media (min-width: 768px) {
  .hitem { width: 280px !important; flex: 0 0 280px !important; }
}
@media (min-width: 1024px) {
  .hitem { width: 300px !important; flex: 0 0 300px !important; }
}

/* Footer newsletter */
.ap-footer__newsletter-input {
  flex: 1; background: #141416; border: 1px solid rgba(255,255,255,0.1); border-radius: 14px;
  padding: 14px 16px; color: #fff; outline: none;
}
.ap-footer__newsletter-input:focus { border-color: var(--ap-primary, #5b57f5); }
.ap-footer__newsletter-btn {
  padding: 14px 28px; border-radius: 14px; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--ap-primary, #5b57f5), #7c6dff);
  color: #fff; font-weight: 800; font-size: 14px; transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(91,87,245,0.35);
}
.ap-footer__newsletter-btn:hover { transform: translateY(-2px); }

/* Product detail */
.ap-product-detail__buy { border: 1px solid rgba(91,87,245,0.25); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.ap-product-detail__meta-item {
  display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px;
  background: rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.08);
}
.ap-product-detail__meta-item i { font-size: 18px; color: var(--ap-primary, #6d69ff); }
.ap-product-detail__meta-item .label { display: block; font-size: 10px; text-transform: uppercase; color: #71717a; font-weight: 700; }
.ap-product-detail__meta-item strong { font-size: 13px; color: #fff; }
.ap-product-detail__meta-item.is-ok { border-color: rgba(16,185,129,0.25); }
.ap-product-detail__meta-item.is-bad { border-color: rgba(244,63,94,0.35); }
.ap-product-detail__meta-item.is-bad i { color: #f87171; }
.ap-product-detail__meta-item.is-delivery-meta i { color: var(--ap-primary, #6d69ff); }
.ap-product-detail__price-value { display: block; font-size: 2.5rem; font-weight: 900; color: #fff; line-height: 1; }
.ap-product-detail__price-note { display: block; margin-top: 8px; font-size: 12px; color: #71717a; font-weight: 600; }
.ap-product-detail__cta { box-shadow: 0 12px 32px rgba(91,87,245,0.35); }

/* Hero Swiper / Banner */
.ap-hero-swiper-wrap {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.ap-hero-swiper {
  width: 100%;
  max-width: 100%;
}
.ap-hero-swiper .swiper-slide {
  height: auto;
}
.ap-hero-banner {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: inherit;
}
.ap-hero-banner__media {
  display: block;
  line-height: 0;
}
.ap-hero-banner__img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center;
}
@media (min-width: 640px) {
  .ap-hero-banner__img { height: 360px; }
}
@media (min-width: 768px) {
  .ap-hero-banner__img { height: 420px; }
}
.ap-hero-banner__panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.28) 48%, transparent 72%);
  pointer-events: none;
}
.ap-hero-banner__inner {
  pointer-events: auto;
  padding: 1.5rem;
  max-width: 36rem;
  box-sizing: border-box;
}
.ap-hero-banner__inner .ap-hero__title {
  margin-top: 0.75rem;
}
.ap-hero-banner__inner .ap-hero__desc {
  margin-top: 0.5rem;
}
.ap-hero-banner__inner .ap-hero__cta {
  margin-top: 1.25rem;
}
.ap-hero-swiper .swiper-pagination-bullet { background: #fff; opacity: 0.4; }
.ap-hero-swiper .swiper-pagination-bullet-active { opacity: 1; background: var(--ap-primary, #5b57f5); width: 22px; border-radius: 6px; }
.ap-hero-swiper .swiper-button-prev,
.ap-hero-swiper .swiper-button-next { color: #fff; }
@media (max-width: 767px) {
  .ap-hero-swiper {
    border-radius: 14px;
    overflow: visible;
  }
  .ap-hero-swiper.swiper-fade .swiper-slide,
  .ap-hero-swiper .swiper-slide {
    position: relative !important;
    opacity: 1 !important;
  }
  .ap-hero-banner {
    border-radius: 14px;
    background: #0c0c0e;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }
  .ap-hero-banner__img {
    height: 150px;
    border-radius: 14px 14px 0 0;
  }
  .ap-hero-banner__panel {
    position: static;
    display: block;
    background: transparent;
    pointer-events: auto;
  }
  .ap-hero-banner__inner {
    width: 100%;
    max-width: 100%;
    padding: 0.75rem 0.875rem 1rem;
  }
  .ap-hero-banner__inner .ap-hero__title {
    font-size: 1.05rem;
    line-height: 1.25;
    margin-top: 0.4rem;
    word-break: break-word;
  }
  .ap-hero-banner__inner .ap-hero__desc {
    font-size: 0.78rem;
    line-height: 1.4;
    margin-top: 0.35rem;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .ap-hero-banner__inner .ap-hero__badge {
    font-size: 9px;
    padding: 3px 8px;
  }
  .ap-hero-banner__inner .ap-hero__cta {
    width: 100%;
    justify-content: center;
    margin-top: 0.65rem;
    padding: 0.6rem 1rem;
    font-size: 0.8125rem;
    box-sizing: border-box;
  }
  .ap-hero-swiper .swiper-pagination {
    position: relative !important;
    bottom: auto !important;
    margin-top: 10px;
  }
  .ap-hero-tabs {
    margin-top: 10px;
    max-width: 100%;
  }
  .ap-hero-tab {
    min-width: 76px;
    padding: 8px 10px 12px;
  }
  .ap-hero-tab__img {
    width: 32px;
    height: 32px;
  }
  .ap-hero-tab__label {
    font-size: 10px;
    max-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media (min-width: 768px) {
  .ap-hero-swiper {
    height: 420px;
  }
  .ap-hero-swiper .swiper-slide {
    height: 100%;
  }
  .ap-hero-banner {
    height: 100%;
    min-height: 420px;
  }
  .ap-hero-banner__media,
  .ap-hero-banner__img {
    height: 100%;
    min-height: 420px;
  }
}

/* Support ticket chat */
.ap-ticket-chat { background: #0a0a0c; }
.ap-ticket-msg { display: flex; gap: 12px; align-items: flex-start; max-width: 90%; }
.ap-ticket-msg--user { margin-left: auto; flex-direction: row-reverse; }
.ap-ticket-msg__avatar {
  width: 36px; height: 36px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 900; flex-shrink: 0;
}
.ap-ticket-msg--admin .ap-ticket-msg__avatar { background: #dc2626; color: #fff; }
.ap-ticket-msg--user .ap-ticket-msg__avatar { background: var(--ap-primary, #5b57f5); color: #fff; }
.ap-ticket-msg__bubble {
  padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.08);
  background: #141416; color: #e4e4e7; font-size: 14px; line-height: 1.5;
}
.ap-ticket-msg--user .ap-ticket-msg__bubble {
  background: rgba(91,87,245,0.2); border-color: rgba(91,87,245,0.3);
}
.ap-ticket-msg__bubble time { display: block; margin-top: 8px; font-size: 10px; color: #71717a; font-weight: 700; }
.ap-ticket-msg--user .ap-ticket-msg__bubble time { text-align: right; }

@media (max-width: 1023px) {
  .ap-product-detail__buy { position: static !important; }
}

/* Product gallery (detail) */
.ap-product-gallery__stage {
  aspect-ratio: var(--ap-listing-aspect, 1110 / 750);
  max-height: min(750px, 56vw);
  margin: 0 auto;
  background: linear-gradient(145deg, rgba(91,87,245,0.08), rgba(0,0,0,0.5));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
}
.ap-product-gallery__main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}
.ap-product-gallery__stage:hover .ap-product-gallery__main { transform: scale(1.04); }
.ap-product-gallery__thumb {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.1);
  padding: 0;
  cursor: pointer;
  background: #141416;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.ap-product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ap-product-gallery__thumb:hover { border-color: rgba(91,87,245,0.5); transform: translateY(-2px); }
.ap-product-gallery__thumb.is-active {
  border-color: var(--ap-primary, #5b57f5);
  box-shadow: 0 0 0 3px rgba(91,87,245,0.25);
}
.ap-gallery-thumbs .swiper-slide { width: auto !important; }

/* Marquee promo bar */
.ap-marquee-bar {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #0a0a0c, color-mix(in srgb, var(--marquee-accent, #5b57f5) 35%, #0a0a0c), #0a0a0c);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 10px 0;
}
.ap-marquee-bar__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.08) 50%, transparent 60%);
  animation: apMarqueeShine 4s ease-in-out infinite;
}
@keyframes apMarqueeShine { 0%,100%{transform:translateX(-100%)} 50%{transform:translateX(100%)} }
.ap-marquee-bar__track {
  display: flex;
  width: max-content;
  animation: apMarqueeScroll var(--marquee-duration, 22s) linear infinite;
  position: relative;
  z-index: 1;
}
@keyframes apMarqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ap-marquee-bar__text {
  flex-shrink: 0;
  padding: 0 48px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #fff, #c4b5fd, #fbbf24, #fff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: apMarqueeText 3s linear infinite;
  white-space: nowrap;
}
.ap-marquee-bar__text i { color: #fbbf24; -webkit-text-fill-color: #fbbf24; margin-right: 8px; }
@keyframes apMarqueeText { to { background-position: 200% center; } }

/* Balance widget */
.ap-balance-widget {
  position: relative;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 12px;
  margin-right: 4px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1a1a1f, #121214);
  border: 1px solid rgba(91,87,245,0.35);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.ap-balance-widget:hover {
  transform: translateY(-2px);
  border-color: rgba(91,87,245,0.6);
  box-shadow: 0 12px 32px rgba(91,87,245,0.25);
}
.ap-balance-widget__glow {
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle, rgba(91,87,245,0.2), transparent 60%);
  animation: apBalancePulse 2.5s ease-in-out infinite;
}
@keyframes apBalancePulse { 0%,100%{opacity:0.4;transform:scale(1)} 50%{opacity:1;transform:scale(1.1)} }
.ap-balance-widget__icon {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #5b57f5, #7c6dff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  box-shadow: 0 4px 16px rgba(91,87,245,0.4);
}
.ap-balance-widget__meta { position: relative; display: flex; flex-direction: column; line-height: 1.2; }
.ap-balance-widget__label { font-size: 10px; font-weight: 700; text-transform: uppercase; color: #71717a; letter-spacing: 0.06em; }
.ap-balance-widget__amount { font-size: 17px; font-weight: 900; color: #fff; letter-spacing: -0.02em; }
.ap-balance-widget__add {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #5b57f5;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}
.ap-balance-widget--sm {
  padding: 7px 11px 7px 9px;
  gap: 9px;
  border-radius: 13px;
  margin-right: 2px;
}
.ap-balance-widget--sm .ap-balance-widget__icon {
  width: 32px;
  height: 32px;
  font-size: 14px;
  border-radius: 10px;
}
.ap-balance-widget--sm .ap-balance-widget__label { font-size: 9px; }
.ap-balance-widget--sm .ap-balance-widget__amount { font-size: 14px; }
.ap-balance-widget--xs {
  padding: 8px 12px;
  gap: 8px;
  border-radius: 10px;
  min-height: 44px;
}
.ap-balance-widget--xs .ap-balance-widget__glow,
.ap-balance-widget--xs .ap-balance-widget__label,
.ap-balance-widget--xs .ap-balance-widget__meta { display: none; }
.ap-balance-widget--xs .ap-balance-widget__icon {
  display: flex;
  width: 28px;
  height: 28px;
  font-size: 13px;
}
.ap-balance-widget--xs .ap-balance-widget__amount {
  font-size: 15px;
  font-weight: 800;
}
.ap-balance-widget--xs .ap-balance-widget__add {
  width: 24px;
  height: 24px;
  font-size: 11px;
  border-radius: 7px;
}
.ap-footer__contact a { text-decoration: none; }
.ap-balance-widget--sm .ap-balance-widget__add {
  width: 24px;
  height: 24px;
  font-size: 10px;
  border-radius: 7px;
}

/* SweetAlert delivery + product meta pulse */
.ap-product-detail__meta-item.is-manual {
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.08);
}
.ap-product-detail__meta-item.is-manual i { color: #fbbf24; }
.ap-product-detail__meta-item.is-auto-stock {
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.07);
}
.ap-product-detail__meta-item.is-auto-stock i { color: #34d399; }
.ap-product-detail__pulse-label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.ap-product-detail__pulse-label--green {
  color: #4ade80 !important;
  animation: apLabelGlow 2s ease-in-out infinite;
}
.ap-product-detail__pulse-label--amber {
  color: #fbbf24 !important;
  animation: apLabelGlow 2.4s ease-in-out infinite;
}
@keyframes apLabelGlow {
  0%, 100% { filter: brightness(1); text-shadow: 0 0 0 transparent; }
  50% { filter: brightness(1.15); text-shadow: 0 0 18px rgba(74, 222, 128, 0.35); }
}
.ap-product-detail__meta-item.is-manual .ap-product-detail__pulse-label--amber {
  animation-name: apLabelGlowAmber;
}
@keyframes apLabelGlowAmber {
  0%, 100% { filter: brightness(1); text-shadow: 0 0 0 transparent; }
  50% { filter: brightness(1.12); text-shadow: 0 0 16px rgba(251, 191, 36, 0.4); }
}
.ap-product-detail__stock-hint {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #a1a1aa;
  margin-top: 4px;
}
.ap-product-stok-anim {
  animation: apStokPulse 1.8s ease-in-out infinite;
}
@keyframes apStokPulse {
  0%, 100% { opacity: 0.75; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(2px); color: #86efac; }
}
.ap-delivery-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.06) 45%, transparent 60%);
  background-size: 200% 100%;
  animation: apShine 3s ease infinite;
  pointer-events: none;
}
@keyframes apShine { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.ap-delivery-swal-popup {
  border-radius: 1.35rem !important;
  border: 1px solid rgba(74, 222, 128, 0.2) !important;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255,255,255,0.06) inset !important;
}
.ap-swal-pretty-confirm {
  border-radius: 12px !important;
  padding: 0.65rem 1.35rem !important;
  font-weight: 800 !important;
  background: linear-gradient(135deg, #5b57f5, #6d69ff) !important;
  color: #fff !important;
  margin: 0 0.35rem !important;
}
.ap-swal-pretty-deny {
  border-radius: 12px !important;
  padding: 0.65rem 1.35rem !important;
  font-weight: 800 !important;
  background: rgba(63, 63, 70, 0.95) !important;
  color: #e4e4e7 !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  margin: 0 0.35rem !important;
}

/* Account dropdown — solid readable */
.ap-account-dropdown {
  background: #121214 !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  box-shadow: 0 24px 48px rgba(0,0,0,0.65) !important;
  backdrop-filter: blur(16px);
}
.ap-account-dropdown__head {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(135deg, rgba(91,87,245,0.2), rgba(91,87,245,0.05));
}

/* Hero category tabs */
.ap-hero-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 4px 8px;
  margin-top: 12px;
  scrollbar-width: none;
}
.ap-hero-tabs::-webkit-scrollbar { display: none; }
.ap-hero-tab {
  flex: 0 0 auto;
  min-width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 16px 14px;
  border-radius: 16px;
  background: #141416;
  border: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
  color: #a1a1aa;
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
  position: relative;
}
.ap-hero-tab:hover { color: #fff; border-color: rgba(91,87,245,0.4); transform: translateY(-2px); }
.ap-hero-tab.is-active {
  background: linear-gradient(180deg, rgba(91,87,245,0.15), #141416);
  border-color: rgba(91,87,245,0.55);
  color: #fff;
}
.ap-hero-tab__img { width: 40px; height: 40px; object-fit: contain; }
.ap-hero-tab__icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(91,87,245,0.15); display: flex; align-items: center; justify-content: center;
  color: #6d69ff; font-size: 18px;
}
.ap-hero-tab__label { font-size: 12px; font-weight: 800; text-align: center; white-space: nowrap; }
.ap-hero-tab__progress {
  position: absolute;
  left: 12px; right: 12px; bottom: 6px;
  height: 3px; border-radius: 99px;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
}
.ap-hero-tab__progress::after {
  content: '';
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #5b57f5, #a5a3ff);
  border-radius: inherit;
}
.ap-hero-tab.is-active .ap-hero-tab__progress::after {
  animation: apHeroTabProgress 6s linear forwards;
}
@keyframes apHeroTabProgress { from { width: 0; } to { width: 100%; } }

/* Header — kategori menüsü (mat, okunaklı) */
.ap-cat-dropdown {
  background: #1c1c20 !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75) !important;
}
.ap-cat-dropdown__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #242428;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.ap-cat-dropdown__title {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fafafa;
}
.ap-cat-dropdown__count {
  font-size: 0.65rem;
  font-weight: 700;
  color: #a1a1aa;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}
.ap-cat-dropdown__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #f4f4f5 !important;
  font-size: 0.9rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: background 0.2s;
}
.ap-cat-dropdown__item:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  transform: none;
}
.ap-cat-dropdown__icon {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.ap-cat-dropdown__icon img {
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
}
.ap-cat-dropdown__icon i {
  color: #8b87ff;
  font-size: 0.85rem;
}
.ap-cat-dropdown__label {
  flex: 1;
  min-width: 0;
  line-height: 1.3;
}
.ap-cat-dropdown__footer {
  display: block;
  padding: 14px 16px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: #c4c2ff !important;
  background: #2a2848;
  border-top: 1px solid rgba(91, 87, 245, 0.35);
  transition: background 0.2s;
}
.ap-cat-dropdown__footer:hover {
  background: #35325a;
  color: #fff !important;
}

/* Category page */
.ap-category-hero {
  position: relative;
  padding: 28px 0 36px;
  margin-bottom: 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(160deg, #121214 0%, #0a0a0c 100%);
}
.ap-category-hero--has-banner {
  padding: 0;
  aspect-ratio: var(--ap-category-banner-aspect, 2350 / 400);
  width: 100%;
  max-width: 2350px;
  margin-left: auto;
  margin-right: auto;
}
.ap-category-hero--has-banner .container {
  position: relative;
  z-index: 2;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 20px;
  padding-bottom: 28px;
}
.ap-category-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.ap-category-hero__matte {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8, 8, 10, 0.92) 0%,
    rgba(8, 8, 10, 0.78) 45%,
    rgba(20, 18, 32, 0.65) 100%
  );
  backdrop-filter: blur(2px);
}
.ap-category-hero--has-banner .ap-category-hero__matte {
  background: linear-gradient(
    105deg,
    rgba(6, 6, 8, 0.72) 0%,
    rgba(10, 10, 14, 0.52) 50%,
    rgba(12, 10, 22, 0.4) 100%
  );
}
.ap-category-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #a1a1aa;
  margin-bottom: 1.25rem;
}
.ap-category-breadcrumb a {
  color: #d4d4d8;
  transition: color 0.2s;
}
.ap-category-breadcrumb a:hover { color: #fff; }
.ap-category-breadcrumb__sep { opacity: 0.45; }
.ap-category-breadcrumb span:last-child { color: #fff; }
.ap-category-hero__inner {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.ap-category-hero__logo-wrap {
  flex-shrink: 0;
  padding: 10px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}
.ap-category-hero__logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
}
.ap-category-hero__text { flex: 1; min-width: min(100%, 260px); }
.ap-category-hero__eyebrow {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #a5a3ff;
  margin-bottom: 0.35rem;
}
.ap-category-hero__title {
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.ap-category-hero__desc {
  color: #d4d4d8;
  margin-top: 10px;
  max-width: 640px;
  line-height: 1.55;
  font-size: 0.95rem;
}
.ap-category-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.ap-category-hero__count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #e4e4e7;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.ap-category-hero__badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.18);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.35);
}
.ap-products-grid--category {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
@media (min-width: 640px) {
  .ap-products-grid--category { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 16px; }
}
@media (min-width: 1024px) {
  .ap-products-grid--category { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 16px; }
}
@media (min-width: 1280px) {
  .ap-products-grid--category { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 16px; }
}

/* Bildirim dropdown — okunaklı */
.ap-notif-dropdown {
  background: #1a1a1e !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8) !important;
}
.ap-notif-dropdown[x-cloak],
.ap-account-dropdown[x-cloak] {
  display: none !important;
}
[data-ap-dropdown-panel][hidden] {
  display: none !important;
}
[data-ap-dropdown-panel].is-open:not([hidden]) {
  display: block;
}
.ap-notif-dropdown__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: #242428;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 2;
}
.ap-notif-item {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: background 0.15s;
}
.ap-notif-item.is-unread {
  background: rgba(91, 87, 245, 0.12);
  border-left: 3px solid #6d69ff;
}
.ap-notif-item.is-read { opacity: 0.65; }
.ap-notif-item:hover { background: rgba(255, 255, 255, 0.06); }
.ap-notif-item__body {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #f4f4f5;
  font-weight: 600;
}
.ap-notif-item__meta {
  font-size: 0.65rem;
  color: #a1a1aa;
  margin-top: 6px;
}

/* Site layout — footer at bottom */
.ap-site { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.ap-site-main { flex: 1 0 auto; display: flex; flex-direction: column; }
.ap-page { flex: 1 0 auto; }
/* Footer — GhostMarket tarzı */
.ap-footer--ghost {
  position: relative;
  margin-top: auto;
  flex-shrink: 0;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #030304 0%, #000 100%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.ap-footer__glow {
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 100%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(91, 87, 245, 0.55), transparent);
  box-shadow: 0 0 40px rgba(91, 87, 245, 0.25);
}
.ap-footer--ghost .container {
  padding-top: 3.25rem;
  padding-bottom: 2.25rem;
}
.ap-footer__subscribe {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.5rem;
  padding: 1.35rem 1.5rem;
  margin-bottom: 2.5rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.ap-footer__subscribe-text {
  flex: 1 1 200px;
  min-width: 0;
}
.ap-footer__subscribe-text strong {
  display: block;
  font-size: 1.125rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.35rem;
}
.ap-footer__subscribe-text span {
  font-size: 0.9375rem;
  color: #a1a1aa;
  line-height: 1.45;
}
.ap-footer__subscribe-form {
  display: flex;
  flex: 1 1 280px;
  gap: 0.5rem;
  min-width: 0;
}
.ap-footer__subscribe-input {
  flex: 1;
  min-width: 0;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0a0a0c;
  color: #fff;
  font-size: 1rem;
}
.ap-footer__subscribe-input:focus {
  outline: none;
  border-color: rgba(91, 87, 245, 0.5);
}
.ap-footer__subscribe-btn {
  flex-shrink: 0;
  padding: 0.8rem 1.35rem;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #5b57f5, #6d69ff);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.2s, transform 0.15s;
}
.ap-footer__subscribe-btn:hover { filter: brightness(1.08); }
.ap-footer__subscribe-btn:disabled { opacity: 0.6; cursor: wait; }
.ap-footer__subscribe-msg {
  width: 100%;
  font-size: 0.8rem;
  margin: 0;
}
.ap-footer__subscribe-msg.is-ok { color: #6ee7b7; }
.ap-footer__subscribe-msg.is-err { color: #fda4af; }
.ap-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 1.5rem;
}
@media (min-width: 640px) {
  .ap-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ap-footer__col--brand {
    grid-column: 1 / -1;
  }
}
@media (min-width: 1024px) {
  .ap-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 1.5rem 2rem;
  }
  .ap-footer__col--brand {
    grid-column: auto;
  }
}
.ap-footer__col--brand {
  max-width: 320px;
}
.ap-footer__brand {
  display: inline-block;
  line-height: 0;
  margin-bottom: 0.85rem;
}
.ap-footer__logo-img {
  display: block;
  height: 42px !important;
  width: auto !important;
  max-width: 200px !important;
  object-fit: contain;
  object-position: left center;
}
.ap-footer__tagline {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #a1a1aa;
  margin: 0 0 1.15rem;
}
.ap-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
}
.ap-footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #a1a1aa;
  text-decoration: none;
  transition: color 0.2s;
}
.ap-footer__contact a i {
  width: 1rem;
  text-align: center;
  color: #52525b;
  font-size: 0.75rem;
}
.ap-footer__contact a:hover { color: #c4c2ff; }
.ap-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.ap-footer__social a {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #a1a1aa;
  font-size: 0.95rem;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.ap-footer__social a:hover {
  color: #fff;
  border-color: rgba(91, 87, 245, 0.4);
  background: rgba(91, 87, 245, 0.12);
}
.ap-footer__title {
  font-size: 1.0625rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}
.ap-footer__nav {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ap-footer__nav li { margin-bottom: 0.5rem; }
.ap-footer__nav li:last-child { margin-bottom: 0; }
.ap-footer__nav a {
  font-size: 1.0625rem;
  color: #a1a1aa;
  text-decoration: none;
  transition: color 0.2s;
}
.ap-footer__nav a:hover { color: #a5a3ff; }
.ap-footer__why {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ap-footer__why li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #a1a1aa;
}
.ap-footer__why li:last-child { margin-bottom: 0; }
.ap-footer__why i {
  flex-shrink: 0;
  width: 1.1rem;
  margin-top: 0.1rem;
  text-align: center;
  color: #6d69ff;
  font-size: 0.7rem;
}
.ap-footer__bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}
.ap-footer__bottom p {
  margin: 0;
  font-size: 0.875rem;
  color: #71717a;
}

.ap-favorite-btn {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #71717a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.ap-favorite-btn:hover,
.ap-favorite-btn.is-active {
  color: #fb7185;
  border-color: rgba(244, 63, 94, 0.35);
  background: rgba(244, 63, 94, 0.12);
}
.ap-footer__richtext ul { list-style: none; padding: 0; margin: 0; }
.ap-footer__richtext li { margin-bottom: 0.5rem; }
.ap-footer__richtext a {
  font-size: 0.8125rem;
  color: #71717a;
  text-decoration: none;
  transition: color 0.2s;
}
.ap-footer__richtext a:hover { color: #a5a3ff; }

/* Form icons — fixed alignment */
.ap-field-icon { position: relative; width: 100%; }
.ap-field-icon > i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #71717a;
  font-size: 14px;
  pointer-events: none;
  z-index: 2;
  line-height: 1;
}
.ap-field-icon .ap-input { padding-left: 2.75rem !important; }
.ap-field-icon--lg .ap-input { padding-left: 2.5rem !important; padding-right: 1rem !important; min-height: 56px; }
.ap-field-icon--lg > i { left: 16px; font-size: 16px; }

/* Ürün kartları — liste oranı korunur */
.ap-product-card__img-wrap { min-height: 0 !important; }
.ap-product-card__body { padding: 15px 16px 17px !important; }
.ap-product-card__title { font-size: 15px !important; min-height: 40px !important; line-height: 1.35 !important; }
.ap-product-card__price { font-size: 20px !important; color: var(--price-turquoise, #40e0d0) !important; }
.ap-product-card__price-row .ap-price__current { font-size: 1.2rem !important; }
.ap-product-card__price-row .ap-price__compare { font-size: 0.8125rem !important; }
.ap-product-card__btn { padding: 11px 12px !important; font-size: 13px !important; }
.ap-products-grid { gap: 16px !important; }
@media (min-width: 1024px) {
  .ap-products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .ap-products-grid--home { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}
@media (min-width: 1280px) {
  .ap-products-grid--home:not(.ap-home-products-row) { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
}

/* Category page — dikine (portrait) ürün kartları */
.ap-category-page .ap-product-card--v2 {
  border-radius: 16px;
}
.ap-category-page .ap-product-card--v2:hover {
  transform: translateY(-5px);
}
.ap-category-page .ap-product-card__media {
  display: block;
}
.ap-category-page .ap-product-card__img-wrap {
  aspect-ratio: var(--ap-listing-aspect, 1110 / 750) !important;
  min-height: 0 !important;
  max-height: none !important;
  width: 100%;
}
.ap-category-page .ap-product-card__img {
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center;
}
.ap-category-page .ap-product-card__body {
  padding: 12px 14px 16px !important;
}
.ap-category-page .ap-product-card__title {
  font-size: 16px !important;
  min-height: 42px !important;
  line-height: 1.35 !important;
  margin-bottom: 8px;
}
@media (min-width: 768px) {
  .ap-category-page .ap-product-card__title { font-size: 17px !important; min-height: 46px !important; }
}
.ap-category-page .ap-product-card__rating {
  margin-bottom: 8px;
}
.ap-category-page .ap-product-card__price-row {
  margin-bottom: 10px;
}
.ap-category-page .ap-product-card__price {
  font-size: 21px !important;
}
.ap-category-page .ap-price--card .ap-price__current,
.ap-category-page .ap-price--card.ap-price--single {
  font-size: 1.25rem !important;
}
.ap-category-page .ap-price--card .ap-price__compare {
  font-size: 0.875rem !important;
}
.ap-category-page .ap-product-card__btn {
  padding: 10px 12px !important;
  font-size: 12px !important;
  border-radius: 12px;
}
.ap-category-page .ap-product-card--subcategory .ap-product-card__body {
  padding: 18px 14px 22px !important;
  min-height: 5rem;
}
.ap-category-page .ap-product-card--subcategory .ap-product-card__title {
  font-size: 1.125rem !important;
  font-weight: 800;
  line-height: 1.4 !important;
  margin: 0 auto !important;
  text-align: center !important;
}
@media (min-width: 768px) {
  .ap-category-page .ap-product-card--subcategory .ap-product-card__title {
    font-size: 1.3125rem !important;
  }
  .ap-category-page .ap-product-card--subcategory .ap-product-card__body {
    min-height: 5.5rem;
    padding: 20px 16px 24px !important;
  }
}

/* No white box borders on sections */
.ap-hero-swiper-wrap .ap-hero-swiper { border: none !important; box-shadow: none !important; }
.best-wrap, .hscroll { border: none !important; background: transparent !important; }
.ap-order-card {
  background: #141416;
  border: 1px solid rgba(39,39,42,0.9) !important;
  border-radius: 1.25rem;
}
.ap-order-card:hover { border-color: rgba(91,87,245,0.35) !important; box-shadow: 0 12px 32px rgba(91,87,245,0.12); }

/* Header — Kasalar RGB link */
.ap-kasalar-rgb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  animation: apKasaLinkPulse 2s ease-in-out infinite;
}
.ap-kasalar-rgb__text {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #ff2d87, #ffb020, #3ee8d3, #9b8cff, #ff2d87);
  background-size: 400% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: apKasaRgb 2.2s linear infinite;
}
@media (min-width: 768px) {
  .ap-kasalar-rgb__text { font-size: 14px; }
}
.ap-kasalar-rgb__icon {
  font-size: 15px;
  animation: apKasaIconSpin 3.5s linear infinite, apKasaIconHue 2.2s linear infinite;
}
@keyframes apKasaRgb {
  0% { background-position: 0% 50%; }
  100% { background-position: 400% 50%; }
}
@keyframes apKasaIconHue {
  0% { color: #ff2d87; filter: drop-shadow(0 0 10px rgba(255, 45, 135, 0.9)); }
  33% { color: #ffb020; filter: drop-shadow(0 0 10px rgba(255, 176, 32, 0.9)); }
  66% { color: #3ee8d3; filter: drop-shadow(0 0 10px rgba(62, 232, 211, 0.9)); }
  100% { color: #9b8cff; filter: drop-shadow(0 0 10px rgba(155, 140, 255, 0.9)); }
}
@keyframes apKasaIconSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes apKasaLinkPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(255, 45, 135, 0); }
  50% { box-shadow: 0 0 18px rgba(155, 140, 255, 0.35); }
}
/* Yıldız puanı: sağ = 5, sol = 1 (input→label çiftleri, row-reverse) */
.ap-star-rating {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  align-items: center;
  gap: 0.2rem;
}
.ap-star-rating__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.ap-star-rating__label {
  cursor: pointer;
  color: #52525b;
  font-size: 1.35rem;
  line-height: 1;
  transition: color 0.15s;
}
.ap-star-rating--lg .ap-star-rating__label {
  font-size: 1.75rem;
}
.ap-star-rating__input:checked ~ .ap-star-rating__label,
.ap-star-rating__label:hover,
.ap-star-rating__label:hover ~ .ap-star-rating__label {
  color: #fbbf24;
}
.ap-order-card__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  max-width: 148px;
}
@media (min-width: 768px) {
  .ap-order-card__actions { width: auto; min-width: 120px; max-width: 140px; }
}
.ap-order-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.ap-order-btn--primary { background: #5b57f5; color: #fff; }
.ap-order-btn--primary:hover { background: #6d69ff; }
.ap-order-btn--danger { background: rgba(244,63,94,0.15); color: #fb7185; border-color: rgba(244,63,94,0.25); }
.ap-order-btn--ghost { background: rgba(0,0,0,0.35); color: #d4d4d8; border-color: rgba(255,255,255,0.08); }
.ap-order-btn--muted { background: rgba(0,0,0,0.25); color: #71717a; border-color: rgba(255,255,255,0.06); cursor: not-allowed; }
.ap-pending-badge {
  margin-left: 0.35rem;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fbbf24;
  vertical-align: middle;
}
.ap-hero-swiper-wrap { position: relative; }

/* Balance page */
.ap-balance-page {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(91, 87, 245, 0.14), transparent 55%),
    radial-gradient(ellipse 40% 30% at 100% 20%, rgba(16, 185, 129, 0.06), transparent 50%);
}
.ap-balance-hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(135deg, rgba(91, 87, 245, 0.22) 0%, rgba(20, 20, 22, 0.98) 42%, #121214 100%);
  border: 1px solid rgba(91, 87, 245, 0.28);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.ap-balance-hero-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -8%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 105, 255, 0.35), transparent 70%);
  pointer-events: none;
}
.ap-balance-hero-card__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.ap-balance-hero-card__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a5a3ff;
  margin-bottom: 6px;
}
.ap-balance-hero-card__amount {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}
.ap-balance-hero-card__amount small {
  font-size: 0.55em;
  font-weight: 800;
  color: #a1a1aa;
  margin-left: 4px;
}
.ap-balance-hero-card__meta {
  font-size: 13px;
  color: #a1a1aa;
  margin-top: 8px;
  max-width: 28rem;
}
.ap-balance-hero-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
  background: linear-gradient(145deg, #6d69ff, #5b57f5);
  box-shadow: 0 14px 36px rgba(91, 87, 245, 0.45);
  flex-shrink: 0;
}
.ap-balance-topup-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 1024px) {
  .ap-balance-topup-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    align-items: start;
  }
}
.ap-balance-panel {
  background: linear-gradient(165deg, #18181b 0%, #121214 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 1.5rem;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.32);
}
@media (min-width: 768px) {
  .ap-balance-panel { padding: 1.75rem 2rem; }
}
.ap-balance-panel__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.125rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.35rem;
}
.ap-balance-panel__title i { color: #6d69ff; }
.ap-balance-panel__sub {
  font-size: 13px;
  color: #71717a;
  margin-bottom: 1.5rem;
}
.ap-balance-amount-field {
  margin-bottom: 1rem;
}
.ap-balance-amount-field .ap-label {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #a1a1aa;
}
.ap-balance-amount-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 4px 4px 18px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ap-balance-amount-wrap:focus-within {
  border-color: rgba(91, 87, 245, 0.55);
  box-shadow: 0 0 0 3px rgba(91, 87, 245, 0.18);
}
.ap-balance-amount-wrap__prefix {
  font-size: 1.25rem;
  font-weight: 900;
  color: #6d69ff;
  flex-shrink: 0;
}
.ap-balance-amount-wrap__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-align: right;
  padding: 14px 16px 14px 0;
  outline: none;
  -moz-appearance: textfield;
}
.ap-balance-amount-wrap__input::-webkit-outer-spin-button,
.ap-balance-amount-wrap__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.ap-balance-presets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 1.25rem;
}
@media (min-width: 640px) {
  .ap-balance-presets { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.ap-balance-preset {
  padding: 12px 8px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  color: #d4d4d8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: transform 0.15s, border-color 0.2s, background 0.2s, color 0.2s;
}
.ap-balance-preset:hover {
  transform: translateY(-2px);
  border-color: rgba(91, 87, 245, 0.45);
  color: #fff;
}
.ap-balance-preset.is-active {
  background: linear-gradient(180deg, rgba(91, 87, 245, 0.28), rgba(91, 87, 245, 0.12));
  border-color: rgba(109, 105, 255, 0.65);
  color: #fff;
  box-shadow: 0 8px 24px rgba(91, 87, 245, 0.25);
}
.ap-balance-summary {
  display: grid;
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.35);
  margin-bottom: 1.25rem;
}
.ap-balance-summary__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ap-balance-summary__row:last-child { border-bottom: 0; }
.ap-balance-summary__row span:first-child { color: #71717a; font-weight: 600; }
.ap-balance-summary__row span:last-child { color: #e4e4e7; font-weight: 800; text-align: right; }
.ap-balance-summary__row--total {
  background: rgba(91, 87, 245, 0.12);
}
.ap-balance-summary__row--total span:first-child { color: #c4b5fd; }
.ap-balance-summary__row--total span:last-child { color: #fff; font-size: 1.05rem; }
.ap-balance-summary__row--credit span:last-child { color: #34d399; }
.ap-balance-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 1.25rem;
}
.ap-balance-trust__item {
  text-align: center;
  padding: 10px 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.ap-balance-trust__item i {
  display: block;
  font-size: 16px;
  color: #6d69ff;
  margin-bottom: 4px;
}
.ap-balance-trust__item strong {
  display: block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #d4d4d8;
}
.ap-balance-trust__item small {
  display: block;
  font-size: 9px;
  color: #71717a;
  margin-top: 2px;
  line-height: 1.2;
}
.ap-balance-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 20px;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 14px 36px rgba(91, 87, 245, 0.38);
  transition: transform 0.15s, box-shadow 0.2s;
}
.ap-balance-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(91, 87, 245, 0.48);
}
.ap-balance-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.ap-balance-history { margin-top: 0; }
.ap-balance-history__title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #71717a;
  margin-bottom: 10px;
}
.ap-balance-history__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 280px;
  overflow-y: auto;
}
.ap-balance-history__item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.ap-balance-history__item p {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: #d4d4d8;
  line-height: 1.35;
}
.ap-balance-history__item time {
  display: block;
  font-size: 10px;
  color: #71717a;
  margin-top: 3px;
  font-weight: 600;
}
.ap-balance-history__amount {
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}
.ap-balance-history__amount.is-add { color: #34d399; }
.ap-balance-history__amount.is-deduct { color: #f87171; }
.ap-balance-pay-card {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #141416;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}
.ap-balance-pay-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(91, 87, 245, 0.12), transparent);
}
.ap-balance-pay-card__head h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}
.ap-balance-pay-card__back {
  font-size: 13px;
  font-weight: 700;
  color: #a1a1aa;
  transition: color 0.2s;
}
.ap-balance-pay-card__back:hover { color: #fff; }
.ap-paytr-frame {
  display: block;
  width: 100%;
  min-height: min(640px, 78vh);
  border: 0;
  background: #fff;
}
.ap-balance-min-note {
  font-size: 12px;
  color: #71717a;
  margin-top: 10px;
  text-align: center;
}
.ap-balance-sim-card {
  max-width: 440px;
  margin: 0 auto;
  border-radius: 22px;
  padding: 2rem;
  background: linear-gradient(165deg, #18181b, #121214);
  border: 1px solid rgba(251, 191, 36, 0.25);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}
.ap-balance-hero__icon {
  width: 72px; height: 72px; margin: 0 auto;
  border-radius: 20px;
  background: linear-gradient(135deg, #5b57f5, #7c6dff);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: #fff;
  box-shadow: 0 12px 40px rgba(91,87,245,0.4);
  animation: apBalancePulse 2.5s ease-in-out infinite;
}
.ap-balance-hero__current {
  display: inline-flex; flex-direction: column; gap: 4px;
  margin-top: 1.25rem; padding: 12px 24px;
  background: rgba(91,87,245,0.12); border-radius: 14px;
  border: 1px solid rgba(91,87,245,0.25);
}
.ap-balance-hero__current .label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: #a1a1aa; font-weight: 700; }
.ap-balance-hero__current .amount { font-size: 1.5rem; font-weight: 900; color: #fff; }
.ap-balance-card {
  background: linear-gradient(165deg, #18181b, #121214);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 24px;
  padding: 1.75rem;
  box-shadow: 0 24px 48px rgba(0,0,0,0.35);
}
.ap-balance-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 1rem; }
.ap-balance-chip {
  padding: 8px 14px; border-radius: 10px; font-size: 13px; font-weight: 700;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  color: #d4d4d8; cursor: pointer; transition: 0.2s;
}
.ap-balance-chip:hover, .ap-balance-chip.is-active {
  background: rgba(91,87,245,0.2); border-color: rgba(91,87,245,0.5); color: #fff;
}

/* Account settings icons */
.ap-account-layout .ap-field-icon { margin-bottom: 0; }

/* Topbar Yardım / İletişim */
.ap-topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #a1a1aa;
  margin-right: 10px;
  transition: color 0.2s;
}
.ap-topbar__link:hover { color: #fff; }
.ap-topbar__link i { color: #6d69ff; font-size: 13px; }

/* Hero feature custom image */
.ap-feature__media {
  width: 56px;
  height: 40px;
  margin: 0 auto 10px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
}
.ap-feature__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Günlük ödül sayfası */
.ap-daily-reward-page .ap-page-title { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 900; color: #fff; }
.ap-daily-stat-card {
  background: #141416;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
}
.ap-daily-stat-card__label { display: block; font-size: 11px; color: #71717a; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.ap-daily-stat-card strong { font-size: 1.25rem; color: #fff; }
.ap-daily-calendar {
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}
.ap-daily-calendar h2 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  text-align: center;
}
.ap-daily-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.ap-daily-day {
  min-height: 0;
  aspect-ratio: 1;
  max-height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #141416;
  color: #a1a1aa;
  font-size: 11px;
  font-weight: 700;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1px;
  padding: 2px;
  transition: border-color 0.2s, transform 0.2s;
}
.ap-daily-day__num { font-size: 11px; line-height: 1; z-index: 1; }
.ap-daily-day__pulse,
.ap-daily-day__check {
  position: absolute;
  right: 3px;
  bottom: 2px;
  line-height: 1;
}
.ap-daily-day--today:not(:disabled) {
  border-color: rgba(245, 158, 11, 0.6);
  background: rgba(245, 158, 11, 0.1);
  color: #fff;
  cursor: pointer;
}
.ap-daily-day--today:not(:disabled):hover { transform: scale(1.04); }
.ap-daily-day--claimed { border-color: rgba(16, 185, 129, 0.4); color: #6ee7b7; }
.ap-daily-day--missed { opacity: 0.45; }
.ap-daily-day--future { opacity: 0.35; pointer-events: none; }
.ap-daily-day__pulse { color: #fbbf24; font-size: 10px; animation: apDailyCoinPulse 1.2s ease-in-out infinite; }
.ap-daily-day__check { color: #34d399; font-size: 10px; }
.ap-daily-reward-page #btnClaimDaily {
  display: block;
  margin-left: auto;
  margin-right: auto;
  font-size: 13px;
  padding: 10px 20px;
}
@keyframes apDailyCoinPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.15); }
}

/* Floating günlük ödül (roypin sürpriz kutu benzeri) */
.ap-daily-float-gift {
  position: fixed;
  right: 20px;
  bottom: 96px;
  z-index: 999998;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  animation: apGiftFloat 3s ease-in-out infinite;
}
.ap-daily-float-gift__box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.45);
  animation: apGiftBoxPulse 1.5s ease-in-out infinite;
}
.ap-daily-float-gift__label {
  font-size: 10px;
  font-weight: 800;
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  max-width: 72px;
  text-align: center;
  line-height: 1.2;
}
@keyframes apGiftFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes apGiftBoxPulse {
  0%, 100% { box-shadow: 0 8px 28px rgba(245, 158, 11, 0.45); }
  50% { box-shadow: 0 12px 36px rgba(251, 191, 36, 0.7); }
}

/* CMS sayfaları — ortalanmış yasal / bilgi içeriği */
.ap-cms-page__wrap {
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}
.ap-cms-page__header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ap-cms-page__title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 0.5rem;
}
.ap-cms-page__meta {
  font-size: 0.8125rem;
  color: #71717a;
  margin: 0;
}
.ap-cms-content {
  max-width: 44rem;
  margin: 0 auto;
  text-align: left;
  line-height: 1.75;
  font-size: 1rem;
  color: #d4d4d8;
}
.ap-cms-content > *:first-child { margin-top: 0; }
.ap-cms-content h1 {
  font-size: 1.75rem;
  font-weight: 900;
  color: #fff;
  margin: 0 0 1rem;
  line-height: 1.25;
}
.ap-cms-content h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin: 2rem 0 0.75rem;
  line-height: 1.3;
}
.ap-cms-content h3 {
  font-size: 1.125rem;
  font-weight: 800;
  color: #e4e4e7;
  margin: 1.5rem 0 0.5rem;
}
.ap-cms-content p {
  margin: 0 0 1rem;
  color: #d4d4d8;
}
.ap-cms-content p:last-child {
  margin-bottom: 0;
}
/* CKEditor boş satır / Shift+Enter satır arası */
.ap-cms-content p:empty,
.ap-cms-content p:has(> br:only-child) {
  min-height: 0.85rem;
  margin-bottom: 1rem;
}
.ap-cms-content h1 + p,
.ap-cms-content h2 + p,
.ap-cms-content h3 + p,
.ap-cms-content h4 + p {
  margin-top: 0.25rem;
}
.ap-product-description {
  max-width: none;
}
.ap-cms-content strong { color: #fff; font-weight: 700; }
.ap-cms-content a {
  color: #a5a3ff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ap-cms-content a:hover { color: #c4c2ff; }
.ap-cms-content ul,
.ap-cms-content ol {
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
  list-style-position: outside;
}
.ap-cms-content ul {
  list-style-type: disc;
}
.ap-cms-content ol {
  list-style-type: decimal;
}
.ap-cms-content ul li,
.ap-cms-content ol li {
  margin: 0.35rem 0;
  padding-left: 0.25rem;
  display: list-item;
}
.ap-cms-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: none;
  border: 1px solid rgba(91, 87, 245, 0.25);
  border-radius: 12px;
  background: rgba(91, 87, 245, 0.08);
  color: #e4e4e7;
}
.ap-cms-content hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 2rem auto;
  max-width: 12rem;
}

/* Oyun abonelik */
.ap-sub-hero__eyebrow {
  color: #9d9af5;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}
.ap-sub-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: #fff;
  max-width: 42rem;
  line-height: 1.15;
}
.ap-sub-hero__lead { color: #a1a1aa; margin-top: 1rem; max-width: 36rem; font-size: 1.05rem; }
.ap-sub-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.ap-sub-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 2rem;
  padding: 0;
  list-style: none;
}
.ap-sub-trust-pills li {
  font-size: 13px;
  font-weight: 600;
  color: #a1a1aa;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ap-sub-trust-pills i { color: #6d69ff; }
.ap-sub-active-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.12);
  color: #6ee7b7;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.ap-sub-carousel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.ap-sub-carousel__card {
  flex: 0 0 min(280px, 78vw);
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  background: #141416;
  border: 1px solid rgba(255,255,255,0.08);
}
.ap-sub-carousel__card img {
  width: 100%;
  aspect-ratio: 1110 / 750;
  object-fit: cover;
}
.ap-sub-carousel__meta {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ap-sub-carousel__tag { font-size: 10px; color: #9d9af5; font-weight: 800; text-transform: uppercase; }
.ap-sub-carousel__meta strong { color: #fff; font-size: 14px; }
.ap-sub-carousel__meta span { font-size: 11px; color: #71717a; }
.ap-sub-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .ap-sub-steps { grid-template-columns: repeat(3, 1fr); }
}
.ap-sub-step {
  background: #141416;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 20px;
}
.ap-sub-step__num {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(91, 87, 245, 0.2);
  color: #a5a3ff;
  font-weight: 900;
  font-size: 14px;
  margin-bottom: 10px;
}
.ap-sub-step h3 { font-weight: 800; color: #fff; margin-bottom: 6px; }
.ap-sub-step p { font-size: 13px; color: #71717a; }
.ap-sub-section-label {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #6d69ff;
  margin-bottom: 8px;
}
.ap-sub-section-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
}
.ap-sub-plan-card {
  position: relative;
  background: linear-gradient(165deg, #18181b, #121214);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 1.75rem;
}
.ap-sub-plan-card--featured {
  border-color: rgba(91, 87, 245, 0.45);
  box-shadow: 0 0 0 1px rgba(91, 87, 245, 0.2), 0 20px 48px rgba(91, 87, 245, 0.15);
}
.ap-sub-plan-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 8px;
  background: linear-gradient(135deg, #5b57f5, #7c6dff);
  color: #fff;
}
.ap-sub-plan-card__price {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  margin-top: 1.5rem;
}
.ap-sub-plan-card__price span { font-size: 1rem; font-weight: 600; color: #71717a; }
.ap-sub-plan-card__list li {
  font-size: 14px;
  color: #d4d4d8;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.ap-sub-plan-card__list i { color: #6d69ff; margin-top: 3px; }
.ap-sub-plan-card__link {
  display: block;
  text-align: center;
  margin-top: 1rem;
  font-size: 13px;
  font-weight: 700;
  color: #9d9af5;
}
.ap-sub-plan-card__link:hover { color: #fff; }
.ap-sub-compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.ap-sub-compare th, .ap-sub-compare td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-align: left;
}
.ap-sub-compare th { color: #fff; font-weight: 800; }
.ap-sub-compare td { color: #a1a1aa; }
.ap-sub-section--center {
  text-align: center;
}
.ap-sub-section--center .ap-sub-section-label,
.ap-sub-section--center .ap-sub-section-title {
  margin-left: auto;
  margin-right: auto;
}
.ap-sub-section--center .ap-sub-section-desc {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
.ap-sub-section--center .ap-sub-plans-grid {
  width: 100%;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.ap-sub-section--center #subMsg {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}
.ap-sub-section--center .ap-sub-plan-tabs {
  justify-content: center;
}
.ap-sub-section--center .ap-sub-games-panel {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.ap-sub-section--center .ap-sub-games-grid {
  margin-left: auto;
  margin-right: auto;
}
.ap-sub-plan-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 1.5rem;
}
.ap-sub-plan-tabs__btn {
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: #a1a1aa;
  cursor: pointer;
}
.ap-sub-plan-tabs__btn.is-active {
  background: rgba(91, 87, 245, 0.2);
  border-color: rgba(91, 87, 245, 0.5);
  color: #fff;
}
.ap-sub-games-panel { display: none; }
.ap-sub-games-panel.is-active { display: block; }
.ap-sub-games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 640px) { .ap-sub-games-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .ap-sub-games-grid { grid-template-columns: repeat(4, 1fr); } }
.ap-sub-game-card {
  background: #141416;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.ap-sub-game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(91, 87, 245, 0.35);
}
.ap-sub-game-card__media {
  position: relative;
  background: #0f0f12;
}
.ap-sub-game-card__img {
  width: 100%;
  aspect-ratio: 1110 / 750;
  object-fit: cover;
  display: block;
}
.ap-sub-game-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1110 / 750;
  color: #3f3f46;
  font-size: 2rem;
}
.ap-sub-game-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 8px;
  color: #fff;
}
.ap-sub-game-card__badge--temel { background: #3f3f46; }
.ap-sub-game-card__badge--premium { background: linear-gradient(135deg, #5b57f5, #7c6dff); }
.ap-sub-game-card__badge--both { background: linear-gradient(135deg, #059669, #5b57f5); }
.ap-sub-game-card__body {
  padding: 12px 14px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ap-sub-game-card__title {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
  margin: 0;
}
.ap-sub-game-card__price {
  font-size: 12px;
  color: #71717a;
  margin: 0;
}
.ap-sub-faq__item {
  background: #141416;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 4px 16px;
}
.ap-sub-faq__item summary {
  cursor: pointer;
  font-weight: 700;
  color: #fff;
  padding: 14px 0;
  list-style: none;
}
.ap-sub-faq__item summary::-webkit-details-marker { display: none; }
.ap-sub-faq__item p {
  padding-bottom: 14px;
  font-size: 14px;
  color: #a1a1aa;
  line-height: 1.6;
}

/* Oyun abonelik — modern v2 */
.ap-subscription-page--v2 {
  position: relative;
  overflow: hidden;
}
.ap-sub-page-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 10% 0%, rgba(91, 87, 245, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(236, 72, 153, 0.08), transparent 50%),
    radial-gradient(ellipse 60% 30% at 50% 100%, rgba(16, 185, 129, 0.06), transparent 45%);
}
.ap-subscription-page--v2 .container {
  position: relative;
  z-index: 1;
}
.ap-subscription-page--v2 .ap-sub-hero {
  text-align: center;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}
.ap-subscription-page--v2 .ap-sub-hero__title {
  max-width: none;
  background: linear-gradient(135deg, #fff 0%, #c4c2ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ap-subscription-page--v2 .ap-sub-hero__lead {
  margin-left: auto;
  margin-right: auto;
}
.ap-subscription-page--v2 .ap-sub-hero__actions {
  justify-content: center;
}
.ap-subscription-page--v2 .ap-sub-trust-pills {
  justify-content: center;
}
.ap-subscription-page--v2 .ap-sub-trust-pills li {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.ap-subscription-page--v2 .ap-sub-carousel-wrap {
  position: relative;
}
.ap-subscription-page--v2 .ap-sub-carousel-wrap::before,
.ap-subscription-page--v2 .ap-sub-carousel-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 8px;
  width: 48px;
  z-index: 2;
  pointer-events: none;
}
.ap-subscription-page--v2 .ap-sub-carousel-wrap::before {
  left: 0;
  background: linear-gradient(90deg, #000, transparent);
}
.ap-subscription-page--v2 .ap-sub-carousel-wrap::after {
  right: 0;
  background: linear-gradient(270deg, #000, transparent);
}
.ap-subscription-page--v2 .ap-sub-carousel__card {
  border-radius: 18px;
  border-color: rgba(91, 87, 245, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s, border-color 0.25s;
}
.ap-subscription-page--v2 .ap-sub-carousel__card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(91, 87, 245, 0.45);
}
.ap-subscription-page--v2 .ap-sub-step {
  background: rgba(20, 20, 22, 0.85);
  backdrop-filter: blur(12px);
  border-color: rgba(91, 87, 245, 0.15);
}
.ap-subscription-page--v2 .ap-sub-plan-card {
  background: rgba(24, 24, 27, 0.9);
  backdrop-filter: blur(16px);
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.ap-subscription-page--v2 .ap-sub-plan-card:hover {
  transform: translateY(-6px);
}
.ap-subscription-page--v2 .ap-sub-plan-card--featured {
  background: linear-gradient(165deg, rgba(30, 28, 60, 0.95), rgba(18, 18, 22, 0.98));
  border-color: rgba(109, 105, 255, 0.5);
  box-shadow: 0 0 0 1px rgba(91, 87, 245, 0.3), 0 28px 60px rgba(91, 87, 245, 0.2);
}
.ap-subscription-page--v2 .ap-sub-plan-card--featured::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(91, 87, 245, 0.6), rgba(236, 72, 153, 0.3), rgba(91, 87, 245, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
}
.ap-subscription-page--v2 .ap-sub-plan-card__price {
  font-size: 2.5rem;
  background: linear-gradient(135deg, #fff, #a5a3ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ap-subscription-page--v2 .ap-sub-compare {
  background: rgba(20, 20, 22, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 8px;
}
.ap-subscription-page--v2 .ap-sub-game-card {
  background: rgba(20, 20, 22, 0.9);
  border-color: rgba(255, 255, 255, 0.08);
}
.ap-subscription-page--v2 .ap-sub-game-card:hover {
  box-shadow: 0 16px 40px rgba(91, 87, 245, 0.15);
}
.ap-subscription-page--v2 .ap-sub-faq__item {
  background: rgba(20, 20, 22, 0.85);
  border-color: rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s;
}
.ap-subscription-page--v2 .ap-sub-faq__item[open] {
  border-color: rgba(91, 87, 245, 0.35);
}
.ap-subscription-page--v2 .ap-sub-section-title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}
.ap-subscription-page--v2 .ap-sub-section--center .ap-sub-plans-grid {
  justify-items: stretch;
}
