/* ---------- Temel ---------- */
:root {
  --bg: #faf6f0;
  --surface: #ffffff;
  --ink: #1c1714;
  --muted: #6f655d;
  --line: #e7dfd4;
  --gold: #b08d57;
  --gold-dark: #8f6f3e;
  --deep: #241a16;
  --accent: #7a2e3a;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(36, 26, 22, .08);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { font-weight: 600; margin: 0; }
h1, h2 { font-family: var(--serif); letter-spacing: -.01em; }
p { margin: 0; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 500; font-size: .95rem; transition: .2s ease; white-space: nowrap;
}
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-dark); }
.btn-dark { background: var(--deep); color: #fff; }
.btn-dark:hover { background: #3a2b25; }
.btn-ghost { border-color: currentColor; background: transparent; }
.btn-ghost:hover { background: rgba(176, 141, 87, .12); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; color: var(--gold-dark); text-decoration: underline; font-size: .85rem; }
.icon-btn {
  position: relative; background: none; border: 0; padding: 8px; border-radius: 50%;
  display: grid; place-items: center; width: 40px; height: 40px; line-height: 1;
}
.icon-btn:hover { background: rgba(0, 0, 0, .06); }
.badge {
  position: absolute; top: 0; right: 0; min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--accent); color: #fff; border-radius: 9px; font-size: .7rem;
  display: grid; place-items: center; font-weight: 600;
}
.badge[hidden] { display: none; }

/* ---------- Üst bar ---------- */
.announce {
  background: var(--deep); color: #e9dcc4; text-align: center;
  font-size: .8rem; padding: 8px 16px; letter-spacing: .02em;
}
.announce strong { color: #f0d9a8; font-weight: 600; }
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250, 246, 240, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { font-family: var(--serif); font-size: 1.9rem; font-weight: 700; letter-spacing: .02em; }
.logo span { color: var(--gold); }
.logo.light { color: #fff; }
.nav { display: flex; gap: 26px; font-size: .92rem; flex: 1; }
.nav a { color: var(--muted); transition: color .15s; padding: 4px 0; border-bottom: 1px solid transparent; }
.nav a:hover { color: var(--ink); border-color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 6px; }
.search input {
  width: 190px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); font: inherit; font-size: .88rem; transition: width .2s, border-color .2s;
}
.search input:focus { width: 240px; border-color: var(--gold); outline: none; }
.menu-btn { display: none; font-size: 1.3rem; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse at 75% 40%, rgba(176, 141, 87, .28), transparent 55%),
    linear-gradient(135deg, #1e1411 0%, #3a2420 100%);
  color: #f6ede0; overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 30px; min-height: 560px; padding-block: 50px; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .75rem; color: #d9b97a; margin-bottom: 18px; }
.eyebrow.dark { color: var(--gold-dark); }
.hero h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); line-height: 1.02; font-weight: 600; }
.hero h1 em { color: #e6c98f; font-style: italic; }
.lead { margin-top: 22px; max-width: 480px; color: #d8c9b4; font-size: 1.05rem; }
.hero-cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn-ghost { color: #f6ede0; }
.hero-art { position: relative; height: 440px; }
.hero-art .bottle { position: absolute; filter: drop-shadow(0 22px 24px rgba(0, 0, 0, .45)); }
.hero-art .b1 { width: 250px; left: 4%; bottom: 20px; transform: rotate(-6deg); }
.hero-art .b2 { width: 310px; left: 30%; bottom: 0; z-index: 2; }
.hero-art .b3 { width: 240px; right: 0; bottom: 36px; transform: rotate(7deg); }

/* ---------- Kategoriler ---------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: -34px; position: relative; z-index: 3; }
.cat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; text-align: left; box-shadow: var(--shadow); transition: .2s;
  display: flex; flex-direction: column; gap: 2px;
}
.cat span { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; }
.cat small { color: var(--muted); }
.cat:hover { transform: translateY(-3px); border-color: var(--gold); }

/* ---------- Mağaza ---------- */
.shop { padding-block: 70px 60px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 36px; align-items: start; }

.filters {
  position: sticky; top: 90px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; max-height: calc(100vh - 110px); overflow: auto;
}
.filters-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.filters-top h3 { font-family: var(--serif); font-size: 1.4rem; }
.f-group { padding-block: 16px; border-top: 1px solid var(--line); }
.f-group h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 12px; font-weight: 600; }
.f-group h4 span { color: var(--ink); text-transform: none; letter-spacing: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .85rem; transition: .15s; }
.pill:hover { border-color: var(--gold); }
.pill.active { background: var(--deep); border-color: var(--deep); color: #fff; }
.checks { display: grid; gap: 8px; }
.check { display: flex; align-items: center; gap: 10px; font-size: .9rem; cursor: pointer; }
.check input { accent-color: var(--gold-dark); width: 16px; height: 16px; }
.check small { margin-left: auto; color: var(--muted); }
.favs-only { border-top: 1px solid var(--line); padding-top: 16px; }
.range { width: 100%; accent-color: var(--gold-dark); }

.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.filter-toggle { display: none; padding: 9px 20px; }
.sort { display: flex; align-items: center; gap: 10px; margin-left: auto; font-size: .9rem; color: var(--muted); }
.sort select { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font: inherit; color: var(--ink); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: .25s; position: relative;
  animation: rise .4s ease both;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d9ccb8; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.card-img {
  display: block; width: 100%; border: 0; padding: 22px 30px 14px; cursor: pointer;
  background: radial-gradient(circle at 50% 65%, color-mix(in srgb, var(--tint) 22%, #fff) 0%, color-mix(in srgb, var(--tint) 8%, #f6f0e8) 70%);
}
.card-img .bottle { width: 100%; max-width: 170px; margin: 0 auto; transition: transform .35s ease; }
.card:hover .card-img .bottle { transform: scale(1.06) rotate(-2deg); }
.tag {
  position: absolute; top: 12px; left: 12px; background: var(--deep); color: #f0d9a8;
  font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; z-index: 1;
}
.fav {
  position: absolute; top: 8px; right: 8px; z-index: 1; width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .85); display: grid; place-items: center; transition: .15s;
}
.fav svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.8; }
.fav:hover { transform: scale(1.1); }
.fav.on svg { fill: var(--accent); stroke: var(--accent); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.brand { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold-dark); }
.card h3 { font-family: var(--serif); font-size: 1.4rem; line-height: 1.15; }
.meta { font-size: .82rem; color: var(--muted); }
.rating { font-size: .8rem; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.stars { color: var(--gold); letter-spacing: 1px; }
.card-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-size: 1.15rem; font-weight: 600; }
.add-btn {
  background: var(--deep); color: #fff; border: 0; border-radius: 999px;
  padding: 9px 16px; font-size: .84rem; transition: .15s;
}
.add-btn:hover { background: var(--gold-dark); }
.empty { text-align: center; padding: 60px 20px; display: grid; gap: 16px; justify-items: center; color: var(--muted); }
.empty[hidden] { display: none; }

/* ---------- Güven şeridi ---------- */
.trust { background: var(--surface); border-block: 1px solid var(--line); }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-block: 30px; }
.trust-inner div { display: flex; flex-direction: column; text-align: center; }
.trust-inner strong { font-family: var(--serif); font-size: 1.25rem; }
.trust-inner span { font-size: .85rem; color: var(--muted); }

/* ---------- Hakkımızda ---------- */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; padding-block: 80px; align-items: center; }
.about h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 18px; line-height: 1.1; }
.about-text p + p { margin-top: 14px; }
.about-text p:not(.eyebrow) { color: #4a413b; }
.newsletter { background: var(--deep); color: #f3e8d6; padding: 34px; border-radius: 20px; }
.newsletter h3 { font-family: var(--serif); font-size: 1.7rem; margin-bottom: 8px; line-height: 1.15; }
.newsletter .muted { color: #bfae95; font-size: .9rem; }
.nl-row { display: flex; gap: 10px; margin-top: 20px; }
.nl-row input { flex: 1; min-width: 0; padding: 12px 18px; border-radius: 999px; border: 0; font: inherit; }
.nl-row .btn { background: var(--gold); }

/* ---------- Footer ---------- */
.site-footer { background: #17100d; color: #b9aa95; padding-top: 50px; font-size: .9rem; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding-bottom: 36px; }
.site-footer h5 { color: #f3e8d6; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 12px; }
.site-footer p + p { margin-top: 6px; }
.copy { border-top: 1px solid #2a1f1a; padding-block: 20px; font-size: .8rem; color: #8a7b68; }

/* ---------- Sepet çekmecesi ---------- */
.overlay { position: fixed; inset: 0; background: rgba(20, 12, 8, .5); z-index: 50; opacity: 0; transition: opacity .25s; }
.overlay.show { opacity: 1; }
.overlay[hidden] { display: none; }
.drawer-foot[hidden], .ship-progress[hidden] { display: none; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 100%); background: var(--bg); z-index: 60;
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s ease;
  box-shadow: -10px 0 40px rgba(0, 0, 0, .2);
}
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-family: var(--serif); font-size: 1.6rem; }
.ship-progress { padding: 14px 22px; background: var(--surface); border-bottom: 1px solid var(--line); font-size: .85rem; }
.bar { height: 6px; background: var(--line); border-radius: 3px; margin-top: 8px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--gold); border-radius: 3px; transition: width .3s; }
.drawer-body { flex: 1; overflow: auto; padding: 8px 22px; }
.cart-empty { text-align: center; color: var(--muted); padding: 60px 10px; display: grid; gap: 14px; justify-items: center; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line-img { background: color-mix(in srgb, var(--tint) 14%, #f6f0e8); border-radius: 10px; padding: 6px; }
.line h4 { font-family: var(--serif); font-size: 1.15rem; line-height: 1.15; }
.line small { color: var(--muted); display: block; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; margin-top: 8px; background: var(--surface); }
.qty button { background: none; border: 0; width: 30px; height: 30px; font-size: 1.1rem; }
.qty span { min-width: 22px; text-align: center; font-size: .9rem; }
.line-right { text-align: right; display: grid; gap: 8px; justify-items: end; }
.remove { background: none; border: 0; color: var(--muted); font-size: .78rem; text-decoration: underline; padding: 0; }
.drawer-foot { border-top: 1px solid var(--line); padding: 18px 22px 22px; background: var(--surface); display: grid; gap: 8px; }
.sum-row { display: flex; justify-content: space-between; font-size: .92rem; color: var(--muted); }
.sum-row.total { font-size: 1.2rem; color: var(--ink); font-weight: 600; padding-top: 8px; border-top: 1px solid var(--line); margin-top: 4px; }
.drawer-foot .btn { margin-top: 8px; }

/* ---------- Dialog ---------- */
.dialog {
  border: 0; border-radius: 20px; padding: 0; width: min(520px, calc(100% - 32px));
  background: var(--bg); color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); max-height: calc(100vh - 32px);
}
.dialog-wide { width: min(860px, calc(100% - 32px)); }
.dialog::backdrop { background: rgba(20, 12, 8, .55); backdrop-filter: blur(3px); }
.dialog[open] { animation: pop .25s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.close-x { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(255, 255, 255, .85); }
.pd { display: grid; grid-template-columns: 1fr 1.1fr; position: relative; }
.pd-img { padding: 30px; display: grid; place-items: center; background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--tint) 25%, #fff), color-mix(in srgb, var(--tint) 8%, #f1e9dd) 75%); }
.pd-img .bottle { width: min(100%, 300px); filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .2)); }
.pd-info { padding: 34px 32px 30px; display: flex; flex-direction: column; gap: 10px; overflow: auto; }
.pd-info h2 { font-size: 2.3rem; line-height: 1.05; }
.pd-info .desc { color: #4a413b; }
.pyramid { display: grid; gap: 10px; margin-block: 8px; }
.pyramid div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; align-items: baseline; font-size: .9rem; border-top: 1px solid var(--line); padding-top: 10px; }
.pyramid b { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-dark); }
.pd-buy { display: flex; align-items: center; gap: 14px; margin-top: 10px; flex-wrap: wrap; }
.pd-price { font-size: 1.7rem; font-weight: 600; }
.pd-buy .qty { margin-top: 0; }
.pd-buy .btn { flex: 1; }

.form { padding: 30px; display: grid; gap: 14px; }
.form h2 { font-size: 2rem; }
.form label { display: grid; gap: 6px; font-size: .85rem; color: var(--muted); }
.form input, .form textarea, .form select {
  font: inherit; color: var(--ink); padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface);
}
.form input:focus, .form textarea:focus { border-color: var(--gold); outline: none; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay-opts { display: grid; gap: 8px; }
.pay-opts label { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); cursor: pointer; }
.pay-opts input { accent-color: var(--gold-dark); }
.order-summary { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: .88rem; display: grid; gap: 4px; }
.demo-note { font-size: .78rem; color: var(--muted); }
.success { padding: 44px 30px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.success .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; font-size: 2rem; }
.success h2 { font-size: 2.2rem; }

/* ---------- Hesap / giriş ---------- */
.dialog-narrow { width: min(400px, calc(100% - 32px)); }
.auth { position: relative; padding: 40px 30px 30px; display: grid; gap: 12px; justify-items: center; text-align: center; }
.auth h2 { font-size: 2.1rem; }
.auth .muted { font-size: .92rem; }
.g-slot { min-height: 44px; display: flex; justify-content: center; margin-top: 6px; }
.auth-msg { font-size: .84rem; color: #6b3b2a; background: #f6ecdc; border: 1px solid #e6d5b8; border-radius: 10px; padding: 10px 14px; text-align: left; }
.auth-msg:empty { display: none; }
.avatar {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; overflow: hidden;
  background: var(--gold); color: #fff; font-weight: 600; font-size: .85rem; line-height: 1;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.lg { width: 76px; height: 76px; font-size: 2rem; }

/* ---------- Giriş formu, stok etiketleri ---------- */
.auth-form { display: grid; gap: 10px; width: 100%; margin-top: 6px; }
.auth-form input { font: inherit; color: var(--ink); padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.auth-form input:focus { border-color: var(--gold); outline: none; }
#gSection { width: 100%; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .8rem; margin: 6px 0 2px; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.tag.sold { background: #8a2a2a; color: #fff; }
.low { font-size: .78rem; color: var(--accent); font-weight: 500; }
.add-btn[disabled] { opacity: .5; cursor: not-allowed; }
.add-btn[disabled]:hover { background: var(--deep); }
.copy .link-btn { color: #8a7b68; font-size: inherit; }

.mode-banner { background: #f6ecdc; color: #6b3b2a; text-align: center; font-size: .82rem; padding: 7px 16px; border-bottom: 1px solid #e6d5b8; }
.mode-banner[hidden] { display: none; }
.grid-msg { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 50px 0; }
.auth-tabs { width: 100%; justify-content: center; }
.my-orders-wrap { width: 100%; text-align: left; }
.my-orders-wrap h3 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 6px; }
.my-orders { max-height: 180px; overflow: auto; font-size: .85rem; color: var(--muted); }
.my-order { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); color: var(--ink); }

/* ---------- Yönetim paneli ---------- */
.dialog-admin { width: min(980px, calc(100% - 32px)); }
.admin { position: relative; padding: 30px 28px 22px; display: grid; gap: 14px; }
.admin h2 { font-size: 2rem; }
.admin > .link-btn { justify-self: start; margin-top: 6px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); }
.tab { background: none; border: 0; padding: 10px 16px; margin-bottom: -1px; border-bottom: 2px solid transparent; color: var(--muted); }
.tab.active { color: var(--ink); border-color: var(--gold); font-weight: 600; }
.admin-empty { padding: 30px 0; text-align: center; }
.order { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.order summary { display: grid; grid-template-columns: 110px 140px 1fr 100px 120px; gap: 10px; align-items: center; padding: 12px 16px; cursor: pointer; font-size: .9rem; list-style: none; }
.order summary::-webkit-details-marker { display: none; }
.order[open] summary { border-bottom: 1px solid var(--line); }
.amt { text-align: right; }
.status { justify-self: end; font-size: .76rem; padding: 3px 10px; border-radius: 999px; background: #eee; white-space: nowrap; }
.s-new { background: #e6eefb; color: #214a8c; }
.s-prep { background: #fbf1d9; color: #7a5a12; }
.s-ship { background: #e9e3f7; color: #503389; }
.s-done { background: #def3e3; color: #226b36; }
.s-cancel { background: #f6e0e0; color: #8a2a2a; }
.order-body { padding: 14px 16px 16px; display: grid; gap: 10px; font-size: .88rem; }
.order-info { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
.status-edit { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.status-edit select, .stock input { font: inherit; color: var(--ink); padding: 7px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.stock-wrap { overflow-x: auto; }
.stock { width: 100%; border-collapse: collapse; font-size: .9rem; }
.stock th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.stock td { padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.stock input { width: 100px; }
.low-row td:nth-child(4) input { border-color: var(--accent); }
.btn-sm { padding: 7px 16px; font-size: .82rem; }
.row-msg { margin-left: 10px; font-size: .8rem; color: #226b36; }
.row-msg.err { color: var(--accent); }
@media (max-width: 760px) {
  .order summary { grid-template-columns: 1fr auto; }
  .order-info { grid-template-columns: 1fr; }
  .admin { padding: 24px 16px 18px; }
}

/* ---------- KVKK / yasal metinler / ödeme ---------- */
.consent { display: flex !important; align-items: flex-start; gap: 10px; font-size: .82rem; color: var(--muted); text-align: left; line-height: 1.45; cursor: pointer; }
.consent input { margin-top: 3px; width: 16px; height: 16px; flex: none; padding: 0; accent-color: var(--gold-dark); }
.consent .link-btn { font-size: inherit; text-align: left; }
.newsletter .consent { color: #bfae95; margin-top: 12px; }
.newsletter .consent .link-btn { color: var(--gold); }
.dialog-legal { width: min(780px, calc(100% - 32px)); }
.legal { position: relative; padding: 34px 32px 30px; display: grid; gap: 10px; font-size: .92rem; line-height: 1.6; }
.legal h2 { font-size: 2rem; padding-right: 40px; }
.legal h3 { font-family: var(--serif); font-size: 1.3rem; margin-top: 10px; }
.legal ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.legal-kv { display: grid; grid-template-columns: 110px 1fr; gap: 4px 14px; margin: 0; }
.legal-kv dt { color: var(--muted); }
.legal-kv dd { margin: 0; }
.legal-table { overflow-x: auto; }
.legal-table table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.legal-table th { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.legal-draft { background: #fff3cd; border: 1px solid #e0b73b; color: #5c4400; padding: 10px 14px; border-radius: 10px; font-size: .85rem; }
.footer-legal { display: grid; gap: 6px; justify-items: start; }
.site-footer .footer-legal .link-btn { color: #b9aa95; font-size: inherit; text-align: left; }
.site-footer .footer-legal .link-btn:hover { color: #f3e8d6; }
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 660px; margin-inline: auto;
  background: var(--deep); color: #f3ebe0; border-radius: 14px; padding: 14px 18px; display: flex; gap: 14px;
  align-items: center; font-size: .84rem; box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
}
.cookie-bar[hidden] { display: none; }
.cookie-bar .link-btn { color: var(--gold); font-size: inherit; }
.cookie-bar .btn { padding: 8px 18px; flex: none; }
.acct-tools { width: 100%; display: grid; gap: 10px; text-align: left; border-top: 1px solid var(--line); padding-top: 14px; justify-items: start; }
.acct-tools .consent { cursor: pointer; }
.danger-form { display: grid; gap: 8px; width: 100%; }
.danger-form input { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.danger-btn { background: none; border: 0; padding: 0; color: #8a2a2a; text-decoration: underline; font-size: .85rem; }
.s-wait { background: #fff0d6; color: #8a5a00; }
.pay-flag { background: #f6e0e0; border: 1px solid #e3bcbc; color: #7a2323; padding: 8px 12px; border-radius: 10px; font-size: .84rem; display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.test-badge { font-size: .7rem; background: #fff3cd; color: #5c4400; border: 1px solid #e0b73b; border-radius: 999px; padding: 1px 8px; margin-left: 6px; }
.pay-opts .pay-sub { margin-left: auto; font-size: .76rem; color: var(--muted); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  background: var(--deep); color: #fff; padding: 12px 22px; border-radius: 999px; font-size: .9rem;
  box-shadow: var(--shadow); z-index: 100; transition: .3s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Mobil ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; text-align: center; }
  .lead { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-art { height: 340px; max-width: 520px; margin-inline: auto; width: 100%; }
  .hero-art .b1 { width: 170px; } .hero-art .b2 { width: 220px; } .hero-art .b3 { width: 165px; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: static; max-height: none; display: none; }
  .filters.open { display: block; }
  .filter-toggle { display: inline-flex; }
  .about { grid-template-columns: 1fr; gap: 36px; padding-block: 56px; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .header-inner { gap: 4px; flex-wrap: wrap; height: auto; padding-block: 10px; }
  .header-actions { display: contents; }
  .search { order: 10; flex: 1 0 100%; padding-top: 6px; }
  .search input, .search input:focus { width: 100%; }
  .menu-btn { display: grid; }
  .logo { flex: 1; font-size: 1.7rem; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 8px 20px 14px; display: none; flex: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .cats { grid-template-columns: 1fr; margin-top: -24px; }
  .pd { grid-template-columns: 1fr; }
  .pd-img { padding: 22px; }
  .pd-img .bottle { width: 190px; }
  .dialog { overflow: auto; }
  .footer-inner { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-img { padding: 16px 12px 8px; }
  .card-body { padding: 12px; }
  .card h3 { font-size: 1.15rem; }
  .card-foot { flex-direction: column; align-items: stretch; }
  .add-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Ürün fotoğrafları ve yönetimde ürün formu ---------- */
.photo { width: 100%; aspect-ratio: 1; object-fit: cover; background: #f1e9dd; }
.card-img.has-photo { padding: 0; background: #f1e9dd; overflow: hidden; }
.card-img.has-photo .photo { transition: transform .35s ease; }
.card:hover .card-img.has-photo .photo { transform: scale(1.04); }
.pd-img.has-photo { padding: 0; }
.pd-img.has-photo .photo { height: 100%; min-height: 300px; aspect-ratio: auto; }
.line-img .photo { border-radius: 6px; }

.stock-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.thumb { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: #f1e9dd; display: block; }
.thumb svg { width: 100%; height: 100%; }
.off-badge { font-size: .72rem; background: #f6e0e0; color: #8a2a2a; padding: 2px 8px; border-radius: 999px; margin-left: 6px; }
.off-row td { opacity: .65; }
.pform { display: grid; gap: 16px; }
.pform .grid2, .pform .grid3 { display: grid; gap: 12px 16px; }
.pform .grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pform .grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pform label.f { display: grid; align-content: start; gap: 5px; font-size: .82rem; color: var(--muted); }
.pform input, .pform select, .pform textarea { font: inherit; color: var(--ink); width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.pform input[type="color"] { padding: 2px 4px; height: 40px; }
.pform input[type="file"] { padding: 7px; }
.pform input:focus, .pform select:focus, .pform textarea:focus { border-color: var(--gold); outline: none; }
.pform textarea { min-height: 90px; resize: vertical; }
.pform div.f { display: grid; align-content: start; gap: 5px; }
.pform .f-title { font-size: .82rem; color: var(--muted); }
.pform .hint { font-size: .78rem; color: var(--muted); }
.pform details { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; background: var(--surface); }
.pform summary { cursor: pointer; font-size: .88rem; }
.pform details[open] summary { margin-bottom: 12px; }
.photo-box { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.photo-prev { width: 120px; height: 120px; border-radius: 12px; border: 1px dashed var(--line); background: #f6f0e8; overflow: hidden; display: grid; place-items: center; color: var(--muted); font-size: .78rem; text-align: center; padding: 6px; }
.photo-prev img, .photo-prev svg { width: 100%; height: 100%; object-fit: cover; }
.photo-ctl { display: grid; gap: 8px; flex: 1; min-width: 220px; justify-items: start; }
.photo-ctl input[type="file"] { justify-self: stretch; }
.pform .actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.pform .form-msg { font-size: .85rem; color: var(--accent); }
@media (max-width: 760px) {
  .pform .grid2, .pform .grid3 { grid-template-columns: 1fr; }
}
