/* saatler.com — tasarim sistemi */
:root {
  --ink: #14161a;
  --ink-2: #3d434d;
  --ink-3: #6b7280;
  --line: #e6e3dd;
  --line-2: #f0eeea;
  --bg: #ffffff;
  --bg-2: #faf9f7;
  --bg-3: #f4f2ee;
  --gold: #a8843f;
  --gold-2: #8a6c31;
  --gold-soft: #f6efe1;
  --red: #b23b3b;
  --green: #2f7a5a;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(20,22,26,.05), 0 8px 24px -12px rgba(20,22,26,.12);
  --shadow-lg: 0 2px 4px rgba(20,22,26,.06), 0 24px 48px -20px rgba(20,22,26,.22);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", 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); color: var(--ink); background: var(--bg);
  font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold-2); }
button { font: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); }
h2 { font-size: clamp(1.3rem, 1.1rem + .9vw, 1.7rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- header ---------- */
.topbar { background: var(--ink); color: #d9d5cc; font-size: 12.5px; letter-spacing: .02em; }
.topbar .wrap { display: flex; gap: 20px; align-items: center; justify-content: center; min-height: 34px; flex-wrap: wrap; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 14px; height: 14px; opacity: .8; }

.masthead { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 40; }
.masthead .wrap { display: flex; align-items: center; gap: 24px; min-height: 74px; }
.logo { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.logo span { color: var(--gold); }

.search { flex: 1; max-width: 520px; position: relative; }
.search input {
  width: 100%; padding: 11px 44px 11px 16px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--bg-2); font-size: 14.5px; color: var(--ink);
}
.search input:focus { outline: 2px solid var(--gold); outline-offset: -1px; background: var(--bg); }
.search button {
  position: absolute; right: 4px; top: 4px; bottom: 4px; width: 38px; border: 0; border-radius: 999px;
  background: transparent; color: var(--ink-3); cursor: pointer; display: grid; place-items: center;
}
.search button:hover { color: var(--gold-2); }

.mast-links { margin-left: auto; display: flex; gap: 18px; font-size: 14px; }
.burger { display: none; border: 1px solid var(--line); background: var(--bg); border-radius: 8px; padding: 8px 10px; cursor: pointer; }

.mainnav { border-bottom: 1px solid var(--line); background: var(--bg); }
.mainnav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.mainnav ul::-webkit-scrollbar { display: none; }
.mainnav a {
  display: block; padding: 12px 14px; font-size: 14px; font-weight: 500; white-space: nowrap;
  border-bottom: 2px solid transparent; color: var(--ink-2);
}
.mainnav a:hover, .mainnav a[aria-current] { color: var(--ink); border-bottom-color: var(--gold); }

/* ---------- breadcrumb ---------- */
.crumbs { font-size: 13px; color: var(--ink-3); padding: 14px 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li::after { content: "›"; margin-left: 6px; opacity: .5; }
.crumbs li:last-child::after { content: ""; }

/* ---------- hero ---------- */
.hero { background: var(--bg-3); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-block: 56px; }
.hero h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); margin-bottom: .35em; }
.hero p { font-size: 1.05rem; color: var(--ink-2); max-width: 46ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-art { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hero-art a { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; display: grid; place-items: center; padding: 10px; }
.hero-art img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 14.5px; border: 1px solid transparent; cursor: pointer; transition: .15s;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--gold-2); color: #fff; }
.btn-ghost { border-color: var(--line); background: var(--bg); color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }

/* ---------- sections ---------- */
.section { padding-block: 48px; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head a { font-size: 14px; font-weight: 600; color: var(--gold-2); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 11.5px; font-weight: 700; color: var(--gold); margin-bottom: 8px; font-family: var(--font); }

/* ---------- product grid ---------- */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); overflow: hidden; display: flex; flex-direction: column; transition: .18s; position: relative; }
.card:hover { box-shadow: var(--shadow-lg); border-color: #d8d3c9; transform: translateY(-2px); }
.card-img { aspect-ratio: 3/4; background: var(--bg-2); display: grid; place-items: center; padding: 14px; overflow: hidden; }
.card-img img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-brand { font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); font-weight: 700; }
.card-name { font-size: 13.5px; color: var(--ink-2); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-price { margin-top: auto; padding-top: 10px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price { font-weight: 700; font-size: 15.5px; }
.price-old { font-size: 13px; color: var(--ink-3); text-decoration: line-through; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px; letter-spacing: .02em; }
.badge-new { background: var(--ink); }
.card-ph { color: var(--ink-3); font-size: 12px; text-align: center; }

/* ---------- listing layout ---------- */
.listing { display: grid; grid-template-columns: 248px 1fr; gap: 32px; align-items: start; padding-block: 8px 56px; }
.facets { position: sticky; top: 92px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); overflow: hidden; }
.facet { border-bottom: 1px solid var(--line-2); }
.facet:last-child { border-bottom: 0; }
.facet > summary { padding: 13px 16px; font-weight: 600; font-size: 13.5px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.facet > summary::-webkit-details-marker { display: none; }
.facet > summary::after { content: "+"; color: var(--ink-3); font-weight: 400; font-size: 16px; }
.facet[open] > summary::after { content: "−"; }
.facet-body { padding: 0 16px 14px; max-height: 260px; overflow-y: auto; }
.facet-body a { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; font-size: 13.5px; color: var(--ink-2); }
.facet-body a:hover { color: var(--gold-2); }
.facet-body a[aria-current] { color: var(--gold-2); font-weight: 600; }
.facet-body em { font-style: normal; color: var(--ink-3); font-size: 12px; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.toolbar .count { font-size: 13.5px; color: var(--ink-3); }
.sorts { display: flex; gap: 6px; flex-wrap: wrap; }
.sorts a { font-size: 13px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); }
.sorts a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.sorts a:hover { border-color: var(--gold); }

.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; padding: 5px 10px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-2); font-weight: 600; }
.chip a { color: inherit; opacity: .7; }
.chip a:hover { opacity: 1; }

.pager { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.pager a, .pager span { min-width: 38px; text-align: center; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; }
.pager span[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager a:hover { border-color: var(--gold); color: var(--gold-2); }
.pager .gap { border: 0; }

/* ---------- product detail ---------- */
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; padding-block: 12px 56px; align-items: start; }
.gallery { position: sticky; top: 96px; }
.gallery-main { position: relative; margin: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-2); aspect-ratio: 1; display: grid; place-items: center; padding: 32px; overflow: hidden; }
.gallery-main[data-buyut] { cursor: zoom-in; }
.zoom-btn {
  position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.92);
  color: var(--ink); font-size: 12.5px; font-weight: 600; cursor: zoom-in; transition: .15s; backdrop-filter: blur(4px);
}
.zoom-btn:hover { border-color: var(--gold); color: var(--gold-2); }
.gallery-main:hover .zoom-btn { box-shadow: var(--shadow); }

/* ---------- buyutme katmani ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 90; display: grid; grid-template-rows: auto 1fr auto;
  background: rgba(12,13,16,.94); opacity: 0; pointer-events: none; transition: opacity .18s;
}
.lightbox[open], .lightbox.acik { opacity: 1; pointer-events: auto; }
.lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; color: #e8e5df; font-size: 13.5px; }
.lightbox-bar strong { font-weight: 500; color: #fff; }
.lightbox-stage { display: grid; place-items: center; padding: 0 12px; min-height: 0; position: relative; }
.lightbox-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 6px; background: #fff; }
.lightbox-stage.yukleniyor::after {
  content: ""; position: absolute; width: 34px; height: 34px; border: 3px solid rgba(255,255,255,.25);
  border-top-color: var(--gold); border-radius: 50%; animation: donuyor .8s linear infinite;
}
@keyframes donuyor { to { transform: rotate(360deg); } }
.lightbox-nav { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; flex-wrap: wrap; }
.lightbox-nav button {
  width: 60px; aspect-ratio: 1; border: 2px solid transparent; border-radius: 8px; background: rgba(255,255,255,.08);
  padding: 5px; cursor: pointer; display: grid; place-items: center;
}
.lightbox-nav button[aria-current] { border-color: var(--gold); }
.lightbox-nav img { max-height: 100%; width: auto; object-fit: contain; border-radius: 4px; }
.lightbox-kapat, .lightbox-ok {
  border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); color: #fff;
  border-radius: 999px; cursor: pointer; display: grid; place-items: center; transition: .15s;
}
.lightbox-kapat { width: 38px; height: 38px; font-size: 20px; line-height: 1; }
.lightbox-ok { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; font-size: 22px; }
.lightbox-ok[data-yon="onceki"] { left: 10px; }
.lightbox-ok[data-yon="sonraki"] { right: 10px; }
.lightbox-kapat:hover, .lightbox-ok:hover { background: rgba(255,255,255,.2); border-color: var(--gold); }
body.lightbox-acik { overflow: hidden; }
@media (max-width: 640px) {
  .lightbox-nav button { width: 46px; }
  .lightbox-ok { width: 38px; height: 38px; }
}
.gallery-main img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button { width: 68px; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-2); padding: 6px; cursor: pointer; display: grid; place-items: center; }
.thumbs button[aria-current] { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.thumbs img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }

.pdp-brand { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--gold); }
.pdp h1 { margin: 8px 0 6px; }
.pdp-code { font-size: 13px; color: var(--ink-3); }
.pdp-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 22px 0; padding: 20px 0; border-block: 1px solid var(--line); }
.pdp-price .price { font-size: 1.85rem; font-family: var(--serif); }
.pdp-price .price-old { font-size: 1rem; }
.pdp-price .save { background: var(--gold-soft); color: var(--gold-2); font-weight: 700; font-size: 12.5px; padding: 4px 10px; border-radius: 999px; }
.note { font-size: 13px; color: var(--ink-3); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }

.specs { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 14px; }
.specs th, .specs td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.specs th { width: 42%; color: var(--ink-3); font-weight: 500; }
.specs td a { color: var(--ink); border-bottom: 1px solid var(--line); }
.specs td a:hover { color: var(--gold-2); border-color: var(--gold); }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }

.prose { font-size: 15px; color: var(--ink-2); }
.prose :is(h1,h2,h3) { color: var(--ink); margin-top: 1.6em; }
.prose img { max-width: 100% !important; height: auto !important; border-radius: var(--radius); margin: 1.2em 0; }
.prose figure { margin: 1.2em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 14px; }
.prose :is(th,td) { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 2px; }
.prose ul, .prose ol { padding-left: 1.3em; }

.tabs { border-top: 1px solid var(--line); padding-top: 32px; margin-top: 8px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.panel > summary { padding: 14px 18px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.panel > summary::-webkit-details-marker { display: none; }
.panel > summary::after { content: "+"; color: var(--ink-3); }
.panel[open] > summary::after { content: "−"; }
.panel-body { padding: 4px 18px 18px; }

.video-wrap { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.review { border-bottom: 1px solid var(--line-2); padding: 14px 0; }
.review:last-child { border-bottom: 0; }
.review-top { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--ink-3); margin-bottom: 6px; }
.review strong { color: var(--ink); }
.stars { color: var(--gold); letter-spacing: 1px; }

/* ---------- tiles ---------- */
.tiles { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.tile { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--bg); transition: .15s; }
.tile:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.tile strong { display: block; font-size: 15px; margin-bottom: 3px; }
.tile em { font-style: normal; font-size: 12.5px; color: var(--ink-3); }
.brandgrid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.brandgrid a { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 12px; text-align: center; background: var(--bg); font-size: 14px; font-weight: 500; transition: .15s; }
.brandgrid a:hover { border-color: var(--gold); color: var(--gold-2); box-shadow: var(--shadow); }
.brandgrid em { display: block; font-style: normal; font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }

.az { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 26px; }
.az a { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; font-weight: 600; }
.az a:hover { border-color: var(--gold); color: var(--gold-2); }

/* ---------- forms ---------- */
.form { display: grid; gap: 14px; max-width: 560px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 5px; }
.field :is(input, textarea, select) {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--bg); font-size: 14.5px; color: var(--ink); font-family: inherit;
}
.field :is(input, textarea):focus { outline: 2px solid var(--gold); outline-offset: -1px; }
.alert { padding: 12px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 16px; }
.alert-ok { background: #eaf5ef; color: var(--green); border: 1px solid #cbe6d8; }
.alert-err { background: #fbeded; color: var(--red); border: 1px solid #f2d4d4; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #b9b5ac; margin-top: 64px; font-size: 14px; }
.footer a { color: #d9d5cc; }
.footer a:hover { color: var(--gold); }
.footer-cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; padding-block: 48px; }
.footer h4 { color: #fff; font-family: var(--font); font-size: 12.5px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer .logo { color: #fff; }
.footer-note { border-top: 1px solid #2a2d34; padding-block: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.seo-links { border-top: 1px solid #2a2d34; padding-block: 22px; font-size: 12.5px; line-height: 2; }
.seo-links a { color: #8f8b82; margin-right: 14px; }

/* ---------- empty / 404 ---------- */
.empty { text-align: center; padding: 72px 20px; }
.empty h1 { font-size: 3rem; color: var(--gold); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 40px; }
  .hero-art { max-width: 420px; }
  .pdp { grid-template-columns: 1fr; gap: 32px; }
  .gallery { position: static; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 860px) {
  .listing { grid-template-columns: 1fr; }
  .facets { position: static; }
  .masthead .wrap { flex-wrap: wrap; gap: 12px; min-height: 0; padding-block: 12px; }
  .search { order: 3; max-width: none; flex-basis: 100%; }
  .mast-links { display: none; }
  .burger { display: block; margin-left: auto; }
  .mainnav { display: none; }
  .mainnav.open { display: block; }
  .mainnav ul { flex-direction: column; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .footer-cols { grid-template-columns: 1fr; }
  .section { padding-block: 34px; }
}

/* ---------- koyu tema ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #ece9e3; --ink-2: #b5b0a7; --ink-3: #8b867d;
    --line: #2c2f36; --line-2: #24272d;
    --bg: #14161a; --bg-2: #1a1d22; --bg-3: #1f2228;
    --gold: #c9a35f; --gold-2: #d9b878; --gold-soft: #2a2318;
    --shadow-lg: 0 2px 4px rgba(0,0,0,.4), 0 24px 48px -20px rgba(0,0,0,.6);
  }
  :root:not([data-theme="light"]) .card-img img,
  :root:not([data-theme="light"]) .gallery-main img,
  :root:not([data-theme="light"]) .thumbs img,
  :root:not([data-theme="light"]) .hero-art img { mix-blend-mode: normal; }
  :root:not([data-theme="light"]) .card-img,
  :root:not([data-theme="light"]) .gallery-main,
  :root:not([data-theme="light"]) .thumbs button { background: #f4f2ee; }
  :root:not([data-theme="light"]) .footer { background: #0e1013; }
}
