/* ===================================================================
   v3 — mega menü, alt kategoriler, üyelik / hesabım, sipariş takibi
   =================================================================== */

/* ---------- Menü: tek satır, taşmaz; çok kategoride yatay kayar ---------- */
.nav-row { position: relative; }
.nav-row .main-nav { position: static; justify-content: safe center; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 30px; }
.nav-row .main-nav::-webkit-scrollbar { display: none; }
.nav-item { position: static; display: flex; align-items: center; height: 100%; flex: none; }
.nav-link { display: flex; align-items: center; height: 100%; white-space: nowrap; flex: none; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--ink-2); position: relative; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 12px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .25s; }
.nav-item:hover .nav-link, .nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-item:hover .nav-link::after, .nav-link.active::after, .nav-link:hover::after { transform: scaleX(1); }
.nav-link.sale { color: var(--sale); }
.nav-row .main-nav > a::after { display: none; }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 30px 50px -30px rgba(40,30,20,.35); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 40; }
.nav-item:hover .mega, .nav-item:focus-within .mega { opacity: 1; visibility: visible; transform: none; transition-delay: .08s; }
.mega-inner { display: grid; grid-template-columns: 220px 220px 1fr; gap: 40px; padding-top: 28px; padding-bottom: 32px; }
.mega-col { display: flex; flex-direction: column; gap: 10px; }
.mega-col a { font-size: 14.5px; color: var(--ink-2); text-transform: none; letter-spacing: 0; transition: color .15s, transform .15s; }
.mega-col a:hover { color: var(--ink); transform: translateX(3px); }
.mega-col a.sale { color: var(--sale); }
.mega-title { font-family: var(--serif); font-size: 24px; font-weight: 600; margin-bottom: 4px; letter-spacing: 0; text-transform: none; color: var(--ink); }
.mega-all { display: inline-flex !important; align-items: center; gap: 6px; font-weight: 500; color: var(--accent) !important; margin-bottom: 6px; }
.mega-all svg { width: 16px; height: 16px; }
.mega-img { position: relative; justify-self: end; width: 100%; max-width: 420px; aspect-ratio: 16/10; border-radius: 16px; overflow: hidden; background: var(--sand); }
.mega-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .8s; }
.mega-img:hover img { transform: scale(1.04); }
.mega-img span { position: absolute; left: 16px; bottom: 14px; color: #fff; font-family: var(--serif); font-size: 22px; text-shadow: 0 2px 12px rgba(0,0,0,.35); }

/* ---------- Header hesap butonu ---------- */
.account-btn { display: inline-flex; align-items: center; width: auto; min-width: 42px; padding: 0 10px; border-radius: 999px; gap: 8px; }
.acc-label { font-size: 14px; font-weight: 500; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Mobil menü: hesap + açılır alt kategoriler ---------- */
.drawer-account { display: flex; gap: 8px; padding: 14px 16px 6px; }
.drawer-account .btn { flex: 1; height: 42px; }
.drawer-group summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 12px 16px; font-size: 17px; font-family: var(--serif); font-weight: 600; cursor: pointer; }
.drawer-group summary::-webkit-details-marker { display: none; }
.drawer-group summary img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--sand); }
.drawer-group summary svg { margin-left: auto; width: 18px; color: var(--muted); transition: transform .25s; }
.drawer-group[open] summary svg { transform: rotate(180deg); }
.drawer-sub { display: grid; padding: 0 16px 10px 74px; }
.drawer-sub a { padding: 8px 0; font-size: 15px; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.drawer-sub a:last-child { border-bottom: 0; }

/* ---------- Alt kategori seçimleri ---------- */
.sub-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 14px; scrollbar-width: none; }
.sub-chips::-webkit-scrollbar { display: none; }
.sub-chip { flex: none; padding: 9px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; white-space: nowrap; transition: all .2s; }
.sub-chip:hover { border-color: var(--ink); }
.sub-chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Giriş / üye ol ---------- */
.auth { display: grid; gap: 24px; padding-top: 22px; padding-bottom: 50px; }
.auth.single { max-width: 520px; }
.auth-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px 20px; }
.auth-card h1 { font-size: 32px; margin: 16px 0 6px; }
.auth-card.center { text-align: center; }
.auth-card.center .btn { margin-top: 14px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--sand); border-radius: 999px; padding: 4px; }
.auth-tabs a { text-align: center; padding: 10px; border-radius: 999px; font-weight: 500; font-size: 14.5px; color: var(--ink-2); }
.auth-tabs a.active { background: var(--surface); color: var(--ink); box-shadow: 0 2px 8px -4px rgba(0,0,0,.25); }
.auth-form { display: grid; gap: 14px; margin-top: 18px; }
.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.auth-row .check { margin: 0; }
.auth-alt { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.demo-hint { margin-top: 14px; font-size: 12.5px; background: #eef5f0; color: #245c40; border-radius: 10px; padding: 9px 12px; }
.pw { position: relative; }
.pw input { padding-right: 72px !important; }
.pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 12.5px; font-weight: 500; color: var(--ink-2); padding: 6px 8px; border-radius: 8px; }
.pw-toggle:hover { background: var(--sand); }
.strength { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 6px; }
.strength i { height: 4px; border-radius: 2px; background: var(--sand-2); transition: background .2s; }
.strength[data-level="1"] i:nth-child(-n+1) { background: #d0453a; }
.strength[data-level="2"] i:nth-child(-n+2) { background: #e0a100; }
.strength[data-level="3"] i:nth-child(-n+3) { background: #7fb069; }
.strength[data-level="4"] i { background: var(--ok); }
.auth-side { display: none; position: relative; border-radius: 20px; overflow: hidden; min-height: 520px; }
.auth-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.auth-side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,15,10,.78), rgba(20,15,10,0) 55%); }
.auth-side > div { position: absolute; z-index: 1; left: 32px; right: 32px; bottom: 32px; color: #fff; }
.auth-side h2 { color: #fff; margin-bottom: 14px; }
.auth-side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.auth-side li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.auth-side svg { color: #f1d9b5; }
.back-link { display: block; text-align: center; margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.alert-ok { background: #e7f4ec; color: #1f5f3f; border: 1px solid #c7e5d3; }

/* ---------- Hesabım ---------- */
.acc { display: grid; gap: 18px; padding-bottom: 50px; }
.acc-nav { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px; align-self: start; }
.acc-user { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.acc-user div { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.acc-user small { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; }
.avatar-letter.lg { width: 46px; height: 46px; font-size: 22px; }
.acc-nav nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.acc-nav nav::-webkit-scrollbar { display: none; }
.acc-nav nav a, .acc-nav nav button { flex: none; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.acc-nav nav a:hover, .acc-nav nav button:hover { background: var(--sand); color: var(--ink); }
.acc-nav nav a.active { background: var(--ink); color: #fff; }
.acc-nav nav svg { width: 18px; height: 18px; }
.acc-nav form { display: contents; }
.verify-banner { grid-column: 1 / -1; order: -1; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: #fff7e8; border: 1px solid #f1dfc2; color: #6b4a14; border-radius: 14px; padding: 12px 16px; font-size: 14px; }
.verify-banner span { flex: 1; min-width: 200px; }
.verify-banner a { text-decoration: underline; }
.acc-main { display: grid; gap: 16px; min-width: 0; align-content: start; }
.acc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.acc-stat { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; transition: border-color .2s; }
.acc-stat:hover { border-color: var(--ink); }
.acc-stat b { font-family: var(--serif); font-size: 34px; line-height: 1; font-weight: 600; }
.acc-stat span { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.acc-grid { display: grid; gap: 16px; }
.acc-main .panel { margin: 0; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.panel-head h3, .panel-title { font-size: 22px; }
.panel-title { margin-bottom: 12px; }
.panel-title.mt { margin-top: 18px; }
.narrow-panel { max-width: 520px; }
.small-empty { padding: 26px 10px; }
.small-empty svg { width: 40px; height: 40px; }
.order-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); position: relative; }
.order-row:first-of-type { border-top: 0; }
.order-row:hover .or-info b { text-decoration: underline; }
.or-thumbs { display: flex; }
.or-thumbs img { width: 42px; height: 56px; object-fit: cover; border-radius: 8px; border: 2px solid var(--surface); margin-left: -12px; }
.or-thumbs img:first-child { margin-left: 0; }
.or-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 14px; }
.or-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 14px; }
.or-chev { display: none; }
.mini-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; width: 120px; margin-top: 6px; }
.mini-progress i { height: 4px; border-radius: 2px; background: var(--sand-2); }
.mini-progress i.on { background: var(--ok); }
.track-steps { list-style: none; padding: 0; margin: 10px 0 18px; display: grid; grid-template-columns: repeat(4, 1fr); }
.track-steps li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; font-size: 12.5px; color: var(--muted); }
.track-steps li:not(:first-child)::before { content: ""; position: absolute; top: 15px; right: 50%; width: 100%; height: 2px; background: var(--line); }
.track-steps i { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--line); font-style: normal; font-weight: 600; font-size: 13px; }
.track-steps b { color: inherit; font-weight: 500; font-size: 13px; }
.track-steps small { font-size: 11px; }
.track-steps li.done, .track-steps li.current { color: var(--ink); }
.track-steps li.done i { background: var(--ok); border-color: var(--ok); color: #fff; }
.track-steps li.done::before, .track-steps li.current::before { background: var(--ok); }
.track-steps li.current i { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 0 0 5px rgba(29,27,25,.1); }
.cargo-box { display: flex; align-items: center; gap: 14px; background: var(--sand); border-radius: 12px; padding: 12px 16px; }
.cargo-box svg { width: 28px; height: 28px; color: var(--accent); }
.cargo-box div { display: flex; flex-direction: column; font-size: 14px; }
.live-note { display: flex; align-items: center; gap: 8px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(47,122,85,.5); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(47,122,85,0); } 100% { box-shadow: 0 0 0 0 rgba(47,122,85,0); } }
.history { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.history li { display: flex; gap: 12px; padding: 10px 0; position: relative; }
.history li:not(:last-child)::after { content: ""; position: absolute; left: 4px; top: 22px; bottom: -6px; width: 2px; background: var(--line); }
.history .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); margin-top: 6px; flex: none; }
.history li:not(:first-child) .dot { background: var(--sand-2); }
.history div { display: flex; flex-direction: column; font-size: 14px; line-height: 1.4; }
.history span { color: var(--ink-2); }
.history small { color: var(--muted); font-size: 12px; }
.totals-mini { display: grid; grid-template-columns: 1fr auto; gap: 6px; margin: 0 0 16px; font-size: 14px; }
.totals-mini dd { margin: 0; text-align: right; }
.order-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Ödeme: misafir / üye kutuları ---------- */
.guest-box { display: grid; gap: 10px; background: var(--surface); border: 1px dashed #d8cbb8; border-radius: 16px; padding: 16px; margin-bottom: 16px; }
.guest-box > div:first-child { display: flex; flex-direction: column; font-size: 14px; }
.guest-actions { display: flex; gap: 8px; }
.member-box { display: flex; align-items: center; gap: 12px; background: #eef5f0; color: #245c40; border-radius: 14px; padding: 12px 16px; margin-bottom: 16px; font-size: 14px; }
.member-box a { text-decoration: underline; }
.save-account { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; text-align: left; }
.save-account > div { display: flex; flex-direction: column; font-size: 14px; }

/* ---------- Demo e-posta kutusu ---------- */
.mailbox { display: grid; gap: 16px; padding-bottom: 50px; }
.mail-list { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; max-height: 70vh; overflow-y: auto; }
.mail-item { display: flex; flex-direction: column; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.mail-item span, .mail-item small { color: var(--muted); font-size: 12.5px; }
.mail-item.active { background: var(--sand); }
.mail-view { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; min-width: 0; }
.mail-head { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 14px; }
.mail-head span { color: var(--muted); font-size: 13px; }
.mail-body { overflow-x: auto; }
.pad { padding: 16px; }

@media (min-width: 640px) {
  .auth-card { padding: 32px; }
  .acc-grid { grid-template-columns: 1fr 1fr; }
  .guest-box { grid-template-columns: 1fr auto; align-items: center; }
  .guest-box small { grid-column: 1 / -1; }
  .or-chev { display: block; width: 16px; color: var(--muted); position: absolute; right: -4px; }
  .order-row { padding-right: 20px; }
}
@media (min-width: 1024px) {
  .auth { grid-template-columns: 480px 1fr; align-items: stretch; max-width: 1100px; }
  .auth.single { grid-template-columns: 1fr; }
  .auth-side { display: block; }
  .acc { grid-template-columns: 260px 1fr; align-items: start; gap: 28px; }
  .acc-nav { position: sticky; top: calc(var(--header-h) + 70px); }
  .acc-nav nav { flex-direction: column; overflow: visible; }
  .acc-nav nav button { width: 100%; }
  .mailbox { grid-template-columns: 340px 1fr; }
}

/* Mega menü içindeki bağlantılar üst menü stilini (büyük harf, alt çizgi) devralmasın */
.nav-row .mega a { font-size: 14.5px; letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--ink-2); padding: 0; }
.nav-row .mega a::after { display: none; }
.nav-row .mega a:hover { color: var(--ink); }
.nav-row .mega .mega-all { font-weight: 500; color: var(--accent); }
.nav-row .mega .sale { color: var(--sale); }
.nav-item.open .mega { opacity: 1; visibility: visible; transform: none; }

/* Mobilde hesap menüsünün yatay kaydırması sayfayı genişletmesin */
.acc { grid-template-columns: minmax(0, 1fr); }
.acc > * { min-width: 0; }
.acc-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.acc-stat b { font-size: 30px; }
.acc-stat span { font-size: 12px; line-height: 1.3; }
@media (min-width: 1024px) { .acc { grid-template-columns: 260px minmax(0, 1fr); } }

/* ---------- Renk seçenekleri ---------- */
.swatch-dots { display: flex; align-items: center; gap: 5px; margin-top: 4px; }
.swatch-dots a { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); outline: 1px solid transparent; outline-offset: 2px; transition: outline-color .15s; }
.swatch-dots a.on, .swatch-dots a:hover { outline-color: var(--ink); }
.swatch-dots small { font-size: 11.5px; color: var(--muted); margin-left: 4px; }
.color-picker { display: flex; gap: 10px; flex-wrap: wrap; margin: 2px 0 18px; }
.color-opt { display: flex; flex-direction: column; gap: 6px; width: 76px; }
.color-opt img { width: 76px; aspect-ratio: 2/3; object-fit: cover; border-radius: 10px; border: 2px solid transparent; transition: border-color .2s, opacity .2s; opacity: .85; }
.color-opt:hover img { opacity: 1; }
.color-opt.on img { border-color: var(--ink); opacity: 1; }
.color-opt span { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--ink-2); }
.color-opt span i { width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); flex: none; }
.color-opt.on span { color: var(--ink); font-weight: 500; }

/* ===================================================================
   v4 — editoryal rötuş: nötr zemin, köşeli çizgiler, sade tipografi
   (yeni gri-bej stüdyo fotoğraflarıyla uyumlu)
   =================================================================== */
:root {
  --bg: #fbfaf8; --surface: #ffffff; --sand: #f3f0eb; --sand-2: #e5e0d8; --line: #e9e5de;
  --radius: 4px; --radius-sm: 3px;
}
body { background: var(--bg); }
.btn { border-radius: 2px; text-transform: uppercase; letter-spacing: .12em; font-size: 12.5px; font-weight: 500; }
.btn-lg { font-size: 13px; }
.btn svg { width: 17px; height: 17px; }
.chip, .sub-chip, .size-chip, .search-tags a, .price-quick a, .active-filters a, .tag, .status, .badge { border-radius: 2px; }
.badge { border-radius: 9px; }
.tag { letter-spacing: .1em; font-size: 10.5px; padding: 4px 8px; }
.card-img, .pdp-slides, .spot-img, .cat-tile, .mega-img, .promo, .auth-side, .lookbook-strip a, .review-card, .review, .review-summary,
.panel, .summary, .acc-nav, .acc-stat, .auth-card, .guest-box, .cart-item, .ship-progress, .mail-list, .mail-view, .modal, .cookie,
.pdp-perks, .fit-hint, .one-size, .cargo-box, .verify-banner, .member-box, .demo-note, .inst-opt, .card-visual { border-radius: var(--radius); }
.cart-thumb img, .mini-img img, .color-opt img, .or-thumbs img, .pdp-thumbs button, .spot-thumbs img, .review-card figcaption img { border-radius: 2px; }
.field input, .field select, .field textarea, .price-filter input, .select select, .nl-row input, .header-search input, .seg, .qty { border-radius: 2px; }
.size-opt span { border-radius: 2px; }
.fav-btn { border-radius: 50%; }
.auth-tabs, .auth-tabs a { border-radius: 2px; }
.card-body { padding-top: 12px; }
.card-cat { font-size: 10.5px; letter-spacing: .16em; }
.card-title { font-size: 14px; letter-spacing: .01em; }
.price b { font-weight: 500; }
.section-head h2, .spot-text h2, .page-head h1 { letter-spacing: -.01em; }
.hero-cta .btn { height: 48px; padding: 0 26px; }
.marquee { background: var(--surface); }
.marquee span { font-size: 17px; }
.nl-row input { border-radius: 2px; }
.newsletter .btn { border-radius: 2px; }
/* üst bilgi şeridi */
.utility { background: var(--surface); border-bottom: 1px solid var(--line); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.utility-row { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.utility nav { display: flex; gap: 22px; align-items: center; }
.utility a:hover { color: var(--ink); }
@media (max-width: 1023px) { .utility { display: none !important; } }

/* Slider 1: masaüstünde model sağda (solda yazı), üstten asla kırpılmaz; telefonda ayrı dikey görsel, model ortada */
.hero-slide img.hero-odak-sag { object-position: 62% 0%; }
@media (max-width: 767px) { .hero-slide img.hero-odak-sag { object-position: 50% 12%; } }
