/* =====================================================================
   AFACAN ESİNTİSİ — Mağaza tasarım sistemi
   Pembe-mavi eğlenceli alışveriş dünyası: bulutlar, balonlar, yıldızlar, yuvarlatılmış kartlar.
   Renkler tek yerden (tokenlar). Mobil öncelikli, prefers-reduced-motion destekli.
   ===================================================================== */
:root {
  --pink-600: #e23a72; --pink-500: #ef4f84; --pink-400: #f77ba3; --pink-200: #ffd1e0; --pink-100: #ffe6ee; --pink-50: #fff3f7;
  --blue-600: #2f86cf; --blue-500: #5aa9e6; --blue-300: #a9d4f7; --blue-100: #dcefff; --blue-50: #f0f8ff;
  --cream: #fffaf4; --white: #ffffff; --peach: #ffb595; --coral: #ff8a7a; --sun: #ffd166;
  --ink: #1f2a44; --ink-2: #3c4664; --muted: #6b7590; --line: #f0e3ea; --green: #1f7a5c; --red: #d63c4f; --amber: #c27a00;
  --radius-sm: 10px; --radius: 18px; --radius-lg: 28px; --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(31, 42, 68, .06); --shadow: 0 10px 30px rgba(239, 79, 132, .12); --shadow-lg: 0 24px 60px rgba(90, 169, 230, .18);
  --font-display: "Baloo 2", "Nunito", system-ui, sans-serif; --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1240px; --gutter: 16px; --header-h: 72px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--cream); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--pink-600); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 1000; }
.skip-link:focus { left: 8px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(28px, 5vw, 52px); } h2 { font-size: clamp(22px, 3.4vw, 34px); } h3 { font-size: 20px; }
.muted { color: var(--muted); } .small { font-size: 14px; } .center { text-align: center; }
.grad-text { background: linear-gradient(90deg, var(--pink-500), var(--blue-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Butonlar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: var(--radius-pill);
  border: 2px solid transparent; font-weight: 800; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; text-align: center; }
.btn:active { transform: scale(.97); }
.btn-primary { background: linear-gradient(135deg, var(--pink-500), var(--pink-400)); color: #fff; box-shadow: 0 8px 20px rgba(239, 79, 132, .32); }
.btn-primary:hover { color: #fff; box-shadow: 0 12px 28px rgba(239, 79, 132, .42); transform: translateY(-1px); }
.btn-blue { background: linear-gradient(135deg, var(--blue-600), var(--blue-500)); color: #fff; box-shadow: 0 8px 20px rgba(47, 134, 207, .3); }
.btn-blue:hover { color: #fff; }
.btn-ghost { background: #fff; border-color: var(--pink-200); color: var(--pink-600); }
.btn-ghost:hover { background: var(--pink-50); }
.btn-dark { background: var(--ink); color: #fff; } .btn-dark:hover { color: #fff; background: var(--ink-2); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; background: #fff; border: 0; cursor: pointer; position: relative; box-shadow: var(--shadow-sm); }
.icon-btn:hover { background: var(--pink-50); color: var(--pink-600); }
.icon-btn .badge { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--pink-500); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.ico { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- Form ---------- */
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; color: var(--ink-2); }
.input, .select, .textarea { width: 100%; min-height: 46px; padding: 10px 14px; border: 2px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.textarea { min-height: 110px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: 0; border-color: var(--pink-400); box-shadow: 0 0 0 4px var(--pink-100); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 10px 0; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--pink-500); flex-shrink: 0; margin-top: 2px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }
.help { font-size: 13px; color: var(--muted); }
.error-text { color: var(--red); font-size: 13px; font-weight: 700; }

/* ---------- Kart / rozet / chip ---------- */
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 20px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--radius-pill); background: #fff; border: 2px solid var(--line); font-weight: 700; font-size: 14px; cursor: pointer; transition: all .2s; }
.chip:hover, .chip.is-active { border-color: var(--pink-400); background: var(--pink-50); color: var(--pink-600); }
.tag { display: inline-block; padding: 3px 10px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 800; }
.tag-pink { background: var(--pink-500); color: #fff; } .tag-blue { background: var(--blue-500); color: #fff; } .tag-soft { background: var(--pink-100); color: var(--pink-600); }
.tag-demo { background: var(--sun); color: var(--ink); }
.alert { padding: 14px 16px; border-radius: 14px; margin: 12px 0; font-weight: 600; }
.alert-ok { background: #e8f7f0; color: var(--green); } .alert-err { background: #fff0f2; color: var(--red); } .alert-info { background: var(--blue-50); color: var(--blue-600); } .alert-warn { background: #fff7e0; color: var(--amber); }

/* ---------- Üst bant + header ---------- */
.topbar { background: linear-gradient(90deg, var(--pink-500), var(--blue-500)); color: #fff; font-size: 13px; font-weight: 700; padding: 7px 0; overflow: hidden; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee-group { display: flex; flex-shrink: 0; }
.marquee-group span { padding: 0 34px; white-space: nowrap; position: relative; }
.marquee-group span::after { content: "✦"; position: absolute; right: -6px; opacity: .7; }
.topbar:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } .marquee { -webkit-mask-image: none; mask-image: none; } }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 250, 244, .92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { height: 48px; width: auto; }
.wordmark { font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1; letter-spacing: -.5px; }
.wordmark .a { color: var(--pink-500); } .wordmark .b { color: var(--blue-500); }
.wordmark small { display: block; font-family: var(--font-body); font-size: 10px; font-weight: 700; color: var(--muted); letter-spacing: .4px; margin-top: 2px; }
.search { flex: 1; position: relative; max-width: 560px; }
.search input { width: 100%; height: 48px; padding: 0 52px 0 20px; border-radius: var(--radius-pill); border: 2px solid var(--pink-100); background: #fff; }
.search input:focus { outline: 0; border-color: var(--pink-400); box-shadow: 0 0 0 4px var(--pink-100); }
.search button { position: absolute; right: 5px; top: 5px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--pink-500); color: #fff; display: grid; place-items: center; cursor: pointer; }
.suggest { position: absolute; top: 54px; left: 0; right: 0; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 10px; display: none; z-index: 60; }
.suggest.open { display: block; }
.suggest a { display: flex; justify-content: space-between; padding: 9px 12px; border-radius: 10px; font-size: 14px; }
.suggest a:hover, .suggest a.active { background: var(--pink-50); }
.header-actions { display: flex; gap: 8px; margin-left: auto; }
.catnav { border-top: 1px solid var(--line); background: #fff; }
.catnav ul { list-style: none; margin: 0 auto; padding: 0; display: flex; justify-content: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
@media (max-width: 1180px) { .catnav ul { justify-content: flex-start; } }
.catnav ul::-webkit-scrollbar { display: none; }
.catnav a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 14px; font-size: 13px; font-weight: 800; white-space: nowrap; border-radius: 14px; }
.catnav a:hover { background: var(--pink-50); }
.catnav .cat-ico { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--pink-50); color: var(--pink-500); }
.catnav li:nth-child(even) .cat-ico { background: var(--blue-50); color: var(--blue-600); }
.catnav a.sale { color: var(--pink-600); }
@media (max-width: 860px) {
  .header-row { height: auto; flex-wrap: wrap; padding: 10px 0; gap: 10px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .wordmark { font-size: 21px; } .logo img { height: 38px; }
  .header-actions .hide-m { display: none; }
}

/* ---------- Mobil alt navigasyon ---------- */
.bottom-nav { display: none; }
@media (max-width: 860px) {
  .bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; bottom: 0; left: 0; right: 0; z-index: 70; background: #fff; border-top: 1px solid var(--line);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 24px rgba(31, 42, 68, .08); }
  .bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; font-weight: 800; color: var(--muted); padding: 4px; position: relative; }
  .bottom-nav a.active, .bottom-nav a:hover { color: var(--pink-600); }
  .bottom-nav .badge { position: absolute; top: 0; right: 22%; background: var(--pink-500); color: #fff; font-size: 10px; border-radius: 10px; padding: 0 5px; }
  body { padding-bottom: 76px; }
}

/* ---------- Sahne dekorları: bulut, balon, yıldız ---------- */
.sky { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.cloud { position: absolute; width: 180px; height: 60px; background: #fff; border-radius: 60px; opacity: .9; filter: drop-shadow(0 8px 14px rgba(90, 169, 230, .15)); animation: drift 38s linear infinite; }
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.cloud::before { width: 80px; height: 80px; top: -40px; left: 28px; } .cloud::after { width: 60px; height: 60px; top: -28px; right: 30px; }
.cloud.c2 { transform: scale(.7); top: 60%; animation-duration: 52s; animation-delay: -20s; opacity: .7; }
.cloud.c3 { transform: scale(.5); top: 18%; animation-duration: 64s; animation-delay: -36s; opacity: .6; }
.balloon { position: absolute; width: 46px; height: 58px; border-radius: 50% 50% 48% 52% / 58% 58% 42% 42%; animation: float 7s ease-in-out infinite; opacity: .9; }
.balloon::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 60px; background: rgba(31, 42, 68, .25); }
.balloon.pink { background: radial-gradient(circle at 30% 30%, #ffd1e0, var(--pink-500)); }
.balloon.blue { background: radial-gradient(circle at 30% 30%, #dcefff, var(--blue-500)); animation-delay: -2s; }
.balloon.peach { background: radial-gradient(circle at 30% 30%, #ffe3d6, var(--peach)); animation-delay: -4s; }
.star { position: absolute; width: 18px; height: 18px; background: var(--sun); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); animation: twinkle 3s ease-in-out infinite; }
@keyframes drift { from { left: -220px; } to { left: 110%; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-18px) rotate(3deg); } }
@keyframes twinkle { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.6); opacity: .5; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 15% 10%, var(--pink-100), transparent 60%), radial-gradient(900px 500px at 90% 30%, var(--blue-100), transparent 60%), linear-gradient(180deg, #fff6fa, var(--cream)); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: center; min-height: 460px; padding-top: 40px; padding-bottom: 56px; }
.hero h1 { margin-bottom: 12px; animation: rise .8s var(--ease) both; }
.hero h1 .l2 { display: block; color: var(--blue-600); font-size: .62em; }
.hero p.lead { font-size: 18px; color: var(--ink-2); max-width: 520px; animation: rise .8s .15s var(--ease) both; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; animation: rise .8s .3s var(--ease) both; }
.hero-visual { position: relative; aspect-ratio: 1 / 1; max-width: 460px; justify-self: center; width: 100%; }
.hero-blob { position: absolute; inset: 6%; border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%; background: linear-gradient(135deg, var(--pink-200), var(--blue-100)); animation: morph 14s ease-in-out infinite; box-shadow: var(--shadow-lg); }
.hero-visual img.hero-single { position: absolute; inset: 10%; width: 80%; height: 80%; object-fit: cover; border-radius: 40%; }
.hero-visual { max-width: 560px; }
.hero-photo { position: absolute; object-fit: cover; box-shadow: var(--shadow-lg); border: 6px solid #fff; }
.hero-photo.p1 { left: 2%; top: 8%; width: 58%; height: 78%; border-radius: 46% 54% 48% 52% / 40% 42% 58% 60%; animation: bob 7s ease-in-out infinite 1s; }
.hero-photo.p2 { right: 2%; bottom: 4%; width: 44%; height: 62%; border-radius: 50% 50% 46% 54% / 44% 46% 54% 56%; animation: bob 8s ease-in-out infinite 1.4s; }
.hero-heart { position: absolute; color: var(--pink-400); font-size: 34px; filter: drop-shadow(0 6px 10px rgba(240, 98, 146, .35)); animation: bob 5s ease-in-out infinite; }
.hero-heart.h1 { right: 18%; top: 6%; } .hero-heart.h2 { left: 52%; bottom: 2%; font-size: 24px; color: var(--blue-500); animation-delay: 1.2s; }
.hero-badge { position: absolute; left: 4%; bottom: 6%; background: #fff; border-radius: 999px; padding: 10px 16px; font-weight: 800; font-size: 14px; box-shadow: var(--shadow); color: var(--pink-600); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-visual .hero-mark { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: clamp(40px, 7vw, 72px); font-weight: 800; text-align: center; line-height: .95; }
@keyframes morph { 0%, 100% { border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%; } 50% { border-radius: 58% 42% 40% 60% / 44% 58% 42% 56%; } }
@media (max-width: 860px) { .hero-inner { grid-template-columns: 1fr; min-height: 0; padding-top: 24px; padding-bottom: 40px; } .hero-visual { max-width: 300px; order: -1; } }
.age-strip { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

/* ---------- Güven bandı ---------- */
.trust { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: -28px auto 0; position: relative; z-index: 2; }
.trust div { background: #fff; border-radius: var(--radius); padding: 14px; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow-sm); font-size: 13px; }
.trust strong { display: block; font-size: 14px; }
.trust .ico { color: var(--pink-500); width: 28px; height: 28px; }
@media (max-width: 860px) { .trust { grid-template-columns: repeat(2, 1fr); margin-top: 0; } .trust div:last-child { grid-column: span 2; } }

/* ---------- Bölüm başlığı ---------- */
.section { padding: 44px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 18px; }
.section-head a { font-weight: 800; color: var(--pink-600); white-space: nowrap; }

/* ---------- Koleksiyon kartları (tilt) ---------- */
.collections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.collection { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 26px; min-height: 190px; color: var(--ink); transition: transform .35s var(--ease), box-shadow .35s; transform-style: preserve-3d; }
.collection:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: var(--shadow-lg); color: var(--ink); }
.collection h3 { font-size: 26px; margin-bottom: 4px; }
.collection p { margin: 0 0 14px; color: var(--ink-2); max-width: 70%; }
.collection.pink { background: linear-gradient(135deg, var(--pink-100), #fff); } .collection.pink h3 { color: var(--pink-600); }
.collection.blue { background: linear-gradient(135deg, var(--blue-100), #fff); } .collection.blue h3 { color: var(--blue-600); }
.collection.cream { background: linear-gradient(135deg, #fff1e3, #fff); } .collection.cream h3 { color: var(--green); }
.collection.peach { background: linear-gradient(135deg, #ffe3d6, #fff); }
.collection .deco { position: absolute; right: -10px; bottom: -10px; width: 140px; height: 140px; border-radius: 50%; opacity: .55; }
.collection.has-img { min-height: 210px; }
.collection.has-img p { max-width: 52%; }
.collection .col-img { position: absolute; right: 0; top: 0; bottom: 0; width: 48%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28%); mask-image: linear-gradient(90deg, transparent 0, #000 28%); transition: transform .5s var(--ease); }
.collection:hover .col-img { transform: scale(1.05); }
.collection.has-img h3, .collection.has-img p, .collection.has-img .btn { position: relative; z-index: 1; }
.collection.pink .deco { background: var(--pink-200); } .collection.blue .deco { background: var(--blue-300); } .collection.cream .deco { background: #ffd9b4; }
@media (max-width: 860px) { .collections { grid-template-columns: 1fr; } }

/* ---------- Yatay slider ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 230px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 1100px) { .rail { grid-auto-columns: calc((100% - 5 * 14px) / 6); } }
@media (max-width: 600px) { .rail { grid-auto-columns: 46%; } }

/* ---------- Ürün kartı ---------- */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .products { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.pcard { position: relative; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s; }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pcard .media { position: relative; aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--pink-50), var(--blue-50)); overflow: hidden; }
.pcard .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .5s var(--ease); }
.pcard .media img.second { opacity: 0; }
.pcard:hover .media img.second { opacity: 1; }
.pcard:hover .media img.first { transform: scale(1.04); }
.pcard .badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; z-index: 2; }
.pcard .fav { position: absolute; top: 8px; right: 8px; z-index: 2; width: 38px; height: 38px; }
.pcard .fav.on { color: var(--pink-500); } .pcard .fav.on .ico { fill: var(--pink-500); }
.pcard .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard .name { font-weight: 800; font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 36px; }
.pcard .swatches { display: flex; gap: 4px; }
.swatch { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price .now { font-weight: 900; font-size: 17px; color: var(--ink); }
.price .old { color: var(--muted); text-decoration: line-through; font-size: 13px; }
.pcard .quick { margin-top: auto; }
.pcard.oos .media { filter: grayscale(.6); }
.stars { color: var(--sun); font-size: 13px; letter-spacing: 1px; }
.placeholder-art { position: absolute; inset: 0; display: grid; place-items: center; color: var(--pink-400); }
.placeholder-art svg { width: 46%; height: 46%; opacity: .55; }

/* ---------- Listeleme / filtre ---------- */
.listing { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 60px); background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.filters h4 { font-size: 15px; margin: 16px 0 8px; }
.filters .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.filter-toggle, .filter-close { display: none !important; }
@media (max-width: 860px) { .filter-close { display: inline-grid !important; } }
@media (max-width: 860px) {
  .listing { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0 0 0 auto; width: min(360px, 92vw); z-index: 90; border-radius: 0; overflow-y: auto; transform: translateX(100%); transition: transform .3s var(--ease); }
  .filters.open { transform: none; box-shadow: var(--shadow-lg); }
  .filter-toggle { display: inline-flex; position: sticky; top: calc(var(--header-h) + 52px); }
}
.scrim { position: fixed; inset: 0; background: rgba(31, 42, 68, .35); z-index: 85; display: none; }
.scrim.open { display: block; }
.pagination { display: flex; gap: 6px; justify-content: center; margin: 28px 0; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #fff; font-weight: 800; box-shadow: var(--shadow-sm); }
.pagination .current { background: var(--pink-500); color: #fff; }
.breadcrumb { font-size: 13px; color: var(--muted); margin: 16px 0; display: flex; gap: 6px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--pink-600); }

/* ---------- Ürün detay ---------- */
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; gap: 18px; } }
.gallery { display: grid; grid-template-columns: 78px 1fr; gap: 12px; }
.gallery .thumbs { display: flex; flex-direction: column; gap: 8px; }
.gallery .thumbs button { border: 2px solid transparent; border-radius: 12px; overflow: hidden; padding: 0; background: var(--pink-50); cursor: pointer; aspect-ratio: 4/5; }
.gallery .thumbs button.on { border-color: var(--pink-500); }
.gallery .main { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(160deg, var(--pink-50), var(--blue-50)); aspect-ratio: 4 / 5; cursor: zoom-in; }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.gallery .main.zoom img { transform: scale(1.8); cursor: zoom-out; }
@media (max-width: 600px) { .gallery { grid-template-columns: 1fr; } .gallery .thumbs { flex-direction: row; overflow-x: auto; order: 2; } .gallery .thumbs button { width: 64px; flex-shrink: 0; } }
.pdp h1 { font-size: clamp(24px, 3vw, 34px); }
.pdp .price .now { font-size: 30px; color: var(--pink-600); }
.opt-group { margin: 16px 0; }
.opt-group > span { font-weight: 800; display: block; margin-bottom: 8px; }
.opt-group .opts { display: flex; flex-wrap: wrap; gap: 8px; }
.color-opt { width: 40px; height: 40px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--line); cursor: pointer; }
.color-opt.on { box-shadow: 0 0 0 3px var(--pink-500); }
.size-opt { min-width: 64px; padding: 8px 12px; border-radius: 12px; border: 2px solid var(--line); background: #fff; font-weight: 800; cursor: pointer; }
.size-opt.on { border-color: var(--pink-500); background: var(--pink-50); color: var(--pink-600); }
.size-opt.oos { opacity: .4; text-decoration: line-through; }
.stock-line { font-weight: 800; font-size: 14px; } .stock-line.low { color: var(--amber); } .stock-line.ok { color: var(--green); } .stock-line.out { color: var(--red); }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: var(--radius-pill); background: #fff; }
.qty button { width: 40px; height: 42px; border: 0; background: none; font-size: 20px; cursor: pointer; }
.qty input { width: 44px; text-align: center; border: 0; font-weight: 800; }
.buy-row { display: flex; gap: 10px; align-items: center; margin: 14px 0; flex-wrap: wrap; }
.perks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 16px 0; }
.perks div { display: flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 700; background: #fff; border-radius: 14px; padding: 10px; }
.perks .ico { color: var(--blue-600); }
.tabs { margin-top: 32px; }
.tablist { display: flex; gap: 6px; border-bottom: 2px solid var(--line); overflow-x: auto; }
.tablist button { border: 0; background: none; padding: 12px 16px; font-weight: 800; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; }
.tablist button[aria-selected="true"] { color: var(--pink-600); border-color: var(--pink-500); }
.tabpanel { padding: 18px 0; }
.tabpanel[hidden] { display: none; }
table.size-chart { border-collapse: collapse; width: 100%; background: #fff; border-radius: 14px; overflow: hidden; }
table.size-chart th, table.size-chart td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; }
table.size-chart th { background: var(--pink-50); }
.sticky-buy { display: none; }
@media (max-width: 860px) { .sticky-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 64px; z-index: 65; background: #fff; padding: 10px var(--gutter); gap: 10px; align-items: center; box-shadow: 0 -6px 18px rgba(31, 42, 68, .1); } }

/* ---------- Sepet / ödeme ---------- */
.cart-grid { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
@media (max-width: 900px) { .cart-grid { grid-template-columns: 1fr; } }
.line { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; align-items: center; background: #fff; border-radius: var(--radius); padding: 12px; margin-bottom: 10px; box-shadow: var(--shadow-sm); }
.line .thumb { width: 84px; aspect-ratio: 4/5; border-radius: 12px; overflow: hidden; background: var(--pink-50); position: relative; }
.line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.summary { position: sticky; top: calc(var(--header-h) + 60px); }
.summary .row { display: flex; justify-content: space-between; padding: 6px 0; }
.summary .total { font-size: 20px; font-weight: 900; border-top: 2px dashed var(--line); margin-top: 8px; padding-top: 12px; }
.progress { height: 10px; background: var(--pink-100); border-radius: 10px; overflow: hidden; margin: 8px 0; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--pink-500), var(--blue-500)); border-radius: 10px; }
.steps-bar { display: flex; gap: 8px; margin: 18px 0; flex-wrap: wrap; }
.steps-bar span { padding: 6px 14px; border-radius: var(--radius-pill); background: #fff; font-weight: 800; font-size: 13px; color: var(--muted); }
.steps-bar span.on { background: var(--pink-500); color: #fff; }
.pay-option { display: flex; gap: 12px; align-items: center; padding: 14px; border: 2px solid var(--line); border-radius: 14px; margin-bottom: 8px; cursor: pointer; background: #fff; }
.pay-option:has(input:checked) { border-color: var(--pink-500); background: var(--pink-50); }
.pay-frame { width: 100%; min-height: 600px; border: 0; border-radius: var(--radius); background: #fff; }

/* ---------- Boş / yükleniyor / hata durumları ---------- */
.empty { text-align: center; padding: 48px 16px; background: #fff; border-radius: var(--radius-lg); }
.empty .art { width: 120px; height: 120px; margin: 0 auto 14px; border-radius: 50%; background: linear-gradient(135deg, var(--pink-100), var(--blue-100)); display: grid; place-items: center; color: var(--pink-500); }
.empty .art .ico { width: 56px; height: 56px; }
.skeleton { background: linear-gradient(90deg, #f6eef2 25%, #fff 50%, #f6eef2 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 12px; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ---------- Toast / modal / drawer ---------- */
.toasts { position: fixed; top: 16px; right: 16px; z-index: 200; display: flex; flex-direction: column; gap: 8px; max-width: min(380px, calc(100vw - 32px)); }
.toast { background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow-lg); font-weight: 700; animation: rise .3s var(--ease); }
.toast.ok { background: var(--green); } .toast.err { background: var(--red); }
.modal { position: fixed; inset: 0; z-index: 150; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(31, 42, 68, .45); }
.modal.open { display: flex; }
.modal .box { background: #fff; border-radius: var(--radius-lg); width: min(560px, 100%); max-height: 90vh; overflow: auto; padding: 24px; position: relative; }
.modal .close { position: absolute; top: 10px; right: 10px; }

/* ---------- Kombin / asistan ---------- */
.studio { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .studio { grid-template-columns: 1fr; } }
.outfit { background: #fff; border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow-sm); position: relative; }
.outfit .items { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin: 12px 0; }
.outfit .score { position: absolute; top: 16px; right: 16px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; background: conic-gradient(var(--green) calc(var(--s) * 1%), var(--line) 0); }
.outfit .score span { width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 13px; }
.chatbox { position: fixed; right: 16px; bottom: 16px; z-index: 120; width: min(380px, calc(100vw - 32px)); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); display: none; flex-direction: column; max-height: 70vh; }
.chatbox.open { display: flex; }
.chatbox .msgs { padding: 14px; overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.chatbox .msg { padding: 10px 12px; border-radius: 14px; max-width: 88%; font-size: 14px; white-space: pre-line; }
.chatbox .msg.me { align-self: flex-end; background: var(--pink-500); color: #fff; }
.chatbox .msg.bot { background: var(--blue-50); }
.chatbox form { display: flex; gap: 6px; padding: 10px; border-top: 1px solid var(--line); }
.chat-fab { position: fixed; right: 16px; bottom: 16px; z-index: 110; }
@media (max-width: 860px) { .chat-fab, .chatbox { bottom: 84px; } }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .posts { grid-template-columns: 1fr; } }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.post-card .cover { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--blue-100), var(--pink-100)); }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 16px; }
.prose { max-width: 760px; font-size: 17px; }
.prose h2 { margin-top: 1.4em; } .prose img { border-radius: var(--radius); }
.prose a { color: var(--blue-600); text-decoration: underline; }

/* ---------- Hesap ---------- */
.account { display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: start; }
.account nav { background: #fff; border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow-sm); }
.account nav a { display: flex; gap: 10px; padding: 10px 12px; border-radius: 12px; font-weight: 700; }
.account nav a.on, .account nav a:hover { background: var(--pink-50); color: var(--pink-600); }
@media (max-width: 860px) { .account { grid-template-columns: 1fr; } .account nav { display: flex; overflow-x: auto; } .account nav a { white-space: nowrap; } }
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); margin: 30px auto; max-width: 980px; }
.auth-art { position: relative; background: linear-gradient(160deg, var(--pink-100), var(--blue-100)); min-height: 420px; display: grid; place-items: center; padding: 30px; }
.auth-art .quote { font-family: var(--font-display); font-size: 34px; font-weight: 800; color: var(--pink-600); text-align: center; position: relative; z-index: 1; transform: rotate(-4deg); }
.auth-form { padding: 34px; }
@media (max-width: 760px) { .auth-wrap { grid-template-columns: 1fr; } .auth-art { min-height: 160px; } }
.status-pill { padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 800; background: var(--blue-50); color: var(--blue-600); }
.status-pill.cancelled, .status-pill.payment_failed { background: #fff0f2; color: var(--red); }
.status-pill.delivered, .status-pill.confirmed { background: #e8f7f0; color: var(--green); }
.timeline { display: flex; gap: 0; margin: 16px 0; }
.timeline div { flex: 1; text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); position: relative; padding-top: 28px; }
.timeline div::before { content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 16px; height: 16px; border-radius: 50%; background: var(--line); }
.timeline div.done { color: var(--green); } .timeline div.done::before { background: var(--green); }

/* ---------- Footer ---------- */
.newsletter { background: linear-gradient(135deg, var(--pink-500), var(--blue-500)); color: #fff; border-radius: var(--radius-lg); padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: center; position: relative; overflow: hidden; }
.newsletter h3 { color: #fff; }
.newsletter form { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter .input { flex: 1; min-width: 200px; border-color: transparent; }
@media (max-width: 760px) { .newsletter { grid-template-columns: 1fr; } }
.footer { background: #fff; margin-top: 48px; padding: 40px 0 20px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; }
.footer h4 { font-size: 16px; } .footer ul { list-style: none; padding: 0; margin: 0; } .footer li { margin: 6px 0; font-size: 14px; }
.footer .legal { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 16px; font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: span 2; } }
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 180; max-width: 640px; margin: 0 auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 18px; display: none; }
.cookie.open { display: block; }
@media (max-width: 860px) { .cookie { bottom: 84px; } }

/* ---------- Scroll ile beliren içerik ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Hareket azaltma / düşük cihaz ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .cloud, .balloon, .star { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
.lite .cloud, .lite .balloon, .lite .star, .lite .hero-blob { animation: none !important; }
@media print { .header, .footer, .bottom-nav, .chat-fab, .cookie { display: none !important; } }

@media (max-width: 860px) { body:has(.sticky-buy) .chat-fab, body:has(.sticky-buy) .chatbox { bottom: 150px; } }

.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; } .linklike:hover { text-decoration: underline; }
