/* 3dify vitrin */
:root {
    --navy: #1f3a48;
    --teal: #0a9690;
    --bg: #ffffff;
    --bg-soft: #f4f7f8;
    --surface: #ffffff;
    --border: #e3e9ec;
    --text: #15232b;
    --muted: #5f707a;
    --accent: #0a8a84;
    --accent-hover: #077570;
    --accent-soft: #e2f4f2;
    --sale: #d9480f;
    --danger: #c0352b;
    --success: #1a7f4b;
    --warning: #9a6200;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 1px 2px rgba(16, 32, 40, .05), 0 8px 24px rgba(16, 32, 40, .06);
    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-head: "Nunito", var(--font);
    color-scheme: light;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #0e171c; --bg-soft: #13212a; --surface: #172630; --border: #253842;
        --text: #e8eef1; --muted: #98aab3; --accent: #2bb8b0; --accent-hover: #4ccac2; --accent-soft: #123536;
        --navy: #e8eef1; --shadow: 0 1px 2px rgba(0,0,0,.3); color-scheme: dark;
    }
}
:root[data-theme="dark"] {
    --bg: #0e171c; --bg-soft: #13212a; --surface: #172630; --border: #253842;
    --text: #e8eef1; --muted: #98aab3; --accent: #2bb8b0; --accent-hover: #4ccac2; --accent-soft: #123536;
    --navy: #e8eef1; --shadow: 0 1px 2px rgba(0,0,0,.3); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.01em; }
h1 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; }
h2 { font-size: clamp(20px, 2.6vw, 26px); font-weight: 800; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.section { padding: 32px 16px; }
.wrap.section { padding-left: 16px; padding-right: 16px; }
.t { color: var(--teal); }

/* Butonlar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 15px; border: 2px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, transform .1s; text-decoration: none; line-height: 1.2; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-light { background: #fff; color: #1f3a48; }
.btn-light:hover { background: #e9f5f4; color: #1f3a48; }
.btn-lg { padding: 13px 24px; font-size: 16px; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.disabled { opacity: .5; pointer-events: none; }
.btn-link, .link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); cursor: pointer; display: inline-block; margin-top: 10px; }
.link-btn.danger { color: var(--danger); }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: none; border: 0; color: var(--text); cursor: pointer; position: relative; font-size: 22px; }
.icon-btn:hover { background: var(--bg-soft); color: var(--text); }
.grow { flex: 1; }

/* Başlık */
.site-header { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--border); }
.header-row { display: flex; align-items: center; gap: 16px; height: 68px; }
.logo { font-family: var(--font-head); font-weight: 800; font-size: 30px; color: var(--navy); letter-spacing: -1px; line-height: 1; }
.logo:hover { color: var(--navy); }
.main-nav { display: flex; gap: 4px; margin-left: 8px; overflow: hidden; }
.main-nav a { color: var(--text); font-weight: 600; font-size: 15px; padding: 8px 10px; border-radius: 8px; white-space: nowrap; }
.main-nav a:hover, .main-nav a.active { background: var(--bg-soft); color: var(--accent); }
.search { margin-left: auto; flex: 0 1 260px; }
.search input, .drawer-search input { width: 100%; border: 1px solid var(--border); background: var(--bg-soft); color: var(--text); padding: 9px 14px; border-radius: 999px; font: inherit; font-size: 15px; }
.header-actions { display: flex; align-items: center; gap: 2px; }
.lang { font-weight: 700; font-size: 13px; color: var(--muted); padding: 6px 8px; border: 1px solid var(--border); border-radius: 6px; margin-right: 4px; }
.cart-count { position: absolute; top: 2px; right: 0; background: var(--teal); color: #fff; font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.menu-toggle { display: none; }
.drawer { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 60; }
.drawer-panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(320px, 86vw); background: var(--bg); padding: 16px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
.drawer-panel a { color: var(--text); padding: 10px 6px; font-weight: 600; border-bottom: 1px solid var(--border); }
.drawer-panel hr { border: 0; margin: 8px 0; }
.drawer-search { margin: 8px 0; }

/* Bildirim */
.notice { padding: 12px 16px; border-radius: var(--radius-sm); margin: 16px 0; font-weight: 500; }
.notice-success { background: #e3f5ec; color: #12603a; }
.notice-error { background: #fce8e6; color: #9d2a22; }
.notice-warning { background: #fdf3dc; color: #7a4f00; }
.notice-info { background: var(--accent-soft); color: var(--accent); }
.text-danger { color: var(--danger); }

/* Hero */
.hero { background: linear-gradient(135deg, var(--bg-soft) 0%, var(--accent-soft) 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.eyebrow { display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.hero h1 { font-size: clamp(32px, 5.4vw, 56px); line-height: 1.05; }
.hero .lead { font-size: 18px; color: var(--muted); max-width: 520px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-visual { position: relative; height: 380px; }
.hv { position: absolute; border-radius: 24px; overflow: hidden; background: #fff; box-shadow: 0 20px 40px rgba(16,32,40,.15); }
.hv img { width: 100%; height: 100%; object-fit: cover; }
.hv-1 { width: 58%; aspect-ratio: 1; top: 0; right: 4%; transform: rotate(3deg); }
.hv-2 { width: 44%; aspect-ratio: 1; bottom: 0; left: 4%; transform: rotate(-4deg); }
.hv-3 { width: 32%; aspect-ratio: 1; bottom: 12%; right: 0; transform: rotate(6deg); }
.hv-empty { display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 72px; color: var(--navy); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 24px; padding-bottom: 8px; }
.features > div { display: flex; flex-direction: column; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.features strong { font-family: var(--font-head); font-size: 17px; color: var(--navy); }
.features span { color: var(--muted); font-size: 14px; }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-head h2 { margin: 0; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.cat-tile { position: relative; display: block; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 12px 10px; color: #fff; font-weight: 700; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
.cat-tile small { opacity: .8; font-weight: 500; margin-left: 4px; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 32px; border-radius: 20px; background: #1f3a48; color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { margin: 0; opacity: .85; }

/* Ürün kartı */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card-product { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--surface); position: relative; }
.cp-media { position: relative; display: block; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--border); }
.cp-media img { width: 100%; height: 100%; object-fit: contain; transition: opacity .25s, transform .3s; }
.cp-media .cp-alt { position: absolute; inset: 0; opacity: 0; }
.card-product:hover .cp-alt { opacity: 1; }
.card-product:hover .cp-media img:first-child { transform: scale(1.03); }
.cp-placeholder { display: grid; place-items: center; height: 100%; font-family: var(--font-head); font-weight: 800; font-size: 34px; color: #c9d6dc; }
.cp-placeholder.big { font-size: 72px; aspect-ratio: 1; }
.cp-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; }
.pill { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--accent-soft); color: var(--accent); }
.pill-sale { background: var(--sale); color: #fff; }
.cp-body { padding: 10px 2px 0; flex: 1; }
.cp-title { font-family: var(--font); font-size: 15px; font-weight: 600; margin: 0 0 4px; line-height: 1.35; }
.cp-title a { color: var(--text); }
.cp-price { display: flex; gap: 8px; align-items: baseline; }
.cp-price strong { font-size: 17px; }
.cp-price s, .pdp-price s { color: var(--muted); font-size: 14px; }
.cp-add { padding-top: 8px; }
.cp-add .btn { width: 100%; }

/* Liste */
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }
.list-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.list-head p { margin: 0; }
.sort-form select, .f select { border: 1px solid var(--border); background: var(--surface); color: var(--text); padding: 9px 12px; border-radius: var(--radius-sm); font: inherit; }
.chip-row { display: flex; gap: 8px; overflow-x: auto; padding: 16px 0; scrollbar-width: thin; }
.chip { flex: 0 0 auto; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); color: var(--text); font-weight: 600; font-size: 14px; }
.chip.active, .chip:hover { background: var(--navy); border-color: var(--navy); color: var(--bg); }
.pagination { display: flex; gap: 6px; justify-content: center; margin: 32px 0 0; flex-wrap: wrap; }
.pagination .page { min-width: 40px; padding: 8px 12px; text-align: center; border-radius: 999px; border: 1px solid var(--border); color: var(--text); }
.pagination .page.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.pagination .disabled, .pagination .gap { opacity: .4; }
.empty-state { text-align: center; padding: 48px 16px; border: 1px dashed var(--border); border-radius: var(--radius); }

/* Ürün detay */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.gallery { position: sticky; top: 88px; }
.gallery-main { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: #fff; aspect-ratio: 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumbs button { flex: 0 0 72px; height: 72px; padding: 0; border: 2px solid var(--border); border-radius: 10px; overflow: hidden; background: #fff; cursor: pointer; }
.thumbs button.active { border-color: var(--accent); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-price { display: flex; align-items: center; gap: 10px; margin: 8px 0 16px; }
.pdp-price strong { font-size: 30px; font-family: var(--font-head); }
.pdp-info .lead { color: var(--muted); }
.buy-box { padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-soft); margin: 16px 0; }
.colors { border: 0; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.colors legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.color-opt input { position: absolute; opacity: 0; }
.color-opt span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: 2px solid var(--border); border-radius: 999px; cursor: pointer; background: var(--surface); font-size: 14px; font-weight: 600; }
.color-opt i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.color-opt input:checked + span { border-color: var(--accent); }
.color-opt input:focus-visible + span { outline: 3px solid var(--accent); }
.buy-row { display: flex; gap: 10px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); overflow: hidden; }
.qty button { width: 38px; height: 44px; border: 0; background: none; font-size: 20px; cursor: pointer; color: var(--text); }
.qty input { width: 48px; border: 0; text-align: center; font: inherit; font-weight: 700; background: none; color: var(--text); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp-meta { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 6px; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; }
.dot.ok { background: var(--success); } .dot.wait { background: #e3a83a; } .dot.no { background: var(--danger); }
.prose { line-height: 1.7; }
.prose h2 { font-size: 20px; margin-top: 8px; }

/* Sepet / ödeme */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.cart-item { display: grid; grid-template-columns: 88px 1fr auto auto auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--border); }
.ci-img { width: 88px; height: 88px; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--border); }
.ci-img img { width: 100%; height: 100%; object-fit: contain; }
.ci-name { font-weight: 700; color: var(--text); }
.ci-total { min-width: 90px; text-align: right; }
.summary { position: sticky; top: 88px; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-soft); }
.summary h2 { font-size: 20px; }
.summary dl, .totals { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 0 0 16px; }
.summary dd, .totals dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.summary .total, .totals .total { font-weight: 800; font-size: 19px; padding-top: 10px; border-top: 1px solid var(--border); }
.hint { font-size: 14px; color: var(--accent); background: var(--accent-soft); padding: 8px 12px; border-radius: 8px; }
.mini-items { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; font-size: 14px; }
.mini-items li { display: flex; justify-content: space-between; gap: 12px; }
.mini-items.big li { padding: 8px 0; border-bottom: 1px solid var(--border); align-items: center; }
.mi-left { display: flex; gap: 12px; align-items: center; }
.mi-left img { border-radius: 8px; border: 1px solid var(--border); background: #fff; object-fit: contain; }
.panel { padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); margin-bottom: 16px; }
.panel h2 { font-size: 19px; }
.stack-lg > * + * { margin-top: 16px; }
.stack-md > * + * { margin-top: 12px; }
.radio-card { display: flex; gap: 12px; padding: 14px; border: 2px solid var(--border); border-radius: 12px; cursor: pointer; margin-bottom: 10px; align-items: flex-start; }
.radio-card:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.radio-card input { margin-top: 4px; accent-color: var(--accent); width: 18px; height: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin-top: 8px; }
.form-grid .full { grid-column: 1 / -1; }
.f { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.f input, .f textarea, .f select, .inline-input { width: 100%; border: 1px solid var(--border); background: var(--surface); color: var(--text); padding: 11px 13px; border-radius: var(--radius-sm); font: inherit; font-weight: 400; font-size: 16px; }
.f input:focus, .f textarea:focus, .inline-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field-error, .error-line { color: var(--danger); font-size: 13px; font-weight: 600; }
.check-line { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 12px 0; cursor: pointer; }
.check-line input { margin-top: 3px; accent-color: var(--accent); width: 18px; height: 18px; flex: 0 0 auto; }
.hp { position: absolute; left: -9999px; }
.bank { white-space: pre-wrap; background: var(--bg-soft); padding: 14px; border-radius: 10px; font-family: ui-monospace, Consolas, monospace; font-size: 14px; }
.spinner { width: 46px; height: 46px; border: 4px solid var(--accent-soft); border-top-color: var(--accent); border-radius: 50%; margin: 24px auto; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Giriş */
.auth-box { max-width: 440px; }
.auth-alt { display: grid; gap: 10px; margin: 16px 0; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 16px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.auth-links { text-align: center; margin-top: 16px; font-size: 14px; }

/* Hesap */
.account { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: start; }
.account-nav { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 88px; }
.account-hello { font-family: var(--font-head); font-weight: 800; font-size: 18px; margin-bottom: 10px; color: var(--navy); }
.account-nav a { padding: 10px 12px; border-radius: 10px; color: var(--text); font-weight: 600; }
.account-nav a.active, .account-nav a:hover { background: var(--bg-soft); color: var(--accent); }
.order-list { display: grid; gap: 10px; }
.order-line { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; color: var(--text); }
.order-line:hover { border-color: var(--accent); color: var(--text); }
.status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--bg-soft); color: var(--muted); }
.status-shipped, .status-delivered { background: #e3f5ec; color: #12603a; }
.status-pending_payment { background: #fdf3dc; color: #7a4f00; }
.status-confirmed, .status-printing, .status-packaging { background: var(--accent-soft); color: var(--accent); }
.status-cancelled, .status-refunded { background: #fce8e6; color: #9d2a22; }
.progress { list-style: none; display: flex; padding: 0; margin: 16px 0 20px; counter-reset: s; overflow-x: auto; }
.progress li { flex: 1; min-width: 92px; text-align: center; font-size: 12px; color: var(--muted); position: relative; padding-top: 26px; }
.progress li::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 22px; height: 22px; border-radius: 50%; background: var(--bg-soft); border: 2px solid var(--border); font-size: 11px; line-height: 18px; z-index: 1; }
.progress li::after { content: ""; position: absolute; top: 10px; left: -50%; right: 50%; height: 2px; background: var(--border); }
.progress li:first-child::after { display: none; }
.progress li.done { color: var(--text); }
.progress li.done::before { background: var(--accent); border-color: var(--accent); color: #fff; }
.progress li.done::after { background: var(--accent); }
.progress li.current { font-weight: 700; color: var(--accent); }
.address-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-bottom: 16px; }
.row-actions { display: flex; gap: 16px; }
.row-line { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.row-line .inline-input { flex: 1; min-width: 200px; }

/* Toptan */
.table-scroll { overflow-x: auto; }
.wtable { width: 100%; border-collapse: collapse; }
.wtable th, .wtable td { padding: 8px 10px; border-bottom: 1px solid var(--border); text-align: left; }
.wtable .num { text-align: right; }
.wtable .group td { background: var(--bg-soft); font-weight: 800; font-family: var(--font-head); }
.w-img img { border-radius: 8px; object-fit: cover; background: #fff; }
.w-qty { width: 80px; padding: 8px; border: 1px solid var(--border); border-radius: 8px; text-align: right; font: inherit; background: var(--surface); color: var(--text); }
.sticky-bar { position: sticky; bottom: 0; padding: 14px 0; background: linear-gradient(transparent, var(--bg) 35%); text-align: right; }

/* Alt bilgi */
.site-footer { margin-top: 48px; background: var(--bg-soft); border-top: 1px solid var(--border); padding-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.footer-grid h4 { font-size: 15px; margin-bottom: 12px; }
.footer-grid a, .footer-grid span { display: block; color: var(--muted); font-size: 14px; padding: 3px 0; }
.footer-grid a:hover { color: var(--accent); }
.footer-grid .logo { display: inline-block; color: var(--navy); font-size: 30px; padding: 0; margin-bottom: 8px; }
.social { display: flex; gap: 14px; }
.footer-bottom { display: flex; justify-content: space-between; padding: 20px 16px; margin-top: 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }
.footer-bottom .link-btn { margin: 0; color: var(--muted); }
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.2); z-index: 40; }
.wa-float:hover { color: #fff; transform: scale(1.05); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--navy); color: var(--bg); padding: 12px 20px; border-radius: 999px; font-weight: 700; opacity: 0; transition: .25s; z-index: 70; pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Duyarlı */
@media (max-width: 1080px) {
    .main-nav { display: none; }
    .menu-toggle { display: inline-grid; }
    .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .hero-grid, .pdp, .cart-layout, .checkout-layout, .account { grid-template-columns: 1fr; }
    .hero-grid { padding-top: 32px; padding-bottom: 32px; }
    .hero-visual { height: 260px; }
    .gallery, .summary, .account-nav { position: static; }
    .account-nav { flex-direction: row; overflow-x: auto; gap: 6px; }
    .account-hello { display: none; }
    .account-nav a { white-space: nowrap; border: 1px solid var(--border); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .features { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .search { display: none; }
    .header-row { gap: 6px; height: 60px; }
    .logo { font-size: 26px; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .cp-title { font-size: 14px; }
    .form-grid { grid-template-columns: 1fr; }
    .cart-item { grid-template-columns: 72px 1fr auto; grid-template-areas: "img info rm" "img qty total"; gap: 8px 12px; }
    .ci-img { grid-area: img; width: 72px; height: 72px; }
    .ci-info { grid-area: info; }
    .cart-item .qty { grid-area: qty; justify-self: start; }
    .ci-total { grid-area: total; }
    .cart-item > .icon-btn { grid-area: rm; }
    .order-line { grid-template-columns: 1fr auto; }
    .order-line > strong { grid-column: 2; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta-band { padding: 24px; }
}

/* Düzeltmeler */
[hidden] { display: none !important; }
.footer-grid .logo span { display: inline; padding: 0; font-size: inherit; color: var(--teal); }
.wrap .section { padding-left: 0; padding-right: 0; }

/* ---------- Araçlar (herkese açık) ---------- */
.tools-hero { max-width: 760px; margin-bottom: 20px; }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.tool-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.tool-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--text); }
.tool-card strong { font-family: var(--font-head); font-size: 18px; }
.tool-icon { font-size: 28px; line-height: 1; }
.tool-crumb { margin-bottom: 6px; }
.tool-crumb a { color: var(--muted); text-decoration: none; }
.tool-privacy { background: var(--accent-soft); color: var(--accent); padding: 8px 12px; border-radius: var(--radius-sm); display: inline-block; }
.tool-card-plain { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); margin: 16px 0; }
.tool-drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 28px 16px; border: 2px dashed var(--border); border-radius: var(--radius); text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.tool-drop:hover, .tool-drop.drag { border-color: var(--accent); background: var(--accent-soft); }
.tool-drop.has-file { border-style: solid; border-color: var(--accent); }
.tool-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.tool-drop-title { font-weight: 700; }
.tool-result { margin-top: 20px; }
.tool-result h2 { font-size: 18px; word-break: break-all; }
.tool-kv { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 8px 14px; margin: 12px 0 18px; }
.tool-kv dt { color: var(--muted); }
.tool-kv dd { margin: 0; }
.tool-chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; margin: 0 4px 4px 0; border: 1px solid var(--border); border-radius: 999px; font-size: 13px; }
.tool-chip i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); display: inline-block; }
.tool-warn { color: var(--warning); }
.tool-plates { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.tool-plates figure { margin: 0; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); }
.tool-plates img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; display: block; }
.tool-plates figcaption { padding: 8px 10px; font-size: 13px; }
.tool-notes { margin: 0; padding-left: 18px; color: var(--warning); }
.tool-help { margin-top: 18px; }
.tool-help ul { padding-left: 18px; }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; margin-top: 16px; }
.calc.calc-1 { grid-template-columns: 1fr; }
.calc fieldset { border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 16px 16px; margin: 0 0 14px; background: var(--surface); }
.calc legend { font-weight: 700; padding: 0 6px; }
.calc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px 14px; align-items: end; }
.calc .f span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.calc-answer { display: flex; flex-direction: column; justify-content: center; padding: 8px 12px; border-radius: var(--radius-sm); background: var(--accent-soft); min-height: 46px; }
.calc-answer strong { font-size: 18px; color: var(--accent); font-variant-numeric: tabular-nums; }
.calc-out { position: sticky; top: 88px; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; background: var(--surface); box-shadow: var(--shadow); }
.calc-out h2 { font-size: 18px; margin: 0 0 10px; }
.calc-out table { width: 100%; border-collapse: collapse; font-size: 14px; }
.calc-out td { padding: 6px 0; border-bottom: 1px solid var(--border); }
.calc-out td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.calc-out tr.sum td { font-weight: 700; }
.calc-price { display: flex; flex-direction: column; gap: 2px; margin-top: 14px; padding: 12px; border-radius: var(--radius-sm); background: var(--accent-soft); }
.calc-price > strong { font-size: 22px; color: var(--text); font-family: var(--font-head); font-variant-numeric: tabular-nums; }
@media (max-width: 860px) {
    .calc { grid-template-columns: 1fr; }
    .calc-out { position: static; }
    .tool-kv { grid-template-columns: 1fr; gap: 2px 0; }
    .tool-kv dd { margin-bottom: 8px; }
}
.tool-brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 18px; margin-bottom: 14px; }
.calc-cost { display: flex; flex-direction: column; gap: 2px; padding: 14px; margin-bottom: 12px; border-radius: var(--radius-sm); background: var(--accent-soft); }
.calc-cost strong { font-size: 32px; line-height: 1.15; color: var(--accent); font-family: var(--font-head); font-variant-numeric: tabular-nums; }
.calc-price { background: var(--bg-soft); }
.calc-sub { margin-top: 6px; font-size: 13px; }
.calc-sub td { padding: 4px 0; }
.calc-order { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; padding: 12px; border-radius: var(--radius-sm); border: 1px dashed var(--border); }
.calc-order strong { font-size: 18px; }
.calc-time { color: var(--accent); font-weight: 600; }
