@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700;800&display=swap');

:root {
  --brand: #1450ff;
  --brand-dark: #0b37c4;
  --brand-soft: #eff4ff;
  --accent: #ff7a1a;
  --accent-dark: #e8650a;
  --red: #e5342b;
  --green: #0f9d58;
  --ink: #0d1526;
  --ink-2: #333f52;
  --gray: #6b7688;
  --gray-light: #98a1b0;
  --bg-soft: #f7f8fb;
  --border: #e6e9ef;
  --border-strong: #d6dae2;
  --shadow-sm: 0 1px 2px rgba(13,21,38,.06);
  --shadow-md: 0 6px 18px rgba(13,21,38,.07);
  --shadow-lg: 0 18px 40px rgba(13,21,38,.12);
  --radius: 14px;
  --radius-lg: 20px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Jost', -apple-system, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .logo, .btn, .price-new, .stat-card .num {
  font-family: 'Jost', Arial, sans-serif;
  letter-spacing: 0;
}

.container { max-width: 1220px; margin: 0 auto; padding: 0 22px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.icon { width: 1.05em; height: 1.05em; display: inline-block; vertical-align: -0.18em; flex-shrink: 0; }

/* ---------- TOP BAR ---------- */
.top-bar {
  background: linear-gradient(90deg, var(--brand-dark), var(--brand));
  color: #fff; font-weight: 600; font-size: 0.8rem;
  padding: 9px 0; letter-spacing: .01em; overflow: hidden;
}
.top-bar-track { display: flex; width: max-content; animation: kayanYazi 34s linear infinite; }
.top-bar:hover .top-bar-track { animation-play-state: paused; }
.top-bar-item { padding: 0 26px; white-space: nowrap; position: relative; }
.top-bar-item::after { content: ''; position: absolute; right: -3px; top: 50%; transform: translateY(-50%); width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.45); }
@keyframes kayanYazi { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .top-bar-track { animation: none; } }

/* ---------- HEADER ---------- */
.site-header { background: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--border); }
.header-top { display: flex; align-items: center; gap: 28px; padding: 18px 22px; }
.logo { font-size: 1.45rem; font-weight: 800; color: var(--ink); white-space: nowrap; display: flex; align-items: center; }
.logo .dot { color: var(--brand); }
.logo img { width: auto; max-width: 220px; object-fit: contain; display: block; }

.search-form { flex: 1; display: flex; max-width: 540px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.search-form:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(20,80,255,.1); background: #fff; }
.search-form input { flex: 1; border: none; background: transparent; padding: 12px 16px; font-size: 0.92rem; font-family: inherit; color: var(--ink); }
.search-form input:focus { outline: none; }
.search-form input::placeholder { color: var(--gray-light); }
.search-form button { border: none; background: var(--ink); color: #fff; padding: 0 18px; cursor: pointer; display: flex; align-items: center; transition: background .15s; }
.search-form button:hover { background: var(--brand); }
.search-form button .icon { width: 1.1rem; height: 1.1rem; }

.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.account-menu { position: relative; }
.account-menu > span { display: flex; align-items: center; gap: 8px; padding: 10px 14px; font-weight: 600; font-size: 0.88rem; border-radius: 10px; cursor: pointer; color: var(--ink-2); transition: background .15s; }
.account-menu > span .icon { width: 1.15rem; height: 1.15rem; }
.account-menu:hover > span { background: var(--bg-soft); color: var(--ink); }
.account-menu:hover .dropdown-panel { display: block; }
.dropdown-panel { display: none; position: absolute; right: 0; top: 100%; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg); min-width: 200px; padding: 8px; z-index: 60; }
.dropdown-panel a, .dropdown-panel form button { display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 8px; font-weight: 500; font-size: 0.88rem; background: none; border: none; cursor: pointer; font-family: inherit; color: var(--ink-2); }
.dropdown-panel a:hover, .dropdown-panel form button:hover { background: var(--brand-soft); color: var(--brand); }
.dropdown-panel .hi { padding: 8px 12px 12px; font-size: 0.78rem; color: var(--gray); border-bottom: 1px solid var(--border); margin-bottom: 6px; }

.cart-link { position: relative; display: flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 10px; font-weight: 600; font-size: 0.88rem; transition: background .15s; }
.cart-link .icon { width: 1.1rem; height: 1.1rem; }
.cart-link:hover { background: var(--brand); }
.cart-badge { position: absolute; top: -7px; right: -7px; background: var(--accent); color: #fff; border-radius: 20px; min-width: 21px; height: 21px; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; border: 2px solid #fff; padding: 0 4px; }

.header-nav { border-top: 1px solid var(--border); }
.header-nav .container { display: flex; gap: 30px; overflow-x: auto; scrollbar-width: none; }
.header-nav .container::-webkit-scrollbar { display: none; }
.header-nav a { padding: 13px 0; font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); white-space: nowrap; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.header-nav a:hover, .header-nav a.active { color: var(--brand); border-bottom-color: var(--brand); }

.usp-bar { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.usp-item { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 12px; color: var(--ink-2); font-size: 0.8rem; font-weight: 600; text-align: center; }
.usp-item .icon { color: var(--brand); width: 1.05rem; height: 1.05rem; }
@media (max-width: 760px) { .usp-bar { grid-template-columns: 1fr; } .usp-item:not(:last-child) { border-bottom: 1px solid var(--border); } .header-top { flex-wrap: wrap; gap: 14px; } .search-form { order: 3; max-width: 100%; flex-basis: 100%; } }

/* ---------- FLASH ---------- */
.flash-toast { background: #ecfdf3; color: #05603a; border: 1px solid #abefc6; border-radius: 12px; padding: 13px 18px; margin: 18px auto 0; max-width: 1176px; font-weight: 600; font-size: 0.9rem; display: flex; align-items: center; gap: 10px; }
.flash-toast .icon { color: var(--green); }

/* ---------- HERO BANNER (sadece fotograf) ---------- */
.hero-wrap { padding: 26px 0 4px; }
.hero-banner-link { display: block; line-height: 0; }
.hero-banner-img { width: 100%; height: auto; display: block; }

/* ---------- SECTION HEADS ---------- */
.section-head { text-align: center; margin: 52px 0 28px; }
.section-title { font-size: 1.5rem; font-weight: 700; margin: 0; color: var(--ink); line-height: 1.3; text-transform: uppercase; letter-spacing: .01em; }
.section-sub { color: var(--gray); margin: 8px 0 0; font-size: 0.9rem; }
@media (max-width: 600px) { .section-title { font-size: 1.15rem; } }

/* ---------- CATEGORY GRID (sadece fotograf + link) ---------- */
.kategori-section { padding: 8px 0 4px; }
.kategori-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; align-items: end; }

/* Gorsel yuklenmis kategori: cerceve/arka plan yok, PNG kendi sekliyle gorunur */
.kategori-card.foto { display: block; line-height: 0; transition: transform .25s ease; }
.kategori-card.foto img { width: 100%; height: auto; display: block; }
.kategori-card.foto:hover { transform: translateY(-4px) scale(1.02); }

/* Gorsel yuklenmeden onceki gecici gorunum */
.kategori-card.bos { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: #fff; transition: box-shadow .25s, transform .25s, border-color .25s; aspect-ratio: 4 / 3; line-height: 0; }
.kategori-card.bos:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.kategori-fallback { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: linear-gradient(160deg, var(--brand-soft), #fbfcff); color: var(--brand-dark); line-height: normal; }
.kategori-fallback .icon { width: 1.9rem; height: 1.9rem; opacity: .8; }
.kategori-fallback span { font-size: 0.86rem; font-weight: 600; letter-spacing: -.01em; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--brand); color: #fff; padding: 12px 24px; border-radius: 10px;
  font-weight: 600; border: none; cursor: pointer; font-size: 0.92rem;
  transition: background .15s, transform .1s, box-shadow .15s; line-height: 1.2;
}
.btn:hover { background: var(--brand-dark); box-shadow: 0 6px 16px rgba(20,80,255,.24); }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); }
.btn-accent:hover { background: var(--accent-dark); box-shadow: 0 6px 16px rgba(255,122,26,.28); }
.btn-dark { background: var(--ink); }
.btn-dark:hover { background: var(--ink-2); box-shadow: none; }
.btn-outline { background: transparent; border: 1.5px solid #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--brand); box-shadow: none; }
.btn-outline-dark { background: transparent; border: 1.5px solid var(--border-strong); color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: none; }
.btn-soft { background: var(--brand-soft); color: var(--brand); }
.btn-soft:hover { background: #dfe8ff; color: var(--brand-dark); box-shadow: none; }
.btn-sm { padding: 9px 16px; font-size: 0.82rem; border-radius: 8px; }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #c92a22; box-shadow: none; }
.btn-block { width: 100%; }
.btn:disabled { background: var(--bg-soft); color: var(--gray-light); cursor: not-allowed; box-shadow: none; }

/* ---------- PRODUCT GRID ---------- */
.breadcrumb-bar { display: flex; align-items: center; justify-content: space-between; padding: 22px 0 6px; flex-wrap: wrap; gap: 12px; }
.breadcrumb-bar .path { color: var(--gray); font-size: 0.88rem; }
.breadcrumb-bar .path a { color: var(--brand); font-weight: 600; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(245px, 1fr)); gap: 22px; padding-bottom: 60px; }
.product-card {
  position: relative; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; background: #fff;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.product-media {
  display: block; position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  background: linear-gradient(165deg, var(--brand-soft), #fbfcff);
  display: flex; align-items: center; justify-content: center;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-media img { transform: scale(1.06); }
.product-media .icon { width: 2.6rem; height: 2.6rem; color: var(--brand); opacity: .35; }
.discount-badge {
  position: absolute; top: 12px; left: 12px; background: var(--red); color: #fff;
  font-size: 0.72rem; font-weight: 700; padding: 5px 10px; border-radius: 20px; z-index: 2;
  letter-spacing: .01em; box-shadow: 0 2px 8px rgba(229,52,43,.3);
}
.product-body { padding: 16px 14px 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; text-align: center; }
.product-cat { font-size: 0.68rem; color: var(--brand); font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.product-name {
  font-family: 'Jost', sans-serif; font-size: 0.86rem; font-weight: 700; color: var(--ink);
  line-height: 1.45; min-height: 2.6em; text-transform: uppercase; letter-spacing: .01em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-name:hover { color: var(--brand); }
.price-row { display: flex; align-items: baseline; gap: 9px; margin-top: auto; justify-content: center; }
.price-old { text-decoration: line-through; color: var(--gray-light); font-size: 0.82rem; }
.price-new { font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.stock-line { font-size: 0.74rem; font-weight: 600; }
.stock-line.az { color: var(--accent-dark); }
.stock-line.yok { color: var(--red); }
.stock-line.var { color: var(--green); }

/* ---------- WHY US ---------- */
.why-section { background: var(--bg-soft); padding: 10px 0 66px; margin-top: 24px; border-top: 1px solid var(--border); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.why-card { background: #fff; border-radius: var(--radius); padding: 28px 24px; text-align: center; border: 1px solid var(--border); transition: box-shadow .25s, transform .25s; }
.why-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.why-card .icon-wrap { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-soft); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.why-card .icon { width: 1.5rem; height: 1.5rem; color: var(--brand); }
.why-card h4 { margin: 0 0 8px; font-weight: 700; font-size: 1rem; }
.why-card p { margin: 0; color: var(--gray); font-size: 0.88rem; line-height: 1.6; }

/* ---------- PRODUCT DETAIL ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding: 34px 0 50px; }
.product-detail .product-media { aspect-ratio: 1 / 1; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.product-detail .product-media .icon { width: 4.5rem; height: 4.5rem; }
.product-detail h1 { margin: 8px 0 0; font-weight: 800; font-size: 1.85rem; line-height: 1.28; }
.detail-price { font-size: 2rem; font-weight: 800; color: var(--ink); margin: 16px 0 6px; display: flex; align-items: baseline; gap: 12px; font-family: 'Jost', sans-serif; }
.detail-price .price-old { font-size: 1.1rem; }
.detail-aciklama { color: var(--ink-2); font-size: 0.95rem; margin: 18px 0; padding-top: 18px; border-top: 1px solid var(--border); }
.qty-form { display: flex; gap: 12px; align-items: center; margin: 22px 0 16px; }
.qty-form input { width: 78px; padding: 12px; border: 1.5px solid var(--border-strong); border-radius: 10px; text-align: center; font-size: 1rem; font-family: inherit; }
.qty-form input:focus { outline: none; border-color: var(--brand); }
.qty-form .btn { flex: 1; max-width: 260px; }
.trust-list { list-style: none; padding: 18px 0 0; margin: 6px 0 0; border-top: 1px solid var(--border); display: grid; gap: 11px; }
.trust-list li { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--ink-2); }
.trust-list .icon { color: var(--green); width: 1.05rem; height: 1.05rem; }
@media (max-width: 780px) { .product-detail { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- SEPET ---------- */
.sepet-baslik { display: flex; align-items: baseline; gap: 12px; padding: 34px 0 22px; }
.sepet-baslik h1 { margin: 0; font-size: 1.7rem; font-weight: 800; }
.sepet-baslik span { color: var(--gray); font-size: 0.92rem; }

.sepet-duzen { display: grid; grid-template-columns: 1fr 350px; gap: 28px; align-items: start; padding-bottom: 60px; }
.sepet-liste { display: flex; flex-direction: column; gap: 12px; }

.sepet-satir {
  display: grid; grid-template-columns: 84px 1fr auto auto 32px; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px;
  transition: box-shadow .2s;
}
.sepet-satir:hover { box-shadow: var(--shadow-md); }
.ss-media { width: 84px; height: 84px; border-radius: 10px; overflow: hidden; background: linear-gradient(165deg, var(--brand-soft), #fbfcff); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ss-media img { width: 100%; height: 100%; object-fit: cover; }
.ss-media .icon { width: 1.8rem; height: 1.8rem; color: var(--brand); opacity: .35; }
.ss-bilgi { min-width: 0; }
.ss-ad { display: block; font-weight: 600; font-size: 0.98rem; color: var(--ink); line-height: 1.45; }
.ss-ad:hover { color: var(--brand); }
.ss-birim { color: var(--gray); font-size: 0.83rem; margin-top: 3px; }

.ss-adet { display: flex; align-items: center; border: 1.5px solid var(--border-strong); border-radius: 10px; overflow: hidden; height: 42px; }
.ss-adet .gizli-submit { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.adet-btn { border: none; background: var(--bg-soft); color: var(--ink); width: 36px; height: 100%; font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: background .15s, color .15s; }
.adet-btn:hover { background: var(--brand); color: #fff; }
.ss-adet input[type=number] { width: 48px; height: 100%; border: none; text-align: center; font-family: inherit; font-size: 0.95rem; font-weight: 600; color: var(--ink); -moz-appearance: textfield; }
.ss-adet input[type=number]::-webkit-outer-spin-button, .ss-adet input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ss-adet input:focus { outline: none; background: var(--brand-soft); }

.ss-toplam { font-weight: 800; font-size: 1.08rem; font-family: 'Jost', sans-serif; white-space: nowrap; min-width: 96px; text-align: right; }
.ss-sil button { border: none; background: transparent; color: var(--gray-light); width: 32px; height: 32px; border-radius: 8px; font-size: 1.35rem; line-height: 1; cursor: pointer; transition: background .15s, color .15s; }
.ss-sil button:hover { background: #fef3f2; color: var(--red); }

.devam-link { display: inline-block; margin-top: 8px; color: var(--brand); font-weight: 600; font-size: 0.9rem; }

.sepet-ozet { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; position: sticky; top: 120px; box-shadow: var(--shadow-sm); }
.sepet-ozet h3 { margin: 0 0 18px; font-size: 1.1rem; }
.kargo-bar { background: var(--bg-soft); border-radius: 10px; padding: 13px 15px; margin-bottom: 18px; }
.kargo-bar p { margin: 0; font-size: 0.84rem; color: var(--ink-2); }
.kargo-bar strong { color: var(--brand); }
.kargo-bar .bar { height: 6px; background: #e3e8f2; border-radius: 20px; margin-top: 10px; overflow: hidden; }
.kargo-bar .bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), #4d7bff); border-radius: 20px; }
.kargo-bar.tamam { background: #ecfdf3; }
.kargo-bar.tamam p { color: #05603a; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.kargo-bar.tamam .icon { color: var(--green); }
.ozet-satir { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; color: var(--ink-2); font-size: 0.93rem; }
.ozet-satir.toplam { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 15px; font-size: 1.2rem; font-weight: 800; color: var(--ink); font-family: 'Jost', sans-serif; }
.ozet-buton { margin-top: 16px; padding: 15px; font-size: 1rem; }
.ozet-guven { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.ozet-guven li { color: var(--gray); font-size: 0.82rem; }

.empty-state { text-align: center; padding: 70px 20px; color: var(--gray); }
.empty-state .empty-ikon { width: 68px; height: 68px; border-radius: 50%; background: var(--brand-soft); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.empty-state .empty-ikon .icon { width: 1.9rem; height: 1.9rem; color: var(--brand); }
.empty-state p { margin: 0 0 22px; font-size: 1rem; }

@media (max-width: 980px) { .sepet-duzen { grid-template-columns: 1fr; } .sepet-ozet { position: static; } }

/* ---------- CHECKOUT ---------- */

.checkout-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 44px; padding: 20px 0 50px; align-items: start; }
.checkout-grid h3 { font-size: 1.1rem; margin: 0 0 16px; }
.checkout-grid > div > h3:not(:first-child) { margin-top: 30px; }
@media (max-width: 820px) { .checkout-grid { grid-template-columns: 1fr; gap: 30px; } }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 7px; font-weight: 600; font-size: 0.82rem; color: var(--ink-2); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--border-strong); border-radius: 10px; font-size: 0.95rem; font-family: inherit; color: var(--ink); background: #fff; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(20,80,255,.1); }
.form-group input:disabled { background: var(--bg-soft); color: var(--gray); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.payment-options label { display: flex; gap: 11px; align-items: center; border: 1.5px solid var(--border-strong); border-radius: 10px; padding: 15px; margin-bottom: 10px; cursor: pointer; font-weight: 500; font-size: 0.92rem; transition: border-color .15s, background .15s; }
.payment-options label:hover { border-color: var(--brand); background: var(--brand-soft); }
.payment-options input { width: auto; accent-color: var(--brand); }
.order-items-mini { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; position: sticky; top: 120px; }
.order-items-mini .oi-row { display: flex; justify-content: space-between; gap: 14px; font-size: 0.9rem; padding: 9px 0; border-bottom: 1px solid var(--border); color: var(--ink-2); }
.order-items-mini .oi-row:last-child { border-bottom: none; padding-top: 14px; }

.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-weight: 500; font-size: 0.92rem; }
.alert-success { background: #ecfdf3; color: #05603a; }
.alert-error { background: #fef3f2; color: #b42318; }
.alert-info { background: var(--brand-soft); color: var(--brand-dark); }

.success-box { text-align: center; padding: 80px 20px; }
.success-box .check { color: var(--green); }
.success-box .check .icon { width: 4rem; height: 4rem; }
.success-box h1 { margin: 18px 0 8px; }
.order-no { display: inline-block; background: var(--ink); color: var(--accent); padding: 13px 24px; border-radius: 12px; font-weight: 700; letter-spacing: .04em; margin: 18px 0; }

/* ---------- AUTH / ACCOUNT ---------- */
.auth-wrap { max-width: 450px; margin: 56px auto 70px; padding: 0 22px; }
.auth-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow-md); }
.auth-card h1 { text-align: center; font-size: 1.5rem; margin: 0 0 6px; }
.auth-card .sub { text-align: center; color: var(--gray); font-size: 0.9rem; margin: 0 0 26px; }
.auth-switch { text-align: center; margin-top: 20px; font-size: 0.9rem; color: var(--gray); }
.auth-switch a { color: var(--brand); font-weight: 600; }

.hesap-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 28px; padding: 34px 0 66px; }
.hesap-side { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; height: fit-content; position: sticky; top: 120px; }
.hesap-side .isim { font-weight: 700; margin-bottom: 16px; font-size: 1rem; display: flex; align-items: center; gap: 9px; }
.hesap-side .isim .icon { color: var(--brand); }
.hesap-side a, .hesap-side form button { display: block; padding: 10px 12px; border-radius: 9px; font-weight: 500; font-size: 0.9rem; color: var(--ink-2); margin-bottom: 4px; background: none; border: none; width: 100%; text-align: left; cursor: pointer; font-family: inherit; }
.hesap-side a:hover, .hesap-side a.active, .hesap-side form button:hover { background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }
.panel-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; margin-bottom: 20px; }
.panel-card h3 { margin: 0 0 18px; font-size: 1.1rem; }
@media (max-width: 760px) { .hesap-wrap { grid-template-columns: 1fr; } .hesap-side { position: static; } }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--ink); color: #97a1b3; margin-top: 0; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; padding: 56px 22px 34px; }
.footer-inner strong { color: #fff; display: block; margin-bottom: 14px; font-size: 0.92rem; font-weight: 600; letter-spacing: .01em; }
.footer-inner .logo { margin-bottom: 14px; color: #fff; font-size: 1.3rem; }
.footer-inner .logo .dot { color: var(--accent); }
.footer-inner .logo img { max-width: 200px; }
.footer-inner p { margin: 6px 0; font-size: 0.88rem; line-height: 1.65; }
.footer-inner a { transition: color .15s; }
.footer-inner a:hover { color: #fff; }
.odeme-marks { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.odeme-mark { background: #fff; border-radius: 7px; height: 32px; min-width: 52px; padding: 0 10px; display: flex; align-items: center; justify-content: center; }
.odeme-mark svg { height: 20px; width: auto; }
.odeme-mark.visa { color: #1a1f71; font-weight: 800; font-style: italic; font-size: 0.88rem; letter-spacing: .04em; font-family: 'Jost', sans-serif; }
.odeme-mark.troy { color: #00a1e0; font-weight: 800; font-size: 0.88rem; letter-spacing: -.02em; font-family: 'Jost', sans-serif; }
.guven-listesi { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.guven-listesi li { display: flex; align-items: center; gap: 8px; font-size: 0.84rem; color: #97a1b3; }
.guven-listesi .icon { color: #34c759; width: .95rem; height: .95rem; }
.copyright { text-align: center; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.07); font-size: 0.8rem; }
@media (max-width: 860px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-inner { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- MOBIL UYUM ---------- */
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .top-bar { font-size: 0.72rem; padding: 8px 12px; }
  .header-top { padding: 14px 16px; }
  .logo { font-size: 1.2rem; }
  .logo img { max-width: 150px; }
  .header-actions { gap: 2px; }
  .account-menu > span, .cart-link { padding: 10px 12px; }
  .account-menu > span .etiket, .cart-link .etiket { display: none; }
  .search-form input { padding: 10px 14px; font-size: 0.88rem; }

  .section-head { margin: 34px 0 20px; }
  .section-title { font-size: 1.35rem; }
  .section-sub { font-size: 0.88rem; }

  /* Iki kolonlu vitrin */
  .kategori-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; padding-bottom: 36px; }
  .product-body { padding: 12px 12px 14px; gap: 7px; }
  .product-name { font-size: 0.86rem; min-height: 2.6em; }
  .price-new { font-size: 1.05rem; }
  .price-old { font-size: 0.76rem; }
  .stock-line { font-size: 0.7rem; }
  .product-body .btn { padding: 10px 8px; font-size: 0.78rem; }
  .product-body .btn .icon { display: none; }
  .discount-badge { font-size: 0.65rem; padding: 4px 8px; top: 8px; left: 8px; }

  /* Sepet tablosu: mobilde kart duzeni */
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .cart-table tr { border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; margin-bottom: 12px; }
  .cart-table td { border: none; padding: 6px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
  .cart-table td[data-label]::before { content: attr(data-label); font-size: 0.76rem; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: .03em; }
  .cart-table td:last-child { padding-top: 12px; }
  .cart-table td:last-child .btn { width: 100%; }
  .cart-summary { max-width: 100%; margin: 20px 0 0; padding: 20px; }

  .checkout-grid { gap: 24px; }
  .order-items-mini { position: static; }
  .auth-card { padding: 26px 20px; }
  .panel-card { padding: 20px 16px; }
  .empty-state { padding: 50px 16px; }
  .success-box { padding: 50px 16px; }
  .breadcrumb-bar { font-size: 0.85rem; }
  .qty-form .btn { max-width: none; }
  .product-detail h1 { font-size: 1.4rem; }
  .detail-price { font-size: 1.6rem; }
  .flash-toast { margin: 14px 16px 0; font-size: 0.85rem; }
  .footer-inner { padding: 36px 16px 26px; }
}

@media (max-width: 380px) {
  .kategori-grid, .product-grid { grid-template-columns: 1fr; }
}

/* ---------- ADMIN ---------- */
.admin-body { background: var(--bg-soft); font-family: 'Jost', Arial, sans-serif; margin: 0; }
.admin-wrap { display: flex; min-height: 100vh; }
.admin-sidebar { width: 230px; background: var(--ink); color: #fff; padding: 24px 0; }
.admin-sidebar .brand { padding: 0 22px 18px; font-weight: 800; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 12px; font-family: 'Jost', sans-serif; }
.admin-sidebar a { display: block; padding: 11px 22px; color: #a9b3c4; font-weight: 500; font-size: 0.92rem; }
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(255,255,255,.05); color: #fff; }
.admin-content { flex: 1; padding: 32px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; flex-wrap: wrap; gap: 12px; }
.admin-topbar h1 { font-size: 1.5rem; margin: 0; }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 28px; }
.stat-card { background: #fff; border-radius: var(--radius); padding: 20px; border: 1px solid var(--border); color: var(--gray); font-size: 0.85rem; }
.stat-card .num { font-size: 1.7rem; font-weight: 800; color: var(--ink); display: block; margin-bottom: 2px; }
.admin-table { width: 100%; background: #fff; border-collapse: collapse; border-radius: var(--radius); overflow: hidden; }
.admin-table th, .admin-table td { padding: 13px 15px; border-bottom: 1px solid var(--border); text-align: left; font-size: 0.9rem; }
.admin-table th { background: var(--bg-soft); text-transform: uppercase; font-size: 0.72rem; letter-spacing: .05em; color: var(--gray); font-weight: 600; }
.admin-table tr:last-child td { border-bottom: none; }
.badge { padding: 4px 11px; border-radius: 20px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.badge-yeni { background: #eff4ff; color: #1450ff; }
.badge-onaylandi { background: #fef7e6; color: #b25e09; }
.badge-kargolandi { background: #eef2ff; color: #4338ca; }
.badge-tamamlandi { background: #ecfdf3; color: #05603a; }
.badge-iptal { background: #fef3f2; color: #b42318; }
.login-box { max-width: 390px; margin: 90px auto; background: #fff; padding: 38px; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.login-box h2 { margin: 0 0 24px; font-size: 1.3rem; }
.admin-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; margin-bottom: 20px; }
.admin-card h3 { margin: 0 0 18px; font-size: 1.05rem; }

/* Admin mobil uyum */
@media (max-width: 820px) {
  .admin-wrap { flex-direction: column; }
  .admin-sidebar { width: 100%; padding: 0; display: flex; overflow-x: auto; scrollbar-width: none; }
  .admin-sidebar::-webkit-scrollbar { display: none; }
  .admin-sidebar .brand { display: none; }
  .admin-sidebar a { padding: 14px 16px; white-space: nowrap; font-size: 0.85rem; border-bottom: 2px solid transparent; }
  .admin-sidebar a.active { border-bottom-color: var(--accent); background: transparent; }
  .admin-content { padding: 20px 16px; }
  .admin-topbar h1 { font-size: 1.25rem; }
  .admin-card { padding: 18px 16px; }
  .admin-table { display: block; overflow-x: auto; white-space: nowrap; }
  .login-box { margin: 50px 16px; padding: 26px 20px; }
}
