:root {
  color-scheme: light;
  --paper: #f5f2ed;
  --white: #fffdf9;
  --ink: #201e1b;
  --muted: #635d55;
  --line: #ded8cf;
  --brand: #bf241e;
  --brand-hover: #a51b16;
  --display-red: #ff6555;
  --sell-gold: #ffcc57;
  --dark: #191715;
  font-family: "Segoe UI", Arial, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 15px; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.shell { width: min(calc(100% - 72px), 1392px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.skip { position: fixed; z-index: 4; left: 12px; top: 12px; padding: 10px; background: var(--white); transform: translateY(-150%); }
.skip:focus { transform: none; }

.site-header { background: #fff; border-top: 3px solid var(--brand); }
.header-row { min-height: 64px; display: flex; align-items: center; gap: 42px; }
.logo img { width: 222px; height: auto; }
.main-nav, .account { display: flex; align-items: center; gap: 25px; font-size: 14px; font-weight: 650; }
.account { margin-left: auto; }
.main-nav .current { color: var(--brand); }
.sign-in:hover, .main-nav a:hover, .text-link:hover, footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.button {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-weight: 750;
  white-space: nowrap;
}
.primary { background: var(--brand); color: #fff; }
.primary:hover { background: var(--brand-hover); }
.secondary { background: transparent; border-color: var(--ink); }
.secondary:hover { background: var(--ink); color: var(--white); }
.masthead {
  position: relative;
  isolation: isolate;
  min-height: 330px;
  overflow: hidden;
  background: var(--dark);
  color: #fffaf2;
}
.masthead-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% 51%;
  transform-origin: 78% 55%;
  animation: banner-pan 13s ease-in-out infinite alternate;
}
@keyframes banner-pan {
  from { transform: translateX(.45%) scale(1.035); }
  to { transform: translateX(-1.05%) scale(1.11); }
}
.masthead.is-paused .masthead-photo { animation-play-state: paused; }
.masthead::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #1513118c, #15131141 46%, transparent 75%);
}
.masthead-content { padding-top: 40px; padding-bottom: 54px; }
h1, h2 { font-family: Arial, "Segoe UI", sans-serif; font-weight: 900; line-height: .94; }
h1 { font-size: clamp(53px, 6.2vw, 100px); letter-spacing: -.073em; }
h1 em { color: var(--display-red); font-style: normal; }
.masthead p { margin-top: 11px; color: #e0d6cb; font-size: 16px; font-weight: 550; }
.motion-position { position: absolute; inset: auto 0 47px; display: flex; justify-content: flex-end; pointer-events: none; }
.motion-control {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #fff7;
  border-radius: 50%;
  background: #1c1917c7;
  color: #fff8f1;
  pointer-events: auto;
}
.motion-control:hover { background: #1c1917; }
.motion-control:focus-visible { outline-color: #fffaf2; }
.motion-control svg, .invite-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.motion-control .play-icon, .is-paused .motion-control .pause-icon { display: none; }
.is-paused .motion-control .play-icon { display: block; }

.discovery { position: relative; margin-top: -32px; }
.discovery-actions { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 11px; }
.search-panel {
  padding: 0 16px 13px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: 0 6px 19px #32291c18;
}
.sell-invite {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 14px 14px 16px;
  border: 1px solid #e4a92c;
  border-radius: 6px;
  background: var(--sell-gold);
  color: #251b0c;
  box-shadow: 0 6px 19px #32291c18;
  transition: background 150ms, border-color 150ms;
}
.sell-invite:hover { background: #ffdb7c; border-color: #b57f15; }
.invite-copy { display: grid; gap: 4px; }
.invite-copy > span { color: #4c3514; font-size: 12px; font-weight: 700; }
.invite-copy strong { font-size: 21px; line-height: 1.08; letter-spacing: -.035em; font-weight: 820; }
.invite-arrow { display: grid; place-items: center; flex: 0 0 40px; height: 40px; background: #2c2212; color: #fff8e6; border-radius: 4px; }
.sell-invite:hover .invite-arrow { background: #453115; }
.search-modes { display: flex; gap: 20px; min-height: 40px; }
.search-modes button {
  margin: 0;
  padding: 0 1px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}
.search-modes button[aria-pressed="true"] { border-bottom-color: var(--brand); color: var(--ink); }
.search-modes button:hover { color: var(--brand); }
.search { display: grid; grid-template-columns: minmax(140px, 2fr) minmax(108px, 1fr) minmax(110px, 1fr) minmax(124px, auto); gap: 0; margin-top: 8px; }
.search.is-number { grid-template-columns: minmax(0, 1fr) minmax(132px, auto); }
.search-field { min-width: 0; display: flex; align-items: center; gap: 11px; min-height: 51px; padding: 0 13px; border: 1px solid var(--line); }
.search-field:focus-within { position: relative; border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.search-field.keyword { border-radius: 5px 0 0 5px; }
.location, .budget { margin-left: -1px; }
.field-control { display: grid; gap: 1px; flex: 1; min-width: 0; }
.field-label { color: var(--muted); font-size: 11px; font-weight: 750; line-height: 1.15; }
.search-field input, .search-field select { min-width: 0; width: 100%; min-height: 24px; padding: 0; border: 0; background: transparent; font-weight: 650; font-size: 14px; }
.search-field input:focus-visible, .search-field select:focus-visible { outline: 0; }
.search-field input::placeholder { color: var(--muted); font-weight: 500; opacity: 1; }
.search-field svg, .city-wrap svg { stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.search-field svg { width: 20px; height: 20px; flex: 0 0 20px; color: var(--brand); }
.budget-symbol { color: var(--brand); font-size: 19px; font-weight: 750; }
.search-button { margin-left: 8px; min-height: 51px; padding-inline: 16px; }
.search-button span { font-size: 17px; }

.categories {
  --category-height: 101px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  margin-top: 13px;
}
.categories a {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-width: 0;
  min-height: var(--category-height);
  overflow: hidden;
  padding: 10px 12px;
  border-radius: 5px;
  background: #302921;
  color: #fff9f1;
}
.categories a::before, .categories a::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.categories a::before { z-index: -1; background: linear-gradient(0deg, #171310f5, #1713104a 38%, transparent 68%); }
.categories a::after { border-radius: inherit; box-shadow: inset 0 0 0 1px #fff5; }
.categories a.active::after { box-shadow: inset 0 -3px var(--sell-gold), inset 0 0 0 1px #ffcc575c; }
.categories a:focus-visible { outline-offset: 3px; }
.category-art {
  position: absolute;
  z-index: -2;
  top: 50%;
  right: 0;
  width: max(100%, calc(var(--category-height) * 2));
  aspect-ratio: 2;
  background-image: url("categories.jpg");
  background-size: 300% 200%;
  background-repeat: no-repeat;
  transform: translateY(-50%);
  transform-origin: 75% center;
  transition: transform 200ms ease;
}
.categories a:hover .category-art { transform: translateY(-50%) scale(1.055); }
.category-motor { background-position: 0 0; }
.category-electric { background-position: 50% 0; }
.category-atv { background-position: 100% 0; }
.category-bike { background-position: 0 100%; }
.category-gear { background-position: 50% 100%; }
.category-label { font-size: 15px; font-weight: 770; line-height: 1.1; white-space: nowrap; }

.listings-section { padding-top: 25px; scroll-margin-top: 12px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 9px; }
h2 { font-size: clamp(25px, 3vw, 44px); letter-spacing: -.059em; }
.heading-dot { color: var(--brand); }
.result-count { margin-top: 3px; color: var(--muted); font-size: 12px; }
.text-link { font-size: 13px; font-weight: 740; white-space: nowrap; color: var(--brand); }
.listing-actions { display: flex; align-items: center; gap: 13px; }
.sort select { max-width: 100%; min-height: 34px; padding: 0 8px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); font-size: 12px; font-weight: 650; }

.grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 13px; }
.grid.has-promotion-layout { grid-template-columns: repeat(10, minmax(0, 1fr)); }
.has-promotion-layout > .card { grid-column: span 2; }
.has-promotion-layout > .card[data-promotion="urgent"] { grid-column: span 4; }
.has-full-promotion-row > .card[data-promotion="showcase"] { grid-column: span 3; }
.card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #dfd8cd;
  border-radius: 5px;
  transition: border-color 150ms, box-shadow 150ms;
}
.card:hover { border-color: #a39787; box-shadow: 0 4px 13px #342c241e; }
.card-link { display: block; height: 100%; }
.card-link:focus-visible { outline-offset: -3px; }
.photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #eae5db; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo img[data-frame] { position: absolute; top: 50%; max-width: none; height: auto; }
.photo img[data-frame="portrait"] { width: 335%; left: -117.5%; transform: translateY(-44%); }
.photo img[data-frame="forza"] { width: 148%; left: -30%; transform: translateY(-46%); }
.photo-fallback { display: grid; place-items: center; height: 100%; padding: 8px; color: var(--muted); font-size: 12px; text-align: center; }
.card[data-promotion] { border-color: var(--promotion-border); background: var(--promotion-paper); color: var(--promotion-ink); }
.card[data-promotion]:hover { border-color: var(--promotion-accent); }
.card[data-promotion="urgent"] {
  --promotion-border: #7d2621;
  --promotion-paper: #581c18;
  --promotion-accent: #bf281e;
  --promotion-label: #fffaf5;
  --promotion-ink: #fff7f1;
  --promotion-detail: #f6d6cd;
  --promotion-rule: #e6aa9e66;
}
.card[data-promotion="showcase"] {
  --promotion-border: #caac66;
  --promotion-paper: #fff2d5;
  --promotion-accent: #f3c459;
  --promotion-label: #2d210a;
  --promotion-ink: #332713;
  --promotion-detail: #5c4a2a;
  --promotion-rule: #c3a96574;
}
.card[data-promotion] .photo::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--promotion-accent); }
.promotion-tag {
  position: absolute;
  inset: 9px auto auto 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 4px 9px;
  background: var(--promotion-accent);
  color: var(--promotion-label);
  border: 1px solid #fff5;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.promotion-tag::before { content: ""; width: 5px; height: 5px; background: currentColor; transform: rotate(45deg); }
.card[data-promotion] .card-arrow {
  display: grid;
  width: 26px;
  height: 24px;
  place-items: center;
  flex: 0 0 26px;
  border: 1px solid var(--promotion-rule);
  border-radius: 3px;
  color: var(--promotion-ink);
}
.card[data-promotion] .card-bottom { border-top-color: var(--promotion-rule); }
.card[data-promotion] .facts, .card[data-promotion] .city-wrap { color: var(--promotion-detail); }
.promotion-controls {
  position: absolute;
  top: 7px;
  right: 7px;
  display: flex;
  gap: 1px;
  padding: 2px;
  border-radius: 5px;
  background: #241d16e8;
  color: #fff9f0;
}
.promotion-controls button {
  display: grid;
  place-items: center;
  width: 29px;
  height: 30px;
  padding: 0;
  border: none;
  border-radius: 3px;
  background: transparent;
  font-size: 20px;
  line-height: 1;
}
.promotion-controls button[data-rotation] { font-size: 12px; }
.promotion-controls button:hover { background: #fff2; }
.promotion-controls button:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.promotion-slide-in { animation: promotion-enter 230ms ease-out; }
@keyframes promotion-enter {
  from { opacity: .55; }
  to { opacity: 1; }
}
.has-promotion-layout > .card[data-promotion] .photo { height: clamp(154px, 15vw, 217px); aspect-ratio: auto; }
.has-promotion-layout > .card[data-promotion] .card-copy { padding: 11px 13px 10px; }
.has-promotion-layout > .card[data-promotion] .price { font-size: clamp(22px, 2.1vw, 31px); }
.card-copy { display: grid; padding: 10px 10px 9px; }
.card-price { display: flex; align-items: center; justify-content: space-between; gap: 5px; margin-bottom: 5px; }
.card-arrow { color: var(--brand); font-size: 16px; line-height: 1; }
.card h3 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 730; line-height: 1.28; }
.facts { min-height: 16px; color: var(--muted); font-size: 12px; }
.card-bottom { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; column-gap: 4px; row-gap: 2px; margin-top: 6px; padding-top: 5px; border-top: 1px solid #e9e2d9; }
.price { font-size: clamp(17px, 1.55vw, 25px); line-height: 1.1; letter-spacing: -.052em; font-weight: 820; }
.price.missing { font-size: 13px; font-weight: 700; }
.city-wrap { display: inline-flex; align-items: center; gap: 2px; color: var(--muted); font-size: 11px; font-weight: 620; }
.city-wrap:has(.city:empty) { display: none; }
.city-wrap svg { width: 13px; height: 13px; }
.empty { padding: 26px 14px; border: 1px dashed #c9bfb0; border-radius: 5px; text-align: center; color: var(--muted); }
.more { display: flex; justify-content: center; margin-top: 17px; }
.more:has(> [hidden]) { display: none; }
.equipment-section { margin-top: 9px; }

footer { margin-top: 34px; padding: 23px 0; background: #eae4da; border-top: 1px solid var(--line); }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13px; }
.footer-row nav { display: flex; gap: 15px; flex-wrap: wrap; }
.footer-row small { color: var(--muted); }

@media (max-width: 1200px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid.has-promotion-layout { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .has-full-promotion-row > .card[data-promotion="showcase"] { grid-column: span 2; }
  .masthead-content { padding-top: 40px; }
}
@media (max-width: 1050px) {
  .discovery-actions { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .sell-invite { min-height: 56px; padding: 6px 9px 6px 12px; box-shadow: none; }
  .invite-copy { gap: 2px; }
  .invite-copy strong { font-size: 17px; }
  .invite-arrow { flex-basis: 35px; height: 35px; }
}
@media (max-width: 900px) {
  .shell { width: calc(100% - 40px); }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .grid.has-promotion-layout { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .has-promotion-layout > .card[data-promotion="urgent"] { grid-column: span 2; }
  .header-row { gap: 18px; }
  .main-nav { gap: 12px; }
  .masthead { min-height: 278px; }
  .masthead-content { padding-top: 30px; padding-bottom: 48px; }
  .categories { --category-height: 83px; }
}
@media (max-width: 650px) {
  .shell { width: calc(100% - 24px); }
  .header-row { min-height: 52px; }
  .logo img { width: min(49vw, 193px); }
  .main-nav { display: none; }
  .sign-in { font-size: 13px; }
  .masthead { min-height: 205px; }
  .masthead-photo { object-position: 90% 55%; }
  .masthead::after { background: linear-gradient(90deg, #171412c9 0%, #17141291 45%, #17141221 87%); }
  .masthead-content { padding-top: 21px; padding-bottom: 26px; }
  h1 { font-size: clamp(39px, 10.5vw, 54px); }
  .masthead p { margin-top: 7px; font-size: 12px; }
  .motion-position { bottom: 26px; }
  .motion-control { width: 32px; height: 32px; }
  .discovery { margin-top: -15px; }
  .search-panel { padding: 0 7px 7px; }
  .search-modes { gap: 14px; min-height: 34px; }
  .search-modes button { font-size: 12px; }
  .search { grid-template-columns: repeat(2, minmax(0, 1fr)) auto; gap: 4px; margin-top: 5px; }
  .search.is-number { grid-template-columns: minmax(0, 1fr) auto; }
  .keyword { grid-column: 1 / -1; }
  .search.is-number .keyword { grid-column: 1; }
  .search-field { gap: 7px; min-height: 43px; padding-inline: 7px; border-radius: 4px !important; }
  .search-field svg { width: 17px; height: 17px; flex-basis: 17px; }
  .location, .budget { margin-left: 0; }
  .location svg, .budget-symbol { display: none; }
  .field-label { font-size: 10px; }
  .search-field select { font-size: 12px; }
  .search-button { margin-left: 0; min-height: 43px; padding-inline: 8px; font-size: 12px; }
  .search-button span { display: none; }
  .categories { --category-height: 65px; gap: 4px; margin-top: 8px; }
  .categories a { justify-content: center; padding: 0 1px 6px; }
  .categories a::before { background: linear-gradient(0deg, #15110ff5, #15110f74 32%, transparent 65%); }
  .category-label { font-size: clamp(9px, 2.7vw, 12px); }
  .listings-section { padding-top: 15px; }
  .section-head { margin-bottom: 5px; }
  #ilanlar .section-head { gap: 8px; }
  #ilanlar h2 { font-size: clamp(22px, 5.8vw, 26px); }
  .text-link { font-size: 12px; }
  .listing-actions { align-items: flex-end; flex-direction: column; gap: 4px; }
  .sort select { min-height: 35px; padding-inline: 3px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .grid.has-promotion-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .has-promotion-layout > .card, .has-promotion-layout > .card[data-promotion="showcase"] { grid-column: span 1; }
  .has-promotion-layout > .card[data-promotion="urgent"] { grid-column: 1 / -1; }
  .has-promotion-layout > .card[data-promotion="urgent"] .photo { height: clamp(155px, 44vw, 216px); }
  .has-promotion-layout > .card[data-promotion="showcase"] .photo { height: auto; aspect-ratio: 4 / 3; }
  .has-promotion-layout > .card[data-promotion] .card-copy { padding: 8px; }
  .has-promotion-layout > .card[data-promotion="showcase"] .price { font-size: 20px; }
  .card[data-promotion="showcase"] .promotion-controls { top: 39px; }
  .photo { aspect-ratio: 4 / 3; }
  .card-copy { padding: 7px; }
  .card h3 { font-size: 13px; }
  .facts { font-size: 11px; }
  .card-bottom { margin-top: 4px; padding-top: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .masthead-photo { animation: none; }
  .motion-control { display: none; }
  .promotion-slide-in { animation: none; }
  .card, .sell-invite, .category-art { transition: none; }
}
