/* =========================================================
   parkekip.com — mağaza teması
   Renk dili: grafit + meşe/amber + krem
   ========================================================= */
:root {
  --ink: #1a1714;
  --ink-2: #26211c;
  --ink-3: #3a332b;
  --oak: #c27a2c;
  --oak-d: #9a5b1a;
  --oak-l: #f3e3cc;
  --cream: #f7f3ec;
  --paper: #ffffff;
  --line: #e8dfd1;
  --line-2: #d9cdbb;
  --muted: #7a6f63;
  --ok: #2f7d4f;
  --ok-bg: #e5f3ea;
  --danger: #b83a2e;
  --danger-bg: #fbe9e6;
  --warn: #a96a12;
  --warn-bg: #fdf1dc;
  --info: #2c6aa5;
  --info-bg: #e5eff9;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(26, 23, 20, .05), 0 8px 24px -12px rgba(26, 23, 20, .18);
  --shadow-lg: 0 24px 60px -20px rgba(26, 23, 20, .35);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Archivo", "Inter", system-ui, sans-serif;
  --wrap: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.6; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--oak-d); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; }
h2 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 1em; }
small, .muted { color: var(--muted); }
code { background: var(--oak-l); padding: 1px 6px; border-radius: 5px; font-size: .9em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.ic { width: 20px; height: 20px; flex: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Butonlar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 11px; border: 1px solid transparent; font: 600 14.5px/1 var(--font); cursor: pointer; transition: .18s ease; white-space: nowrap; text-decoration: none; background: var(--paper); color: var(--ink); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--oak); color: #fff; box-shadow: 0 6px 16px -8px rgba(194, 122, 44, .8); }
.btn-primary:hover { background: var(--oak-d); color: #fff; transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.25); }
.btn-light:hover { background: rgba(255,255,255,.18); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { filter: brightness(.92); color: #fff; }
.btn-ok { background: var(--ok); color: #fff; }
.btn-ok:hover { filter: brightness(.92); color: #fff; }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 16px; border-radius: 13px; }
.btn-block { width: 100%; }
.btn-social { width: 100%; height: 48px; background: var(--paper); border: 1px solid var(--line-2); }
.btn-social:hover { border-color: var(--ink); }
.btn-apple { background: #000; color: #fff; border-color: #000; }
.btn-apple:hover { background: #222; color: #fff; }
.link { color: var(--oak-d); font-weight: 600; }
.link:hover { text-decoration: underline; }

/* ---------- Form ---------- */
.form label, label.field { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 14px; color: var(--ink-3); }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=url], input[type=search], input:not([type]), select, textarea {
  display: block; width: 100%; margin-top: 6px; height: 46px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--paper); font: 400 15px var(--font); color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
textarea { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a6f63' stroke-width='1.8' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--oak); box-shadow: 0 0 0 4px rgba(194, 122, 44, .15); }
.form small { display: block; font-weight: 400; margin-top: 5px; }
label.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; cursor: pointer; }
label.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--oak); flex: none; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }

/* ---------- Uyarılar / rozetler ---------- */
.alert { padding: 13px 16px; border-radius: 11px; margin-bottom: 16px; font-size: 14.5px; border: 1px solid transparent; }
.alert-success { background: var(--ok-bg); color: #1f5c38; border-color: #c6e5d1; }
.alert-error { background: var(--danger-bg); color: #8a2a20; border-color: #f2cdc7; }
.alert-warn { background: var(--warn-bg); color: #7a4c0c; border-color: #f2dcb4; }
.alert-info { background: var(--info-bg); color: #1f4f7c; border-color: #c9dcf0; }
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 99px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.badge-ok { background: var(--ok-bg); color: var(--ok); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-primary { background: var(--oak-l); color: var(--oak-d); }
.badge-muted { background: #eee8df; color: var(--muted); }

/* ---------- Üst bar & header ---------- */
.topbar { background: var(--ink); color: #cfc6ba; font-size: 13px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 38px; gap: 16px; }
.topbar a { color: #e8e0d4; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar .ic { width: 15px; height: 15px; }
.topbar-links { display: flex; gap: 20px; }
.topbar-promo b { color: #f0b46a; }

.header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-main { display: flex; align-items: center; gap: 28px; height: 78px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 800 23px var(--font-head); letter-spacing: -.02em; color: var(--ink); }
.logo b { color: var(--oak); font-weight: 800; }
.logo img, .logo-mark { width: 40px; height: 40px; }
.logo-mark { display: inline-block; background: url(../img/logo-mark.svg) center/contain no-repeat; }
.logo-lg { font-size: 28px; margin-bottom: 24px; }
.search { flex: 1; position: relative; max-width: 560px; }
.search input { margin: 0; height: 48px; padding-left: 46px; border-radius: 12px; background: var(--cream); border-color: transparent; }
.search input:focus { background: var(--paper); }
.search .ic { position: absolute; left: 15px; top: 14px; color: var(--muted); }
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.hbtn { display: inline-flex; align-items: center; gap: 9px; height: 48px; padding: 0 14px; border-radius: 12px; font-weight: 600; font-size: 14px; position: relative; }
.hbtn:hover { background: var(--cream); color: var(--ink); }
.hbtn .ic { width: 23px; height: 23px; }
.hbtn small { display: block; font-size: 11.5px; font-weight: 500; line-height: 1.2; }
.hbtn span.lbl { line-height: 1.2; }
.cart-count { position: absolute; top: 4px; left: 24px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--oak); color: #fff; font-size: 11.5px; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--paper); }
.cart-count.bump { animation: bump .4s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }

.nav { border-top: 1px solid var(--line); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav > .wrap > ul > li { position: relative; }
.nav a.nav-link { display: flex; align-items: center; height: 48px; padding: 0 12px; white-space: nowrap; font-weight: 600; font-size: 14px; color: var(--ink-3); border-bottom: 2px solid transparent; }
.nav a.nav-link:hover, .nav a.nav-link.active { color: var(--ink); border-bottom-color: var(--oak); }
.nav .dropdown { position: absolute; top: 100%; left: 0; min-width: 240px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 8px; box-shadow: var(--shadow-lg); display: none; flex-direction: column; }
.nav li:hover > .dropdown { display: flex; }
.nav .dropdown a { padding: 9px 12px; border-radius: 8px; font-size: 14px; }
.nav .dropdown a:hover { background: var(--cream); }

/* ---------- Mobil çekmece ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-bg { position: absolute; inset: 0; background: rgba(26,23,20,.5); opacity: 0; transition: .25s; }
.drawer.open .drawer-bg { opacity: 1; }
.drawer-panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(86vw, 340px); background: var(--paper); transform: translateX(-100%); transition: .28s ease; padding: 20px; overflow-y: auto; }
.drawer.open .drawer-panel { transform: none; }
.drawer-panel a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); font-weight: 600; }
.drawer-panel a.sub { padding-left: 18px; font-weight: 500; color: var(--muted); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.drawer-head button { background: none; border: 0; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23e9b26b' stroke-width='1.2'%3E%3Cpath d='M0 40 40 0M20 60 60 20M40 80 80 40M0 0l20 20M40 40l20 20M20 20l20-20M60 60l20-20M0 40l20 20M40 0l20 20M60 20l20 20M40 80 20 60M80 80 60 60'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px; }
.hero::after { content: ""; position: absolute; right: -10%; top: -30%; width: 70%; height: 160%; background: radial-gradient(closest-side, rgba(194,122,44,.45), transparent 70%); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero h1 { font-size: clamp(34px, 5vw, 60px); line-height: 1.02; letter-spacing: -.03em; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: #f0b46a; }
.hero p { font-size: 17.5px; color: #d9d0c4; max-width: 560px; margin-bottom: 28px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #f0b46a; margin-bottom: 18px; }
.hero-eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; padding: 26px; backdrop-filter: blur(6px); }
.hero-card h3 { font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: #f0b46a; margin-bottom: 16px; }
.hero-cats { display: grid; gap: 8px; }
.hero-cats a { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.05); font-weight: 600; transition: .18s; }
.hero-cats a:hover { background: var(--oak); color: #fff; transform: translateX(4px); }
.hero-cats .ic { width: 18px; height: 18px; opacity: .7; }

/* ---------- Avantaj şeridi ---------- */
.perks { background: var(--paper); border-bottom: 1px solid var(--line); }
.perks .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.perk { display: flex; gap: 14px; align-items: center; padding: 22px 16px; }
.perk + .perk { border-left: 1px solid var(--line); }
.perk .ic { width: 34px; height: 34px; color: var(--oak); padding: 6px; background: var(--oak-l); border-radius: 10px; box-sizing: content-box; }
.perk b { display: block; font-size: 14.5px; }
.perk span { font-size: 13px; color: var(--muted); }

/* ---------- Bölümler ---------- */
.section { padding: 56px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 6px 0 0; color: var(--muted); }
.kicker { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--oak-d); margin-bottom: 6px; display: block; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.cat-tile { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px 18px; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; transition: .2s; }
.cat-tile::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 110px; height: 110px; border-radius: 26px; transform: rotate(45deg); background: repeating-linear-gradient(90deg, var(--oak-l) 0 12px, #efd9bb 12px 24px); opacity: .7; transition: .3s; }
.cat-tile:hover { border-color: var(--oak); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.cat-tile:hover::after { transform: rotate(60deg) scale(1.1); }
.cat-tile b { font: 700 16px/1.25 var(--font-head); position: relative; z-index: 1; }
.cat-tile span { font-size: 13px; color: var(--muted); position: relative; z-index: 1; }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .18; }

/* ---------- Ürün kartları ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.pcard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .2s; position: relative; }
.pcard:hover { box-shadow: var(--shadow); border-color: var(--line-2); transform: translateY(-2px); }
.pcard-img { position: relative; aspect-ratio: 1; background: #f3eee6; overflow: hidden; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pcard:hover .pcard-img img { transform: scale(1.05); }
.pcard-tags { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; }
.tag { display: inline-block; padding: 4px 9px; border-radius: 7px; font-size: 11.5px; font-weight: 800; background: var(--ink); color: #fff; }
.tag-sale { background: var(--danger); }
.tag-video { background: rgba(26,23,20,.75); display: inline-flex; gap: 4px; align-items: center; }
.tag-video .ic { width: 12px; height: 12px; }
.pcard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.pcard-brand { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pcard-title { font-weight: 600; font-size: 15px; line-height: 1.35; margin: 4px 0 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.pcard-foot { margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: 10px; }
.price { font: 800 19px var(--font-head); color: var(--ink); }
.price-old { font-size: 13px; color: var(--muted); text-decoration: line-through; display: block; font-weight: 500; }
.add-btn { width: 42px; height: 42px; border-radius: 11px; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; transition: .18s; flex: none; }
.add-btn:hover { background: var(--oak); }
.add-btn:disabled { background: var(--line-2); cursor: not-allowed; }
.stock-out { font-size: 12.5px; color: var(--danger); font-weight: 600; }

/* ---------- Banner ---------- */
.band { background: linear-gradient(120deg, var(--oak-d), var(--oak)); color: #fff; border-radius: 22px; padding: 40px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 45%; background: repeating-linear-gradient(45deg, rgba(255,255,255,.07) 0 18px, transparent 18px 36px); }
.band h2 { color: #fff; margin-bottom: 6px; }
.band p { margin: 0; color: #fbe7cf; }
.band .btn { position: relative; z-index: 1; }

/* ---------- Sayfa başlığı & breadcrumb ---------- */
.page-head { padding: 28px 0 8px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.crumbs a:hover { color: var(--oak-d); }
.crumbs span::before { content: "/"; margin-right: 6px; opacity: .5; }

/* ---------- Listeleme ---------- */
.listing { display: grid; grid-template-columns: 250px 1fr; gap: 28px; padding-bottom: 60px; }
.sidebar { align-self: start; position: sticky; top: 150px; }
.side-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; }
.side-box h4 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.side-box a { display: block; padding: 7px 10px; border-radius: 8px; font-size: 14.5px; }
.side-box a:hover, .side-box a.active { background: var(--cream); color: var(--oak-d); font-weight: 600; }
.side-box a.sub { padding-left: 22px; font-size: 13.5px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.filter-btn { display: none; }
.toolbar select { width: auto; margin: 0; height: 40px; }
.empty { text-align: center; padding: 60px 20px; background: var(--paper); border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--muted); }
.empty .ic { width: 48px; height: 48px; margin: 0 auto 12px; color: var(--line-2); }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 30px; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; padding: 0 10px; }
.pagination .cur { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Ürün detay ---------- */
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; padding: 10px 0 40px; }
.gallery-main { position: relative; aspect-ratio: 1; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.gallery-main > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; border: 0; }
.gallery-main img { cursor: zoom-in; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 10px; margin-top: 12px; }
.thumb { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 2px solid transparent; cursor: pointer; background: var(--paper); padding: 0; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.active { border-color: var(--oak); }
.thumb .play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(26,23,20,.45); color: #fff; }
.thumb .play .ic { width: 26px; height: 26px; }
.thumb-video-bg { width: 100%; height: 100%; background: var(--ink-2); }
.pdp-info h1 { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 10px; }
.pdp-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.pdp-meta b { color: var(--ink); font-weight: 600; }
.pdp-price { display: flex; align-items: baseline; gap: 14px; margin: 18px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pdp-price .price { font-size: 34px; }
.pdp-price .price-old { font-size: 17px; display: inline; }
.pdp-short { font-size: 16px; color: var(--ink-3); }
.buy-row { display: flex; gap: 12px; margin: 22px 0 14px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 12px; background: var(--paper); height: 52px; }
.qty button { width: 42px; height: 100%; border: 0; background: none; font-size: 20px; cursor: pointer; color: var(--ink-3); }
.qty input { width: 52px; height: 100%; border: 0; margin: 0; text-align: center; padding: 0; font-weight: 700; background: transparent; box-shadow: none !important; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-sm { height: 40px; }
.qty-sm button { width: 34px; }
.qty-sm input { width: 40px; }
.buy-row .btn { flex: 1; height: 52px; font-size: 16px; }
.stock-line { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.stock-line::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-bg); }
.stock-line.low::before { background: var(--warn); box-shadow: 0 0 0 4px var(--warn-bg); }
.stock-line.none::before { background: var(--danger); box-shadow: 0 0 0 4px var(--danger-bg); }
.pdp-assure { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.pdp-assure div { display: flex; gap: 10px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-size: 13.5px; font-weight: 500; }
.pdp-assure .ic { color: var(--oak); }
.wa-btn { background: #25d366; color: #fff; }
.wa-btn:hover { background: #1fb457; color: #fff; }
.tabs { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; margin-bottom: 50px; overflow: hidden; }
.tab-nav { display: flex; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab-nav button { background: none; border: 0; padding: 18px 24px; font: 700 15px var(--font); cursor: pointer; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tab-nav button.active { color: var(--ink); border-bottom-color: var(--oak); }
.tab-pane { display: none; padding: 26px; }
.tab-pane.active { display: block; }
.content { font-size: 15.5px; line-height: 1.75; }
.content h2, .content h3 { margin-top: 1.2em; }
.content img { border-radius: 12px; margin: 14px 0; height: auto; }
.content ul { padding-left: 20px; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.spec-table th { width: 38%; color: var(--muted); font-weight: 600; background: #fbf8f3; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.video-grid video, .video-grid iframe { width: 100%; aspect-ratio: 16/9; border-radius: 14px; background: #000; border: 0; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(15,13,11,.92); display: none; place-items: center; padding: 30px; cursor: zoom-out; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 92vh; border-radius: 10px; }

/* ---------- Sepet ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; padding-bottom: 60px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card + .card { margin-top: 16px; }
.card-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 12px; }
.card-title h3 { margin: 0; }
.cart-row { display: grid; grid-template-columns: 88px 1fr auto auto 36px; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-row:last-child { border-bottom: 0; }
.cart-row img { width: 88px; height: 88px; object-fit: cover; border-radius: 12px; background: #f3eee6; }
.cart-row .name { font-weight: 600; line-height: 1.35; }
.cart-row .unit { font-size: 13px; color: var(--muted); }
.cart-row .line { font: 800 16px var(--font-head); min-width: 110px; text-align: right; }
.icon-btn { width: 36px; height: 36px; border-radius: 9px; border: 0; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.icon-btn:hover { background: var(--danger-bg); color: var(--danger); }
.summary { position: sticky; top: 150px; }
.sum-line { display: flex; justify-content: space-between; padding: 8px 0; font-size: 15px; }
.sum-total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; font-size: 18px; font-weight: 800; font-family: var(--font-head); }
.free-bar { background: var(--oak-l); border-radius: 10px; padding: 12px 14px; font-size: 13.5px; margin-bottom: 14px; }
.free-bar .bar { height: 6px; background: rgba(154, 91, 26, .15); border-radius: 9px; margin-top: 8px; overflow: hidden; }
.free-bar .bar i { display: block; height: 100%; background: var(--oak); border-radius: 9px; }

/* ---------- Ödeme ---------- */
.pay-options { display: grid; gap: 12px; }
.pay-opt, .form label.pay-opt { display: flex; font-weight: 400; margin: 0; gap: 14px; align-items: flex-start; border: 2px solid var(--line); border-radius: 14px; padding: 16px; cursor: pointer; transition: .15s; background: var(--paper); }
.pay-opt:hover { border-color: var(--line-2); }
.pay-opt input { margin-top: 4px; accent-color: var(--oak); width: 18px; height: 18px; }
.pay-opt.checked { border-color: var(--oak); background: #fffaf3; }
.pay-opt b { display: flex; align-items: center; gap: 8px; font-size: 15.5px; }
.pay-opt .desc { font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.pay-detail { display: none; margin-top: 12px; }
.pay-opt.checked .pay-detail { display: block; }
.bank-box { white-space: pre-line; background: var(--cream); border-radius: 10px; padding: 12px 14px; font-size: 14px; font-family: ui-monospace, monospace; }
.card-logos { display: flex; gap: 6px; margin-top: 8px; }
.card-logos span { font-size: 11px; font-weight: 800; padding: 3px 7px; border-radius: 5px; background: var(--ink); color: #fff; letter-spacing: .04em; }
.mini-item { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.mini-item img { width: 52px; height: 52px; border-radius: 9px; object-fit: cover; background: #f3eee6; }
.mini-item .q { color: var(--muted); font-size: 12.5px; }
.mini-item b { margin-left: auto; white-space: nowrap; }
.paytr-wrap { max-width: 760px; margin: 0 auto 60px; }
.paytr-wrap iframe { width: 100%; min-height: 600px; border: 0; }

/* ---------- Sipariş tamam ---------- */
.done { max-width: 680px; margin: 30px auto 70px; text-align: center; }
.done-icon { width: 84px; height: 84px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); display: grid; place-items: center; margin: 0 auto 18px; }
.done-icon .ic { width: 42px; height: 42px; stroke-width: 2.4; }
.done .card { text-align: left; margin-top: 20px; }

/* ---------- Auth ---------- */
.auth { min-height: calc(100vh - 300px); display: grid; place-items: center; padding: 50px 20px; }
.auth-card { width: 100%; max-width: 440px; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 34px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 28px; margin-bottom: 6px; }
.auth-card > p { color: var(--muted); margin-bottom: 22px; }
.social { display: grid; gap: 10px; margin-bottom: 20px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 18px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-foot { text-align: center; margin-top: 18px; font-size: 14.5px; }

/* ---------- Hesabım ---------- */
.account { display: grid; grid-template-columns: 260px 1fr; gap: 28px; padding: 10px 0 60px; align-items: start; }
.acc-nav { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; position: sticky; top: 150px; }
.acc-user { display: flex; gap: 12px; align-items: center; padding: 12px 10px 16px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #f0b46a; display: grid; place-items: center; font: 800 17px var(--font-head); flex: none; }
.acc-user b { display: block; line-height: 1.2; }
.acc-user small { font-size: 12.5px; word-break: break-all; }
.acc-nav a { display: flex; gap: 10px; align-items: center; padding: 11px 12px; border-radius: 10px; font-weight: 600; font-size: 14.5px; color: var(--ink-3); }
.acc-nav a:hover { background: var(--cream); }
.acc-nav a.active { background: var(--ink); color: #fff; }
.acc-nav a .ic { width: 18px; height: 18px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.stat span { font-size: 13px; color: var(--muted); font-weight: 600; }
.stat b { display: block; font: 800 26px var(--font-head); margin-top: 4px; }

.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 13px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: #fcfaf6; }
.table .num { text-align: right; white-space: nowrap; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 18px 28px; }
.timeline li::before { content: ""; position: absolute; left: 6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--oak); box-shadow: 0 0 0 4px var(--oak-l); }
.timeline li::after { content: ""; position: absolute; left: 10px; top: 20px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline small { display: block; }
.steps { display: flex; justify-content: space-between; margin: 6px 0 26px; position: relative; }
.steps::before { content: ""; position: absolute; left: 18px; right: 18px; top: 17px; height: 3px; background: var(--line); }
.step { position: relative; z-index: 1; text-align: center; flex: 1; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.step i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 6px; background: var(--paper); border: 3px solid var(--line); font-style: normal; font-weight: 800; }
.step.on { color: var(--ink); }
.step.on i { background: var(--oak); border-color: var(--oak); color: #fff; }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 8px 14px; font-size: 14.5px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #bfb5a8; margin-top: 40px; font-size: 14.5px; }
.footer .logo { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 56px 20px 40px; }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer a { display: block; padding: 4px 0; color: #bfb5a8; }
.footer a:hover { color: #f0b46a; }
.footer .contact a, .footer .contact div { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; }
.footer .contact .ic { width: 17px; height: 17px; margin-top: 3px; color: #f0b46a; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; padding-bottom: 18px; font-size: 13px; flex-wrap: wrap; }
.pay-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.pay-badges span { padding: 5px 9px; border-radius: 6px; background: rgba(255,255,255,.08); color: #e8e0d4; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px -8px rgba(37,211,102,.7); transition: .2s; }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float .ic { width: 30px; height: 30px; }

.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 30px); background: var(--ink); color: #fff; padding: 14px 18px; border-radius: 13px; box-shadow: var(--shadow-lg); z-index: 300; opacity: 0; transition: .3s; display: flex; gap: 14px; align-items: center; font-weight: 500; max-width: calc(100vw - 40px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast a { color: #f0b46a; font-weight: 700; white-space: nowrap; }
.toast.err { background: var(--danger); }

/* ---------- Kurulum ---------- */
.install-page { display: grid; place-items: center; min-height: 100vh; padding: 30px 16px; background: var(--cream); }
.install-box { width: 100%; max-width: 640px; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 36px; box-shadow: var(--shadow); }
.install-box h3 { margin-top: 22px; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; color: var(--oak-d); }
.checklist { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; font-size: 13.5px; }
.checklist .ok { color: var(--ok); }
.checklist .no { color: var(--danger); font-weight: 600; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1240px) { .nav a.nav-link { padding: 0 8px; font-size: 13.5px; } }
@media (max-width: 1080px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .perks .wrap { grid-template-columns: 1fr 1fr; }
  .perk:nth-child(3) { border-left: 0; }
  .perk:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .nav, .topbar-links .hide-m, .hbtn .lbl { display: none; }
  .menu-toggle { display: block; }
  .header-main { height: auto; padding: 12px 0; gap: 12px; flex-wrap: wrap; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .search input { height: 44px; }
  .logo { font-size: 20px; }
  .logo-mark { width: 34px; height: 34px; }
  .hbtn { padding: 0 10px; }
  .listing, .account, .cart-layout, .pdp { grid-template-columns: 1fr; }
  .sidebar, .summary, .acc-nav { position: static; }
  .sidebar { display: none; }
  .sidebar.show { display: block; }
  .filter-btn { display: inline-flex; }
  .band { grid-template-columns: 1fr; padding: 28px; }
  .stat-row { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .stat b { font-size: 20px; }
}
@media (max-width: 620px) {
  body { font-size: 14.5px; }
  .wrap { padding: 0 14px; }
  .topbar-promo { display: none; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pcard-body { padding: 10px 12px 12px; }
  .pcard-title { font-size: 13.5px; }
  .price { font-size: 16px; }
  .add-btn { width: 36px; height: 36px; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .perks .wrap { grid-template-columns: 1fr; }
  .perk + .perk { border-left: 0; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .cart-row { grid-template-columns: 70px 1fr 36px; gap: 12px; }
  .cart-row img { width: 70px; height: 70px; }
  .cart-row .qty, .cart-row .line { grid-column: 2; }
  .cart-row .line { text-align: left; }
  .cart-row .icon-btn { grid-row: 1; grid-column: 3; }
  .section { padding: 38px 0; }
  .hero .wrap { padding-top: 46px; padding-bottom: 54px; }
  .auth-card, .install-box { padding: 24px; }
  .checklist { grid-template-columns: 1fr; }
  .pdp-assure { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 8px; }
  .steps .step span { display: none; }
  .tab-pane { padding: 18px; }
}
