/* 3Dci ana stil dosyası — mobil öncelikli. Kırılımlar: 640 / 960 / 1200 px. Inline style yok (CSP). */

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.55 var(--font-body);
  padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--purple-700); text-underline-offset: 3px; }
a:hover { color: var(--purple); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.3rem, 2.6vw, 1.75rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-s); z-index: 100; }
.skip-link:focus { top: 1rem; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1rem; }
.muted { color: var(--ink-soft); }
.small { font-size: .875rem; }
.d-block { display: block; }
.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 60ch; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; font-weight: 700; color: var(--purple-700); margin: 0 0 .35rem; }
.eyebrow--light { color: var(--purple-700); background: var(--purple-tint); display: inline-block; padding: .25rem .7rem; border-radius: var(--radius-pill); }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: .6rem 1.25rem; border-radius: var(--radius-pill);
  border: 2px solid transparent; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background-color .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.btn--primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-1); }
.btn--primary:hover { background: var(--primary-hover); color: #fff; }
.btn--teal { background: var(--teal); color: var(--ink); }
.btn--teal:hover { background: #2cc8c0; color: var(--ink); }
.btn--secondary { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn--secondary:hover { border-color: var(--purple); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--lg { min-height: 52px; padding-inline: 1.6rem; font-size: 1.05rem; }
.btn--sm { min-height: 36px; padding: .35rem .9rem; font-size: .9rem; }
.btn--block { width: 100%; }
.btn[aria-pressed="true"] svg { fill: var(--danger); stroke: var(--danger); }
.link-arrow { font-weight: 700; text-decoration: none; }
.link-arrow::after { content: " →"; }

/* ---------- Rozetler, uyarılar ---------- */
.badge { display: inline-block; font-size: .75rem; font-weight: 700; padding: .2rem .6rem; border-radius: var(--radius-pill); background: var(--line); color: var(--ink); }
.badge--demo { background: var(--yellow); color: var(--ink); }
.badge--muted { background: rgba(255,255,255,.9); color: var(--ink-soft); }
.badge--sale { background: var(--danger); color: #fff; }
.badge--ok { background: var(--teal-tint); color: var(--teal-700); }
.notice { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--blue); padding: .8rem 1rem; border-radius: var(--radius-s); margin: 0 0 1rem; }
.notice p { margin: .25rem 0 0; }
.notice--demo { border-left-color: var(--yellow); background: var(--yellow-tint); }
.notice--info { border-left-color: var(--teal); background: var(--teal-tint); }
.form-error { color: var(--danger); font-weight: 600; margin: .5rem 0; }
.compat-warn { color: var(--yellow-700); font-weight: 600; font-size: .9rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,250,254,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: .75rem; min-height: var(--header-h); flex-wrap: wrap; padding-block: .5rem; }
.logo { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; text-decoration: none; letter-spacing: -.03em; display: inline-flex; }
.logo-3d { color: var(--purple); }
.logo-ci { color: var(--ink); }
.main-nav { display: none; gap: 1.25rem; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding: .4rem 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.is-active { border-bottom-color: var(--purple); }
.header-search { order: 3; flex: 1 1 100%; display: flex; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-pill); overflow: hidden; }
.header-search input { flex: 1; border: 0; padding: .6rem 1rem; background: transparent; min-width: 0; }
.header-search input:focus { outline: none; }
.header-search:focus-within { border-color: var(--purple); box-shadow: 0 0 0 3px var(--purple-tint); }
.icon-btn { border: 0; background: transparent; padding: 0 .9rem; cursor: pointer; }
.icon-btn svg, .icon-link svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.header-actions { margin-left: auto; display: flex; gap: .25rem; }
.icon-link { position: relative; display: inline-flex; padding: .6rem; border-radius: var(--radius-pill); }
.icon-link:hover { background: var(--purple-tint); }
.count-badge { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--purple); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; }

/* ---------- Mobil alt navigasyon ---------- */
.bottom-nav {
  position: fixed; inset: auto 0 0 0; z-index: 60; display: flex; justify-content: space-around;
  background: var(--surface); border-top: 1px solid var(--line);
  height: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav a { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--ink-soft); text-decoration: none; font-size: .72rem; font-weight: 600; }
.bottom-nav a.is-active { color: var(--purple-700); }
.bottom-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bottom-nav .count-badge { top: 6px; right: calc(50% - 22px); }

/* ---------- Bölümler ---------- */
.site-main { min-height: 60vh; }
.section { padding-block: 2.5rem; }
.section-head { margin-bottom: 1.25rem; }
.section-head p { color: var(--ink-soft); max-width: 70ch; }
.section-head--row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.page-head { padding-block: 1.5rem .5rem; }
.page-head--tight { padding-bottom: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .35rem; font-size: .85rem; color: var(--ink-soft); margin-bottom: .75rem; }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb > * + *::before { content: "›"; display: inline-block; margin-right: .35rem; color: var(--ink-soft); text-decoration: none; }
.buybox .stock { margin-bottom: .75rem; font-size: .9rem; }
.panel { background: var(--surface); border-radius: var(--radius-l); padding: 1.25rem; box-shadow: var(--shadow-1); border-top: 6px solid var(--purple); }
.panel--blue { border-top-color: var(--blue); }
.panel--purple { border-top-color: var(--purple); }
.panel__title { margin-bottom: .75rem; }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1200px 400px at 85% -10%, var(--purple-tint), transparent 60%), radial-gradient(800px 400px at -10% 110%, var(--teal-tint), transparent 60%); padding-block: 2.5rem 1.5rem; overflow: hidden; }
.hero__inner { display: grid; gap: 1.5rem; align-items: center; }
.hero__title { font-size: clamp(2rem, 5.4vw, 3.2rem); font-weight: 800; }
.hero__title .hl { background: linear-gradient(90deg, var(--purple), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__note { margin: 1rem 0 0; font-weight: 600; color: var(--purple-700); }
.hero__aside { margin: 1.25rem 0 0; font-size: .95rem; }
.hero-card { margin: 0; background: var(--surface); border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-2); border: 1px solid var(--line); }
.hero-card img { width: 100%; height: auto; aspect-ratio: 800 / 720; }
.hero-card figcaption { display: grid; gap: .2rem; padding: .9rem 1.1rem 1.1rem; }
.hero-card figcaption span { font-size: .82rem; color: var(--ink-soft); }

/* ---------- Adımlar ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; counter-reset: none; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.25rem 1.25rem 1rem; border-top: 6px solid var(--purple); }
.step--teal { border-top-color: var(--teal); }
.step--yellow { border-top-color: var(--yellow); }
.step__no { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--purple-tint); color: var(--purple-700); font-weight: 800; margin-bottom: .6rem; }
.step--teal .step__no { background: var(--teal-tint); color: var(--teal-700); }
.step--yellow .step__no { background: var(--yellow-tint); color: var(--yellow-700); }
.step p { color: var(--ink-soft); margin: 0; }
.steps-cta { margin: 1.25rem 0 0; text-align: center; }

/* ---------- Izgara ve kartlar ---------- */
.selector-grid { display: grid; gap: 1rem; }
.category-grid, .brand-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.category-card__name, .brand-card, .product-card__title, .cart-line__name { overflow-wrap: anywhere; hyphens: auto; }
.hero__inner > *, .catalog-layout > *, .product-layout > *, .cart-layout > * { min-width: 0; }
.category-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 110px; padding: 1rem; border-radius: var(--radius-m); text-decoration: none; color: var(--ink); background: var(--purple-tint); transition: transform .15s var(--ease), box-shadow .15s; }
.category-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-1); color: var(--ink); }
.category-card--teal { background: var(--teal-tint); }
.category-card--blue { background: var(--blue-tint); }
.category-card--yellow { background: var(--yellow-tint); }
.category-card__name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.category-card__count { font-size: .85rem; color: var(--ink-soft); }
.brand-card { display: flex; flex-direction: column; gap: .2rem; padding: 1rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); color: var(--ink); text-decoration: none; font-weight: 700; }
.brand-card:hover { border-color: var(--purple); color: var(--ink); }

.product-grid { display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius-m); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.product-card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.product-card__media { position: relative; display: block; aspect-ratio: 1; background: var(--purple-tint); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__media .badge { position: absolute; left: .5rem; top: .5rem; }
.product-card__media .badge--sale { left: auto; right: .5rem; top: auto; bottom: .5rem; }
.product-card__body { padding: .75rem .85rem 1rem; display: flex; flex-direction: column; gap: .25rem; flex: 1; }
.product-card__title { font-family: var(--font-body); font-size: .95rem; font-weight: 600; line-height: 1.35; margin: 0; }
.product-card__title a { color: var(--ink); text-decoration: none; }
.product-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.product-card .eyebrow { font-size: .68rem; color: var(--ink-soft); }
.fav-btn { position: absolute; right: .5rem; top: .5rem; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-1); }
.fav-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2; }
.fav-btn[aria-pressed="true"] svg { fill: var(--danger); stroke: var(--danger); }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem; margin-top: auto; }
.price { font-weight: 800; font-size: 1.05rem; }
.price-old { color: var(--ink-soft); font-size: .9rem; }
.price-row--lg .price { font-size: 1.8rem; font-family: var(--font-display); }
.stock { font-size: .8rem; font-weight: 600; margin: 0; }
.stock--instock { color: var(--success); }
.stock--madetoorder { color: var(--blue-700); }
.stock--outofstock { color: var(--danger); }
.min-qty { font-size: .78rem; color: var(--yellow-700); font-weight: 700; margin: 0; }

/* ---------- Formlar ---------- */
.field { display: flex; flex-direction: column; gap: .35rem; margin: 0 0 1rem; border: 0; padding: 0; min-width: 0; }
.field > label, .field > legend { font-weight: 600; font-size: .9rem; }
input[type="text"], input[type="search"], input[type="number"], input:not([type]), select, textarea {
  width: 100%; min-height: 44px; padding: .55rem .8rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-s);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px var(--purple-tint); }
select:disabled { background: var(--bg); color: var(--ink-soft); }
.help { font-size: .8rem; color: var(--ink-soft); margin: 0; }
.check { display: flex; align-items: center; gap: .5rem; font-weight: 500; min-height: 32px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--purple); }
.field--range { flex-direction: row; flex-wrap: wrap; align-items: center; gap: .5rem; }
.field--range legend { width: 100%; margin-bottom: .35rem; }
.field--range input { flex: 1 1 0; min-width: 0; }
.swatches { display: flex; flex-wrap: wrap; gap: .4rem; }
.swatch { position: relative; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; inset: 0; }
.swatch svg { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--line); }
.swatch input:checked + svg { border-color: var(--purple); box-shadow: 0 0 0 2px var(--purple-tint); }
.swatch input:focus-visible + svg { outline: 3px solid var(--blue); outline-offset: 2px; }
.swatch--all span { display: inline-block; padding: .3rem .7rem; border: 2px solid var(--line); border-radius: var(--radius-pill); font-size: .8rem; font-weight: 600; }
.swatch--all input:checked + span { border-color: var(--purple); background: var(--purple-tint); }
.compat-selector__fields { display: grid; gap: .25rem; }
.compat-selector .btn { margin-top: .25rem; }
.inline-form { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.inline-form select { width: auto; }

/* ---------- Katalog ---------- */
.catalog-layout { display: grid; gap: 1rem; padding-bottom: 2rem; }
.filters__panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); }
.filters__summary { padding: .9rem 1rem; font-weight: 700; cursor: pointer; }
.filters__form { padding: 0 1rem 1rem; }
.filters__actions { display: grid; gap: .5rem; }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.results-count { font-weight: 700; margin: 0; }
.sort-form { display: flex; align-items: center; gap: .5rem; }
.sort-form label { font-size: .9rem; color: var(--ink-soft); }
.sort-form select { width: auto; min-height: 40px; }
.chip-row { margin: 0 0 1rem; }
.chip { display: inline-flex; gap: .5rem; align-items: center; padding: .35rem .8rem; background: var(--blue-tint); border-radius: var(--radius-pill); font-weight: 600; font-size: .9rem; }
.chip a { text-decoration: none; color: var(--blue-700); }
.empty-state { text-align: center; padding: 2.5rem 1rem; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius-m); }
.empty-state .btn { margin: .25rem; }
.empty-state--page { border: 0; background: transparent; padding-block: 4rem; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; margin-top: 1.5rem; }
.pagination a, .pagination span { min-width: 44px; min-height: 44px; display: grid; place-items: center; padding: 0 .8rem; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); font-weight: 600; }
.pagination .is-current { background: var(--purple); border-color: var(--purple); color: #fff; }
.pagination__gap { border: 0 !important; background: transparent !important; }

/* ---------- Ürün detay ---------- */
.product-layout { display: grid; gap: 1.5rem; padding-bottom: 1.5rem; }
.gallery__main { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius-l); overflow: hidden; background: var(--purple-tint); cursor: zoom-in; aspect-ratio: 1; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__main .badge { position: absolute; left: 1rem; top: 1rem; }
.gallery__thumbs { list-style: none; padding: 0; margin: .75rem 0 0; display: flex; gap: .5rem; overflow-x: auto; }
.gallery__thumb { padding: 0; border: 2px solid transparent; border-radius: var(--radius-s); overflow: hidden; width: 72px; height: 72px; cursor: pointer; background: var(--surface); }
.gallery__thumb[aria-pressed="true"] { border-color: var(--purple); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1100px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(20,18,38,.85); }
.lightbox img { max-height: 90vh; width: auto; border-radius: var(--radius-m); }
.lightbox__close { position: absolute; right: .5rem; top: .5rem; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; font-size: 1.1rem; cursor: pointer; }
.buybox__title { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
.buybox__lead { color: var(--ink-soft); }
.buy-form { margin-top: 1rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--surface); width: max-content; }
.qty input { width: 64px; text-align: center; border: 0; min-height: 44px; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty__btn { width: 44px; height: 44px; border: 0; background: transparent; font-size: 1.25rem; cursor: pointer; border-radius: 50%; }
.qty__btn:hover { background: var(--purple-tint); }
.buy-actions { display: grid; gap: .6rem; }
.buybox__secondary { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.product-details { display: grid; gap: 1rem; padding-bottom: 1rem; }
.detail-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.25rem; }
.prose p:last-child { margin-bottom: 0; }
.table-wrap { overflow-x: auto; }
.compat-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.compat-table th, .compat-table td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.compat-table th { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); }

/* ---------- Sepet ---------- */
.cart-layout { display: grid; gap: 1rem; padding-bottom: 2rem; align-items: start; }
.cart-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.cart-line { display: grid; grid-template-columns: 80px 1fr; gap: .75rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: .75rem; }
.cart-line--invalid { border-color: var(--danger); }
.cart-line img { width: 80px; height: 80px; object-fit: cover; border-radius: var(--radius-s); background: var(--purple-tint); }
.cart-line__name { font-weight: 700; color: var(--ink); text-decoration: none; }
.cart-line__meta { font-size: .85rem; color: var(--ink-soft); margin: .15rem 0; }
.cart-line__errors { color: var(--danger); font-size: .85rem; font-weight: 600; margin: .25rem 0 0; padding-left: 1rem; }
.cart-line__foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; margin-top: .5rem; }
.cart-line__remove { border: 0; background: transparent; color: var(--danger); font-weight: 600; cursor: pointer; padding: .4rem; }
.cart-summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.25rem; }
.summary-list { margin: 0 0 1rem; }
.summary-list > div { display: flex; justify-content: space-between; padding: .4rem 0; }
.summary-list dt { color: var(--ink-soft); }
.summary-list dd { margin: 0; font-weight: 700; }
.summary-total { border-top: 1px solid var(--line); margin-top: .4rem; padding-top: .75rem !important; font-size: 1.15rem; }

/* ---------- Fotoğraftan figür ---------- */
.notice--error { border-left-color: var(--danger); background: #FDECEC; }
.notice ul { margin: .4rem 0 0; padding-left: 1.2rem; }
.figure-layout { display: grid; gap: 1.25rem; padding-bottom: 2rem; align-items: start; }
.figure-layout > * { min-width: 0; }
.figure-steps { display: grid; gap: 1rem; }
.fstep { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.25rem; }
.fstep h2 { display: flex; align-items: center; gap: .6rem; font-size: 1.2rem; }
.fstep__no { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--purple); color: #fff; font-size: .9rem; flex: none; }
.dropzone { position: relative; display: grid; place-items: center; gap: .25rem; padding: 1.75rem 1rem; border: 2px dashed var(--purple); border-radius: var(--radius-m); background: var(--purple-tint); text-align: center; cursor: pointer; transition: background-color .15s; }
.dropzone:hover, .dropzone.is-dragover { background: #e7dbfd; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone input:focus-visible + .dropzone__icon { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 50%; }
.dropzone__icon svg { width: 36px; height: 36px; fill: none; stroke: var(--purple-700); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dropzone__title { font-weight: 800; color: var(--purple-700); }
.dropzone__hint { font-size: .85rem; color: var(--ink-soft); }
.photo-previews { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
.photo-previews li { position: relative; aspect-ratio: 1; border-radius: var(--radius-s); overflow: hidden; background: var(--bg); border: 1px solid var(--line); }
.photo-previews img { width: 100%; height: 100%; object-fit: cover; }
.photo-previews button { position: absolute; right: 4px; top: 4px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(20,18,38,.75); color: #fff; cursor: pointer; font-size: .9rem; }
.choice-grid { display: grid; gap: .6rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice__body { display: flex; flex-direction: column; gap: .15rem; height: 100%; padding: .8rem .9rem; border: 2px solid var(--line); border-radius: var(--radius-m); background: var(--surface); transition: border-color .15s, background-color .15s; }
.choice input:checked + .choice__body { border-color: var(--purple); background: var(--purple-tint); }
.choice input:focus-visible + .choice__body { outline: 3px solid var(--blue); outline-offset: 2px; }
.choice__title { font-weight: 700; }
.choice__desc { font-size: .82rem; color: var(--ink-soft); }
.choice__price { font-size: .82rem; font-weight: 700; color: var(--purple-700); margin-top: auto; }
.choice--compact .choice__body { align-items: center; text-align: center; }
.choice-grid--sizes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field-row { display: grid; gap: 0 .75rem; }
.field--inline { margin-top: 1rem; }
.field--inline select { width: auto; min-width: 140px; }
input[type="tel"], input[type="email"] { width: 100%; min-height: 44px; padding: .55rem .8rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); }
.consent { background: var(--bg); border-radius: var(--radius-s); padding: .9rem 1rem; }
.consent .check { align-items: flex-start; }
.consent .check input { margin-top: 3px; flex: none; }
.figure-summary__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 1.25rem; box-shadow: var(--shadow-1); display: grid; gap: .6rem; }
.figure-summary__card h2 { margin: 0; font-size: 1.15rem; }
.figure-summary__price { font-family: var(--font-display); font-size: 2rem; font-weight: 800; margin: 0; color: var(--ink); }
.figure-summary__card p { margin: 0; }
.quote-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; font-size: .9rem; }
.quote-lines li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed var(--line); padding-bottom: .3rem; }
.quote-lines li span:last-child { font-weight: 700; white-space: nowrap; }

.model-info { background: var(--bg); border-radius: var(--radius-s); padding: .8rem 1rem; margin-bottom: 1rem; }
.model-info p { margin: 0 0 .4rem; overflow-wrap: anywhere; }
.model-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem 1rem; margin: 0; }
.model-stats dt { font-size: .75rem; color: var(--ink-soft); }
.model-stats dd { margin: 0; font-weight: 700; }
input[type="date"] { width: 100%; min-height: 44px; padding: .55rem .8rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); }

.form-narrow { display: grid; gap: 1rem; padding-bottom: 2rem; }
.form-narrow > * { max-width: 820px; }
.fstep fieldset.field { margin-top: 1rem; }
.form-narrow > .btn { justify-self: start; }
.corporate-points { margin-bottom: 1rem; }
.service-grid { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: .75rem; }
.service-card { display: flex; flex-direction: column; gap: .4rem; height: 100%; padding: 1.25rem; border-radius: var(--radius-m); background: var(--purple-tint); color: var(--ink); text-decoration: none; border-top: 6px solid var(--purple); transition: transform .15s var(--ease), box-shadow .15s; }
.service-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-1); color: var(--ink); }
.service-card--teal { background: var(--teal-tint); border-top-color: var(--teal); }
.service-card--blue { background: var(--blue-tint); border-top-color: var(--blue); }
.service-card--yellow { background: var(--yellow-tint); border-top-color: var(--yellow); }
.service-card__title { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; }
.service-card__text { color: var(--ink-soft); flex: 1; }

.gift-q { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-bottom: .75rem; padding: 0; }
.gift-cta { display: grid; gap: 1rem; align-items: center; margin-top: 2rem; padding: 1.25rem; border-radius: var(--radius-m); background: var(--purple-tint); }
.gift-cta h3 { margin: 0 0 .25rem; }
.gift-cta p { margin: 0; }
.gift-cta__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
@media (min-width: 960px) { .gift-cta { grid-template-columns: 1fr auto; } }

/* ---------- Talep takip ---------- */
.request-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.status-badge { display: inline-block; padding: .3rem .8rem; border-radius: var(--radius-pill); font-weight: 700; font-size: .85rem; background: var(--blue-tint); color: var(--blue-700); }
.status-badge--new, .status-badge--reviewing { background: var(--purple-tint); color: var(--purple-700); }
.status-badge--needsinfo, .status-badge--awaitingcustomerapproval { background: var(--yellow-tint); color: var(--yellow-700); }
.status-badge--ordered, .status-badge--accepted { background: var(--teal-tint); color: var(--teal-700); }
.status-badge--rejected, .status-badge--cancelled, .status-badge--expired { background: #FDECEC; color: #B42318; }
.request-layout { display: grid; gap: 1rem; padding-bottom: 2rem; align-items: start; }
.request-layout > * { min-width: 0; }
.request-main { display: grid; gap: 1rem; }
.copy-row { display: flex; gap: .5rem; }
.copy-row input { flex: 1; min-width: 0; font-size: .85rem; }
.messages { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .6rem; }
.message { padding: .7rem .9rem; border-radius: var(--radius-m); background: var(--bg); max-width: 90%; }
.message--admin { background: var(--purple-tint); }
.message--customer { justify-self: end; background: var(--teal-tint); }
.message__meta { font-size: .75rem; color: var(--ink-soft); margin: 0 0 .2rem; }
.message__body { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.message-form, .add-photos { display: grid; gap: .5rem; }
.message-form .btn, .add-photos .btn { justify-self: start; }
.file-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .3rem; }
.file-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem .6rem; background: var(--bg); border-radius: var(--radius-s); }
.file-list__name { overflow-wrap: anywhere; }
.summary-list--rows > div { gap: 1rem; border-bottom: 1px dashed var(--line); }
.summary-list--rows dd { text-align: right; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d9d7e8; margin-top: 2rem; padding-top: 2rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; gap: 1.5rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.footer-title { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: #a9a6c2; }
.logo--footer .logo-ci { color: #fff; }
.footer-tagline { color: #a9a6c2; margin-top: .5rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 1.5rem; padding-block: 1rem; font-size: .85rem; color: #a9a6c2; }
.footer-bottom p { margin: 0; }

/* ---------- Bildirim ---------- */
.toast { position: fixed; left: 50%; bottom: calc(var(--bottom-nav-h) + 1rem); transform: translateX(-50%); z-index: 80; background: var(--ink); color: #fff; padding: .75rem 1.1rem; border-radius: var(--radius-pill); box-shadow: var(--shadow-2); font-weight: 600; max-width: calc(100vw - 2rem); }
.toast a { color: var(--yellow); margin-left: .5rem; }

/* ---------- 640px+ ---------- */
@media (min-width: 640px) {
  .container { padding-inline: 1.5rem; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .compat-selector__fields { grid-template-columns: repeat(2, 1fr); gap: 0 .75rem; align-items: end; }
  .compat-selector .btn { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .field-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .choice-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .photo-previews { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .buy-actions { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* ---------- 960px+ ---------- */
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .bottom-nav { display: none; }
  .toast { bottom: 1.5rem; }
  .main-nav { display: flex; }
  .header-search { order: 0; flex: 0 1 340px; margin-left: auto; }
  .header-actions { margin-left: 0; }
  .hero { padding-block: 4rem 3rem; }
  .hero__inner { grid-template-columns: 1.1fr 1fr; gap: 3rem; }
  .selector-grid { grid-template-columns: 1fr 1fr; }
  .category-grid { grid-template-columns: repeat(4, 1fr); }
  .brand-grid { grid-template-columns: repeat(4, 1fr); }
  .catalog-layout { grid-template-columns: 280px 1fr; align-items: start; }
  .filters { position: sticky; top: calc(var(--header-h) + 1rem); }
  .product-layout { grid-template-columns: 1.1fr 1fr; gap: 2.5rem; }
  .gallery { position: sticky; top: calc(var(--header-h) + 1rem); align-self: start; }
  .product-details { grid-template-columns: 1fr 1fr; }
  .product-details .detail-block:first-child { grid-column: 1 / -1; }
  .cart-layout { grid-template-columns: 1fr 360px; }
  .figure-layout { grid-template-columns: 1fr 340px; }
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .figure-summary { position: sticky; top: calc(var(--header-h) + 1rem); }
  .request-layout { grid-template-columns: 1fr 360px; }
  .cart-summary { position: sticky; top: calc(var(--header-h) + 1rem); }
  .cart-line { grid-template-columns: 96px 1fr; }
  .cart-line img { width: 96px; height: 96px; }
}

/* ---------- 1200px+ ---------- */
@media (min-width: 1200px) {
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .catalog-results .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Hareket hassasiyeti ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .btn:hover, .product-card:hover, .category-card:hover { transform: none; }
}

/* Takip sayfası: teklif ve tasarım onayı */
.decision-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .6rem; }
.decision-row form { margin: 0; }
.approval + .approval { border-top: 1px solid var(--line); margin-top: 1rem; padding-top: 1rem; }
.preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .6rem; margin: .5rem 0; }
.preview-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-s); border: 1px solid var(--line); display: block; background: var(--bg); }

/* İçerik (Faz 4, 3a): duyuru şeridi, SSS, sayfalar, blog, banner'lar */
.announce { background: var(--ink); color: #fff; font-size: .9rem; text-align: center; }
.announce .container { padding-block: .45rem; }
.announce a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.footer-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; padding-block: 1rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .9rem; }
.footer-links a { color: inherit; opacity: .85; }
.footer-links a:hover { opacity: 1; }
.content-narrow { max-width: 820px; }
.faq-group { margin: 1.5rem 0 .6rem; font-size: 1.15rem; }
.faq-list { display: flex; flex-direction: column; gap: .6rem; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 0 1.1rem; }
.faq-item summary { cursor: pointer; font-weight: 700; padding: .95rem 0; list-style-position: outside; }
.faq-item[open] summary { border-bottom: 1px solid var(--line); margin-bottom: .75rem; }
.faq-item .prose { padding-bottom: 1rem; }
.prose--page { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.5rem; line-height: 1.7; overflow-wrap: anywhere; }
.prose h2, .prose h3, .prose h4 { font-family: var(--font-display); margin: 1.4rem 0 .5rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: .25rem; }
.prose blockquote { margin: 1rem 0; padding: .6rem 1rem; border-left: 4px solid var(--purple); background: var(--purple-tint); border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.blog-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.blog-card { display: flex; flex-direction: column; gap: .35rem; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; text-decoration: none; color: var(--ink); padding-bottom: 1rem; transition: transform .15s var(--ease), box-shadow .15s; }
.blog-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-1); }
.blog-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--bg); margin-bottom: .4rem; }
.blog-card > span { padding-inline: 1rem; }
.blog-card > span:first-child { padding-top: 1rem; }
.blog-card__date { font-size: .8rem; color: var(--ink-soft); }
.blog-card__title { font: 700 1.1rem/1.3 var(--font-display); }
.blog-card__text { color: var(--ink-soft); font-size: .92rem; }
.blog-cover { width: 100%; height: auto; border-radius: var(--radius-m); margin-bottom: 1rem; }
.promo-strip { background: var(--yellow-tint); border-block: 1px solid var(--line); }
.promo-strip--purple { background: var(--purple-tint); }
.promo-strip--teal { background: var(--teal-tint); }
.promo-strip--blue { background: var(--blue-tint); }
.promo-strip__inner { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; justify-content: space-between; padding-block: .8rem; }
.promo-strip__inner p { margin: 0; }
.banner-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.banner-card { display: flex; flex-direction: column; background: var(--purple-tint); border-radius: var(--radius-l); overflow: hidden; border-top: 6px solid var(--purple); }
.banner-card--teal { background: var(--teal-tint); border-top-color: var(--teal); }
.banner-card--blue { background: var(--blue-tint); border-top-color: var(--blue); }
.banner-card--yellow { background: var(--yellow-tint); border-top-color: var(--yellow); }
.banner-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.banner-card__body { padding: 1.1rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; align-items: flex-start; }
.banner-card__body h3 { margin: 0; font-size: 1.25rem; }
.banner-card__body p { margin: 0; color: var(--ink-soft); }

/* Checkout ve ödeme (Faz 5) */
.checkout-section { border: 0; padding: 0; margin: 0 0 1.25rem; min-width: 0; }
.checkout-section > legend { padding: 0; margin-bottom: .5rem; }
.checkout-section > legend h2 { margin: 0; font-size: 1.15rem; }
.checkout-section .check { align-items: flex-start; margin-bottom: .5rem; }
.checkout-section .check input { margin-top: .2rem; flex: none; }
.coupon-row { display: flex; gap: .5rem; }
.coupon-row input { flex: 1 1 auto; min-width: 0; }
.text-ok { color: var(--success); font-weight: 600; }
.summary-items { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .5rem; font-size: .92rem; }
.summary-items li { display: flex; justify-content: space-between; gap: .75rem; }
.summary-items li.is-invalid { color: var(--danger); }
.d-block { display: block; }
.mock-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.payment-status { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--radius-m); padding: 1rem 1.25rem; margin-bottom: 1rem; }
.payment-status[data-state="paid"] { border-left-color: var(--success); }
.payment-status[data-state="failed"], .payment-status[data-state="expired"] { border-left-color: var(--danger); }
.payment-status__message { margin: 0; font-weight: 700; font-size: 1.1rem; }
.order-status { display: inline-block; padding: .15rem .6rem; border-radius: var(--radius-pill); font-weight: 700; font-size: .8rem; background: var(--blue-tint); color: var(--blue-700); }
.order-status--paid, .order-status--inproduction, .order-status--readytoship, .order-status--shipped, .order-status--delivered { background: var(--teal-tint); color: var(--teal-700); }
.order-status--paymentfailed, .order-status--expired, .order-status--cancelled { background: #FDECEC; color: #B42318; }
@media (min-width: 960px) { .checkout-layout { grid-template-columns: minmax(0, 1fr) 360px; } }
.paytr-frame { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; margin-bottom: .75rem; }
.paytr-frame iframe { display: block; width: 100%; min-height: 560px; border: 0; }

/* Sipariş takip ve değerlendirmeler (Faz 5c) */
.timeline { list-style: none; margin: 1rem 0; padding: 0 0 0 1rem; border-left: 2px solid var(--line); display: grid; gap: .6rem; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -1.38rem; top: .45rem; width: .6rem; height: .6rem; border-radius: 50%; background: var(--purple); }
.timeline__date { display: block; font-size: .8rem; color: var(--ink-soft); }
.review-grid { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.review-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1rem 1.25rem; }
.review-card blockquote { margin: .5rem 0; white-space: pre-line; }
.stars { color: var(--yellow-700); letter-spacing: .1em; margin: 0; }
.rating-field { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.rating-field legend { width: 100%; }
.review-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.review-list li { border-bottom: 1px solid var(--line); padding-bottom: .9rem; }
.review-list blockquote { margin: .35rem 0; white-space: pre-line; }

/* Havale/EFT (Bölüm 10.11) */
.bank-transfer { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: var(--radius-m); padding: 1rem 1.25rem; margin-bottom: 1rem; }
.bank-transfer h2 { margin-top: 0; font-size: 1.15rem; }
.iban { font-size: 1rem; letter-spacing: .03em; word-break: break-all; }
