:root {
  --red: #c61627;
  --ink: #181819;
  --muted: #57585c;
  --line: #e7e4e1;
  --paper: #f5f3f0;
  --metallic-red: radial-gradient(ellipse at 73% 38%, #8b1b2d 0%, #54131f 37%, transparent 73%),
                  linear-gradient(120deg, #1d1014 10%, #380e19 75%);
  --red-highlight: #ffb3bd;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: #fff; font-family: system-ui, "Segoe UI", sans-serif; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #2d83d9; outline-offset: 4px; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
.wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 5; padding: 8px 14px; background: #fff; }
.skip:focus { top: 12px; }

/* Üst çubuk ve menü */
.topbar { background: #490d17; color: #fff; font-size: .76rem; font-weight: 700; letter-spacing: .12em; }
.bar, .header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.bar { min-height: 35px; }
.header { background: #181214; color: #fff; border-bottom: 1px solid #ffb0b033; }
.header-inner { min-height: 77px; }
.brand { display: inline-flex; align-items: center; gap: 10px; line-height: 1.15; }
.brand strong { font-size: 1.08rem; letter-spacing: -.035em; }
.brand small { display: block; margin-top: 4px; font-size: .64rem; font-weight: 800; letter-spacing: .19em; }
.mark { flex: 0 0 42px; width: 42px; height: 42px; background: url("icon.svg") center / contain no-repeat; color: transparent; }
nav { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: clamp(12px, 2.4vw, 36px); font-size: .9rem; font-weight: 650; }
nav a { padding-block: 7px; }
nav a:hover, nav a[aria-current="page"] { color: #ff9aa4; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 19px; background: var(--red); border: 1px solid transparent; border-radius: 6px; color: #fff; font: inherit; font-weight: 750; cursor: pointer; }
.button:hover { background: #a60f1f; }
.button.outline { border-color: #ffffff8f; background: #1616174a; }
.button.outline:hover { background: #ffffff28; }
.header-cta { min-height: 39px; font-size: .86rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Ana sayfa */
.eyebrow, .tag { color: #a80c1e; font-size: .75rem; letter-spacing: .14em; font-weight: 850; }
h1, h2, h3 { line-height: 1.09; letter-spacing: -.045em; }
h1 { font-size: clamp(2.35rem, 5.8vw, 5.5rem); font-weight: 880; }
.quick { border-bottom: 1px solid var(--line); background: var(--paper); }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.quick a { display: flex; align-items: center; gap: 14px; padding: 21px 18px; border-inline-start: 1px solid var(--line); }
.quick a:last-child { border-inline-end: 1px solid var(--line); }
.quick a:hover { background: #fff; }
.quick b, .quick i { color: #ac1020; font-style: normal; }
.quick b { font-size: .78rem; letter-spacing: .08em; }
.quick small { display: block; color: var(--muted); }
.quick i { margin-left: auto; }
.section { padding-block: clamp(42px, 6vw, 82px); }
.soft { background: var(--paper); }
.section-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 15px; margin-bottom: 24px; }
h2 { font-size: clamp(1.85rem, 3.6vw, 3.1rem); margin-block: 8px 10px; }
.section-head p:not(.eyebrow), .card p { color: var(--muted); }
.text-link { display: inline-block; color: #a80c1e; font-weight: 780; }
.text-link:hover, .card h3 a:hover { text-decoration: underline; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 21px; }
.card { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.card-image { width: 100%; aspect-ratio: 1.64; object-fit: cover; background: var(--paper); }
.card-body { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; padding: 20px; flex: 1; }
.card-body .text-link { margin-top: auto; padding-top: 4px; }
.card h3 { font-size: 1.35rem; letter-spacing: -.03em; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.gallery img { width: 100%; aspect-ratio: 1.3; object-fit: cover; border-radius: 8px; background: var(--paper); }
details { margin-top: 18px; }
details .gallery { margin-top: 15px; }
summary { width: fit-content; cursor: pointer; color: #a80c1e; font-weight: 750; }

.contact, footer { background: #181819; color: #fff; }
.contact { background: var(--metallic-red); border-top: 4px solid var(--red); }
.contact .eyebrow, .subhero .eyebrow { color: var(--red-highlight); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; gap: clamp(22px, 5vw, 70px); }
address { font-style: normal; margin-block: 18px; }
.phones { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 23px; }
.phones a { font-weight: 750; text-decoration: underline; }
footer { border-top: 1px solid #ffffff24; padding-block: 22px 80px; font-size: .88rem; }
footer a:not(.brand):hover { text-decoration: underline; }
.whatsapp { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 4; display: flex; align-items: center; gap: 8px; min-height: 49px; padding: 10px 15px; border-radius: 30px; background: #116b43; color: #fff; font-size: .86rem; font-weight: 750; box-shadow: 0 4px 20px #0004; }
.whatsapp:hover { background: #084d2e; }
.whatsapp svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.home-shortcuts { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 4; display: grid; gap: 8px; }
.home-shortcuts .whatsapp { position: static; }
.wheel-shortcut { justify-content: flex-start; gap: 8px; min-height: 49px; padding: 10px 15px; border-radius: 30px; font-size: .86rem; box-shadow: 0 4px 20px #0004; }
.wheel-shortcut svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; }

/* Katalog ve blog sayfaları */
.subhero { background: var(--metallic-red); color: #fff; padding-block: clamp(43px, 6vw, 78px); }
.subhero h1 { font-size: clamp(2.2rem, 5vw, 4.6rem); margin-block: 10px 16px; }
.subhero p:last-child { max-width: 60ch; color: #eee; }
.back { display: inline-block; margin-bottom: 18px; text-decoration: underline; }
.catalog-hero { position: relative; isolation: isolate; overflow: hidden; }
.catalog-hero img { position: absolute; inset: 0 0 0 auto; width: 62%; height: 100%; object-fit: cover; object-position: center 43%; z-index: -2; }
.catalog-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 34%, #581425 38%, #551221e8 59%, #5b102845); z-index: -1; }
.catalog-section { background: var(--paper); padding-block: clamp(32px, 5vw, 64px); }
.catalog-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); align-items: start; gap: 28px; }
.catalog-layout:has(.filters[hidden]) { grid-template-columns: 1fr; }
.filters { display: grid; gap: 16px; padding: 20px; border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: 12px; background: #fff; }
.filter-heading, .catalog-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.filter-heading h2 { margin: 0; font-size: 1.35rem; }
.filter-reset { padding: 5px 0; border: 0; background: transparent; color: #a80c1e; font: inherit; font-size: .82rem; font-weight: 750; cursor: pointer; }
.filter-reset:hover { text-decoration: underline; }
.filters label { display: grid; gap: 5px; font-size: .88rem; font-weight: 700; }
.filters input, .filters select { width: 100%; min-width: 0; min-height: 42px; padding: 8px 9px; border: 1px solid #a8a6a2; border-radius: 6px; background: #fff; color: var(--ink); font: inherit; font-weight: 500; }
.catalog-heading { margin-bottom: 19px; }
.catalog-heading h2 { margin: 0; font-size: clamp(1.65rem, 3vw, 2.45rem); }
#sonuc-sayisi { padding: 5px 12px; border: 1px solid var(--line); border-radius: 18px; background: #fff; color: var(--muted); font-size: .83rem; font-weight: 750; }
#sonuc-sayisi:empty { display: none; }
.catalog-results .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.catalog-results .card { border-radius: 16px; padding: 8px; box-shadow: 0 8px 24px #271b190e; }
.catalog-photo { position: relative; overflow: hidden; border-radius: 10px; }
.catalog-photo .card-image { aspect-ratio: 1.3; }
.catalog-photo a > .card-image { height: auto; object-fit: contain; background: #f3f1ed; }
.catalog-photo .tag { position: absolute; inset: 12px auto auto 12px; padding: 5px 10px; border-radius: 20px; background: #fff; color: #a80c1e; letter-spacing: .08em; }
.catalog-results .card-body { gap: 10px; padding: 19px 14px 8px; }
.catalog-results .card h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); }
.catalog-results .card-body p { margin-bottom: 6px; }
.catalog-results .text-link { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); font-size: .9rem; }
.catalog-results .text-link span { display: grid; width: 34px; height: 34px; place-items: center; flex: 0 0 34px; border-radius: 50%; background: #fbe9eb; }
.catalog-results .text-link:hover span { background: var(--red); color: #fff; }
.catalog-empty { padding: 28px; border: 1px dashed #c9b9b9; border-radius: 10px; background: #fff; }
.catalog-empty p { margin-top: 8px; color: var(--muted); }
.more { margin-top: 20px; }
.reading { max-width: 760px; }
.reading section { margin-bottom: 26px; }
.reading h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
.reading p { line-height: 1.7; }

@media (max-width: 800px) {
  .catalog-layout { grid-template-columns: 1fr; gap: 22px; }
  .catalog-hero img { width: 100%; }
  .catalog-hero::after { background: linear-gradient(90deg, #231015fa, #501323b8); }
  .wrap { width: calc(100% - 36px); }
  .header-inner { flex-wrap: wrap; padding-block: 12px; gap: 8px; }
  nav { width: 100%; order: 3; justify-content: flex-start; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { flex-wrap: wrap; }
}
@media (max-width: 590px) {
  .catalog-results .cards { grid-template-columns: 1fr; }
  .quick-grid, .cards, .contact-grid { grid-template-columns: 1fr; }
  .quick a, .quick a:last-child { border: 0; border-bottom: 1px solid var(--line); padding: 12px 0; }
  .quick a:last-child { border-bottom: 0; }
  .contact-grid { align-items: stretch; }
}
@media (max-width: 355px) {
  .header-cta { display: none; }
}

/* Jant görsellerinin gerçek dış çemberini, ortak yerleşim kutusuna hizalar. */
.rim-artwork { position: absolute; left: var(--artwork-left, 0%); top: var(--artwork-top, 0%); width: var(--artwork-width, 100%); height: var(--artwork-height, 100%); max-width: none; object-fit: fill; }
.rim-artwork[src$="jant-demo-antrasit.webp"] { --artwork-left: -0.5634%; --artwork-top: -0.9804%; --artwork-width: 101.4085%; --artwork-height: 100.8403%; }
.rim-artwork[src$="jant-demo-siyah-gumus.webp"] { --artwork-left: -0.8523%; --artwork-top: -0.4202%; --artwork-width: 102.2727%; --artwork-height: 100.8403%; }
.rim-artwork[src$="jant-demo-bronz.webp"] { --artwork-left: -0.7123%; --artwork-top: -0.4202%; --artwork-width: 102.5641%; --artwork-height: 100.8403%; }
.rim-artwork[src$="jant-demo-oz.webp"] { --artwork-left: -0.4237%; --artwork-top: -0.2793%; --artwork-width: 101.6949%; --artwork-height: 100.5587%; }
.rim-artwork[src$="jant-demo-taycan.webp"] { --artwork-left: -1.4009%; --artwork-top: -0.7447%; --artwork-width: 103.4483%; --artwork-height: 102.1277%; }
.rim-artwork[src$="jant-demo-audi.webp"] { --artwork-left: -1.1828%; --artwork-top: -1.2793%; --artwork-width: 103.2258%; --artwork-height: 102.3454%; }
.rim-artwork[src$="jant-demo-bmw-cift-kollu.webp"] { --artwork-left: -0.5297%; --artwork-top: -0.6316%; --artwork-width: 101.6949%; --artwork-height: 101.0526%; }
.rim-artwork[src$="jant-demo-detroit.webp"] { --artwork-left: -0.6383%; --artwork-top: -0.8493%; --artwork-width: 102.1277%; --artwork-height: 101.9108%; }
.consent-panel {
  position: fixed;
  inset: auto auto 1rem 1rem;
  z-index: 90;
  box-sizing: border-box;
  width: min(35rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  padding: 1rem;
  border: 1px solid #ded5d7;
  border-radius: 1rem;
  background: #fff;
  color: #241b1e;
  box-shadow: 0 10px 40px #1e0d1266;
}
.consent-panel [hidden], .consent-panel[hidden] { display: none; }
.consent-panel h2 { margin: 0 0 .4rem; font-size: 1.2rem; }
.consent-panel p { margin: 0 0 .7rem; font-size: .9rem; }
.consent-panel .consent-status { color: #605157; }
.consent-panel label { display: block; padding: .25rem 0; }
.consent-actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .65rem; }
.consent-actions button, .consent-settings {
  padding: .55rem .7rem;
  border: 1px solid currentColor;
  border-radius: .45rem;
  color: inherit;
  background: transparent;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.consent-actions button { flex: 1 0 auto; font-size: .84rem; }
.consent-actions button:hover { background: #f3edef; }
.consent-actions button:focus-visible, .consent-settings:focus-visible { outline: 2px solid #c30036; outline-offset: 2px; }
