/* Burak Oto storefront theme: forest green, graphite and workshop steel. */
:root {
  --bo-forest: #123d31;
  --bo-forest-deep: #0c2b23;
  --bo-forest-soft: #e9f1ed;
  --bo-graphite: #202724;
  --bo-steel: #66716c;
  --bo-line: #dce4df;
  --bo-canvas: #f4f7f5;
  --bo-paper: #fff;
  --bo-signal: #d89b36;
  --bo-radius: 10px;
  --bo-shadow: 0 8px 24px rgba(16, 43, 33, .08);
}

html { scroll-behavior: smooth; }
body {
  min-width: 0 !important;
  width: 100% !important;
  overflow-x: hidden;
  background: var(--bo-paper) !important;
  color: var(--bo-graphite) !important;
  font-family: "Segoe UI", Arial, sans-serif !important;
  -webkit-font-smoothing: antialiased;
}
body, body * { box-sizing: border-box; }
img { max-width: 100%; }
a { color: var(--bo-forest); transition: color .16s ease; }
a:hover { color: #287355; }
:focus-visible { outline: 3px solid rgba(216, 155, 54, .8) !important; outline-offset: 3px; }

/* Utility strip and the existing two-tier header stay in their original order. */
.top-header {
  min-height: 30px !important;
  background: var(--bo-forest-deep) !important;
  color: #edf5f0 !important;
  border: 0 !important;
}
.top-header a, .top-header span, .top-header p { color: inherit !important; }
.header-middle {
  background: #fff !important;
  border-bottom: 1px solid var(--bo-line) !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}
.header-middle img { object-fit: contain; }
.block-search { max-width: 560px; }
.block-search input, #txt-search {
  min-height: 48px !important;
  border: 1px solid #cbd7d0 !important;
  border-radius: 8px 0 0 8px !important;
  background: #f7faf8 !important;
  box-shadow: none !important;
}
.block-search button, .block-search .btn, .block-search [type="submit"] {
  min-height: 48px !important;
  border: 0 !important;
  border-radius: 0 8px 8px 0 !important;
  background: var(--bo-forest) !important;
  color: #fff !important;
}
.navbar, .dekstop-menu, .stellarnav {
  background: #fff !important;
  border: 0 !important;
  box-shadow: 0 4px 14px rgba(16, 43, 33, .06) !important;
}
.navbar a, .dekstop-menu a, .stellarnav a {
  color: var(--bo-graphite) !important;
  font-weight: 600;
}
.navbar a:hover, .dekstop-menu a:hover, .stellarnav a:hover,
.navbar .active > a, .dekstop-menu .active > a {
  color: var(--bo-forest) !important;
  background: var(--bo-forest-soft) !important;
}

/* Keep the archived hero artwork, but give it a deliberate storefront stage. */
.slide-area {
  overflow: hidden;
  background: #e8efeb !important;
}
.slide-area .item, .slide-area .carousel-item {
  min-height: 0 !important;
  background-color: #e8efeb;
  background-position: center !important;
  background-size: cover !important;
}
.slide-area h1, .slide-area h2, .slide-area h3 {
  max-width: 620px;
  color: var(--bo-forest-deep) !important;
  font-weight: 750 !important;
  letter-spacing: -.035em;
  line-height: 1.08;
}
.slide-area p { max-width: 580px; color: #364740 !important; line-height: 1.65; }
.slide-area .btn, .slide-area a.btn {
  min-height: 46px;
  padding: 12px 24px !important;
  border: 0 !important;
  border-radius: 7px !important;
  background: var(--bo-forest) !important;
  color: #fff !important;
  font-weight: 700;
}

/* Content rhythm and headings. */
.container { max-width: 1240px; }
section { scroll-margin-top: 24px; }
h1, h2, h3, h4 { color: var(--bo-graphite); letter-spacing: -.025em; }
section h2, .section-title, .title-area h2 {
  color: var(--bo-forest) !important;
  font-weight: 750 !important;
}
.breadcrumb, .breadcrumb-area, .page-title-area {
  background: var(--bo-canvas) !important;
  border-color: var(--bo-line) !important;
}

/* Brand tiles and listing cards preserve their original links and markup. */
.brand, .brand-item, .brand-box, .brand-card,
.owl-item .card, .card, .ilan-card {
  border: 1px solid var(--bo-line) !important;
  border-radius: var(--bo-radius) !important;
  background: var(--bo-paper) !important;
  box-shadow: 0 2px 8px rgba(16, 43, 33, .035) !important;
  overflow: hidden;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.card:hover, .ilan-card:hover, .brand-box:hover, .brand-card:hover {
  border-color: #b8cbc0 !important;
  box-shadow: var(--bo-shadow) !important;
  transform: translateY(-2px);
}
.card img, .ilan-img img, .brand img, .brand-item img {
  object-fit: contain;
}
.ilan-img { background: #f3f6f4 !important; overflow: hidden; }
.ilan-img img { transition: transform .25s ease; }
.card:hover .ilan-img img, .ilan-card:hover .ilan-img img { transform: scale(1.025); }
.card-body { padding: 16px !important; }
.ilan-adi, .card-title { color: var(--bo-graphite) !important; font-weight: 650 !important; line-height: 1.4; }
.ilan-fiyati {
  display: inline-block;
  color: var(--bo-forest) !important;
  font-size: 17px !important;
  font-weight: 750 !important;
  font-variant-numeric: tabular-nums;
}
.ilan-no { color: var(--bo-steel) !important; font-size: 12px; }

/* Category pages: quiet filters, distinct tools, consistent product spacing. */
.sidebar { background: #fff; border-right: 1px solid var(--bo-line); }
.sidebar h2, .sidebar h3, .sidebar h4 { color: var(--bo-forest) !important; }
.sidebar a { color: var(--bo-graphite) !important; }
.sidebar li, .sidebar .filter, .filter { border-color: var(--bo-line) !important; }
input:not([type="checkbox"]):not([type="radio"]), select, textarea {
  border-color: #cbd7d0 !important;
  border-radius: 6px !important;
  box-shadow: none !important;
}
input:focus, select:focus, textarea:focus { border-color: var(--bo-forest) !important; }
.btn, button, input[type="button"], input[type="submit"] {
  border-radius: 6px !important;
}
.btn-primary, .btn-success, .btn-dark, button.btn-primary {
  border-color: var(--bo-forest) !important;
  background: var(--bo-forest) !important;
  color: #fff !important;
}

/* Product detail gallery and purchase/contact actions. */
.ilan-resimleri, #sync1, #sync2 { background: #f4f7f5; }
#sync1 img, #sync2 img { object-fit: contain; }
.mirror-admin-description { max-width: 760px; color: #46544d !important; }
.mirror-admin-reference { color: var(--bo-steel) !important; }

/* Site-wide notices are legible and mobile actions do not cover content. */
.mirror-shipping-notice {
  background: var(--bo-forest) !important;
  border-bottom: 2px solid var(--bo-signal) !important;
  box-shadow: none !important;
  font-family: "Segoe UI", Arial, sans-serif !important;
}
.mirror-contact-bar {
  border-color: var(--bo-line) !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 24px rgba(16, 43, 33, .18) !important;
}

@media (max-width: 767px) {
  .container { width: 100%; max-width: 100%; padding-right: 16px; padding-left: 16px; }
  .header-middle { padding: 10px 12px !important; }
  .header-middle .container, .header-middle .row { margin-right: 0; margin-left: 0; }
  .header-middle .row > [class*="col-"] { padding-right: 6px; padding-left: 6px; }
  .block-search { width: 100%; max-width: none; }
  .block-search input, #txt-search { min-height: 42px !important; }
  .block-search button, .block-search .btn { min-height: 42px !important; }
  .slide-area .item, .slide-area .carousel-item { min-height: 230px; }
  .slide-area h1, .slide-area h2, .slide-area h3 { font-size: clamp(25px, 8vw, 36px) !important; }
  .sidebar { border-right: 0; }
  .card-body { padding: 12px !important; }
  .mirror-contact-bar { right: 10px !important; bottom: 10px !important; gap: 6px !important; padding: 6px !important; }
  .mirror-contact-bar a { min-height: 38px !important; padding: 0 11px !important; font-size: 12px !important; }
}

/* Used-parts merchandising: real dismantling photos, stock references and legible prices lead. */
.top-header { letter-spacing: .025em; }
.header-middle .navbar { gap: clamp(18px, 3vw, 44px); }
.block-search .input-group { overflow: hidden; border-radius: 8px; box-shadow: 0 3px 12px rgba(16, 43, 33, .08); }
.block-search input, #txt-search { background: #fff !important; }
.block-search button:hover { background: #1b5944 !important; }
.dekstop-menu { border-top: 1px solid #edf1ee !important; }
.dekstop-menu .menu-content { min-height: 50px; }
.dekstop-menu a { padding-top: 15px !important; padding-bottom: 15px !important; }
.dekstop-menu .active > a, .dekstop-menu a:hover { box-shadow: inset 0 -3px var(--bo-signal); }

.slide-area { background: #e7eeea !important; }
.slide-area .item, .slide-area .carousel-item {
  background-color: #e7eeea !important;
  background-image: linear-gradient(90deg, rgba(231, 238, 234, .14), rgba(231, 238, 234, 0)) !important;
}
.slide-area h1, .slide-area h2, .slide-area h3 { text-wrap: balance; }
.slide-area .btn, .slide-area a.btn { box-shadow: 0 5px 0 #09271f !important; }

/* Inventory filters read like a dismantler's stock index, not a generic shop sidebar. */
.sidebar { padding: 22px 18px !important; background: #f6f8f7 !important; border: 1px solid var(--bo-line) !important; border-radius: 8px; }
.sidebar li { padding-top: 7px; padding-bottom: 7px; }
.sidebar a:hover { color: #287355 !important; }
.breadcrumb, .breadcrumb-area, .page-title-area { padding-top: 20px !important; padding-bottom: 20px !important; }
.breadcrumb { color: var(--bo-steel); }
.card, .ilan-card { box-shadow: 0 3px 12px rgba(16, 43, 33, .055) !important; }
.card .card-img-top, .card > a > img, .card .ilan-img img, .ilan-card .ilan-img img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e9eeeb;
}
.ilan-img { min-height: 0; }
.card .ilan-adi, .card .card-title, .ilan-card .ilan-adi {
  min-height: 2.7em;
  display: block;
  color: var(--bo-graphite) !important;
  font-size: 15px !important;
}
.card .ilan-fiyati, .ilan-card .ilan-fiyati {
  padding: 8px 11px;
  border-radius: 4px;
  background: var(--bo-forest) !important;
  color: #fff !important;
  font-size: 16px !important;
  line-height: 1.2;
}
.card .ilan-fiyati *, .ilan-card .ilan-fiyati * { color: #fff !important; }
.card .ilan-no, .ilan-card .ilan-no {
  padding-left: 9px;
  border-left: 2px solid var(--bo-signal);
  color: #55645c !important;
  font-variant-numeric: tabular-nums;
}
.card-body > hr { margin: 12px 0 !important; border-color: #e6ebe8; }

/* Homepage: put inventory search and real workshop photography at the centre. */
body.homepage .slide-area {
  position: relative;
  min-height: 0 !important;
  height: auto !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  overflow: hidden;
  background: #102f27 !important;
}
body.homepage .slide-area .item {
  position: relative;
  min-height: 0 !important;
  background-color: #102f27 !important;
}
body.homepage .slide-area .item::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 41, 33, .94) 0%, rgba(12, 41, 33, .82) 46%, rgba(12, 41, 33, .08) 100%);
  content: "";
  pointer-events: none;
}
body.homepage .slide-area .item > picture img { display: block; width: 100%; height: auto; filter: brightness(.78) saturate(.8); }
body.homepage .slide-area .caption { z-index: 2; padding-top: clamp(34px, 5vw, 66px); padding-bottom: clamp(34px, 5vw, 66px); }
body.homepage .slide-area .caption-content { max-width: 650px; }
body.homepage .slide-area h1, body.homepage .slide-area h2, body.homepage .slide-area h3 {
  max-width: 600px;
  color: #fff !important;
  font-size: clamp(34px, 4vw, 56px) !important;
}
body.homepage .slide-area p { color: #e2ece7 !important; font-size: clamp(16px, 1.4vw, 19px); }
body.homepage .slide-area .caption-content > a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 12px 26px;
  border: 0;
  border-radius: 5px;
  background: #d89b36 !important;
  box-shadow: 0 4px 0 #9b6a1d;
  color: #15221c !important;
  font-weight: 750;
  text-decoration: none;
}
body.homepage .slide-area .caption-content > a:hover { background: #e8ae50 !important; transform: translateY(-1px); }
body.homepage .reference-list { margin-top: 10px; }
body.homepage .reference-list .card { border-color: #e1e8e4 !important; }
body.homepage .reference-list .h4 { color: #43534b !important; font-size: 13px; font-weight: 700; }
.bo-shipping-promise {
  display: flex;
  width: min(1240px, calc(100% - 32px));
  min-height: 88px;
  align-items: center;
  gap: 18px;
  margin: 24px auto 26px;
  padding: 16px 22px;
  border: 1px solid #d8e4dd;
  border-left: 4px solid var(--bo-signal);
  border-radius: 8px;
  background: linear-gradient(100deg, #f3f7f4, #fff 72%);
  box-shadow: 0 5px 18px rgba(16, 43, 33, .055);
}
.bo-shipping-promise-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--bo-forest);
  color: #fff;
  font-size: 20px;
}
.bo-shipping-promise-copy { display: grid; gap: 4px; }
.bo-shipping-promise strong { color: var(--bo-forest-deep); font-size: 18px; line-height: 1.3; }
.bo-shipping-promise small { color: #58665f; font-size: 13px; line-height: 1.45; }
body.homepage .vitrin-ilanlari { margin-top: 44px !important; }
body.homepage .vitrin-ilanlari > h1,
body.homepage .vitrin-ilanlari > h2 { margin-bottom: 8px; font-size: clamp(24px, 2.3vw, 32px); }
body.homepage .homepage-text { margin-top: 56px !important; padding: 30px 0; }

/* Brand marks remain visible within the existing manufacturer carousel. */
.owl-carousel .owl-item img, .owl-carousel img {
  opacity: 1 !important;
  visibility: visible !important;
}

@media (max-width: 767px) {
  .header-middle .navbar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 48px;
    grid-template-rows: 40px 42px;
    align-items: center;
    gap: 10px 12px;
    padding: 0 !important;
  }
  .header-middle .navbar-brand { display: flex !important; grid-column: 1; grid-row: 1; justify-self: start; width: min(170px, 100%); min-width: 0; height: 42px; margin: 0; padding: 0; }
  .header-middle .navbar-brand picture { display: block; width: 100%; }
  .header-middle .navbar-brand img { display: block; width: 100% !important; max-width: 170px; height: 42px !important; object-fit: contain; object-position: left center; }
  .header-middle .block-search { display: block !important; grid-column: 1 / -1; grid-row: 2; width: 100%; max-width: none; min-width: 0; }
  .header-middle .block-search .input-group { display: flex; width: 100%; }
  .header-middle .block-search input, .header-middle .block-search #txt-search { min-width: 0; }
  .header-middle .mobile-nav { display: flex !important; grid-column: 2; grid-row: 1; justify-self: end; width: 48px; margin: 0; padding: 0; justify-content: flex-end; }
  .header-middle .mobile-nav > li:first-child, .header-middle .mobile-nav .search-open { display: none !important; }
  .header-middle .mobile-nav .navbar-toggle { display: block !important; position: static !important; width: 42px; height: 42px; margin: 0; visibility: visible !important; opacity: 1 !important; }
  .header-middle .mobile-nav .navbar-toggle button {
    display: flex !important;
    width: 42px;
    height: 42px;
    min-height: 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px;
    border: 1px solid var(--bo-line);
    border-radius: 7px !important;
    background: #fff;
  }
  .header-middle .mobile-nav .navbar-toggle button span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--bo-forest);
  }
  .header-middle .mobile-nav .navbar-toggle button::after { content: none !important; }
  .slide-area .item, .slide-area .carousel-item { min-height: 0 !important; }
  body.homepage .slide-area .caption { padding: 30px 0; }
  body.homepage .slide-area .item {
    min-height: 0 !important;
    background-image: linear-gradient(90deg, rgba(12, 41, 33, .94), rgba(12, 41, 33, .6)), url('/uploads/banner/oto-cikma-parca-izmir.jpg') !important;
  }
  .slide-area h1, .slide-area h2, .slide-area h3 { max-width: 78%; font-size: clamp(24px, 7vw, 32px) !important; }
  .slide-area p { max-width: 70%; font-size: 14px; }
  .sidebar { margin-bottom: 18px; padding: 14px !important; }
  .card .ilan-fiyati, .ilan-card .ilan-fiyati { padding: 7px 9px; font-size: 14px !important; }
  .mirror-contact-bar { max-width: calc(100vw - 20px); }
  .bo-shipping-promise { width: calc(100% - 24px); min-height: 74px; gap: 12px; margin: 16px auto 20px; padding: 12px 14px; }
  .bo-shipping-promise-icon { width: 42px; height: 42px; flex-basis: 42px; font-size: 18px; }
  .bo-shipping-promise strong { font-size: 16px; }
  .bo-shipping-promise small { font-size: 12px; }
  .iwt-com---nb {
    position: fixed !important;
    z-index: 2147483000 !important;
    right: 10px !important;
    bottom: 10px !important;
    left: 10px !important;
    width: auto !important;
    max-width: calc(100vw - 20px) !important;
    margin: 0 !important;
    transform: none !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
  }
  .iwt-com---nb .cc-nb-main-container {
    position: static !important;
    width: 100% !important;
    max-width: none !important;
    padding: 16px !important;
    box-sizing: border-box !important;
  }
  .cc-nb-text-container { max-height: 30vh; overflow-y: auto; }
  .cc-nb-buttons-container { display: grid !important; grid-template-columns: 1fr !important; gap: 8px !important; }
  .cc-nb-buttons-container button, .cc-nb-buttons-container a {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    white-space: normal !important;
  }
}

/* The part page is a compact inspection sheet: evidence photo first, facts second. */
.ilan-resimleri {
  overflow: hidden;
  border: 1px solid var(--bo-line) !important;
  border-radius: 10px;
  background: #f1f4f2 !important;
}
.ilan-resimleri .buyuk-resimler .item {
  display: grid;
  min-height: 420px;
  place-items: center;
  background: #eef2ef;
}
.ilan-resimleri .buyuk-resimler .item img {
  max-height: 520px;
  object-fit: contain;
}
.ilan-resimleri .kucuk-resimler { padding: 10px 12px 14px; }
.ilan-resimleri .kucuk-resimler .item {
  overflow: hidden;
  border: 1px solid var(--bo-line);
  border-radius: 5px;
  background: #fff;
}
.ilan-detaylari {
  padding: clamp(18px, 2.5vw, 30px) !important;
  border: 1px solid var(--bo-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 43, 33, .055);
}
.ilan-detaylari .ilan-table {
  margin-bottom: 18px;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--bo-graphite);
}
.ilan-detaylari .ilan-table tr:first-child td { border-top: 0; }
.ilan-detaylari .ilan-table td {
  padding: 13px 10px !important;
  border-color: #e7ece9 !important;
  vertical-align: middle;
}
.ilan-detaylari .ilan-table td:first-child {
  width: 34%;
  color: #526059;
  font-weight: 650;
}
.ilan-detaylari .ilan-table .text-primary.h2 {
  color: var(--bo-forest) !important;
  font-size: clamp(25px, 2.4vw, 34px) !important;
  font-weight: 800 !important;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.04em;
}
.ilan-detaylari .ilan_kategorileri a { color: var(--bo-forest) !important; font-weight: 650; }
.ilan-detaylari .btn-success {
  min-height: 50px;
  border: 0 !important;
  border-radius: 6px !important;
  background: var(--bo-forest) !important;
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 3px 0 var(--bo-forest-deep);
}
.ilan-detaylari .btn-success:hover { background: #1b5944 !important; transform: translateY(-1px); }
.benzer-ilanlar { margin-top: 52px !important; }
.benzer-ilanlar > h2 { color: var(--bo-forest) !important; font-size: 24px; font-weight: 750; }

@media (max-width: 767px) {
  .ilan-resimleri .buyuk-resimler .item { min-height: 290px; }
  .ilan-detaylari { margin-top: 18px; padding: 16px !important; }
  .ilan-detaylari .ilan-table td { padding: 10px 7px !important; }
  .ilan-detaylari .ilan-table td:first-child { width: 40%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Archived WOW animations leave hero copy transparent when their trigger is missed. */
/* Some archived pages never initialize WOW, which leaves all .wow content hidden. */
.wow { visibility: visible !important; }

body.homepage .slide-area .caption-content > * {
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}
body.homepage .reference-list .owl-item .card {
  min-height: 172px;
  padding: 10px 8px;
  text-align: center;
}
body.homepage .reference-list .owl-item .card > a {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--bo-graphite) !important;
  font-weight: 650;
  text-decoration: none;
}
body.homepage .reference-list .owl-item figure { width: 100%; margin: 0; }
body.homepage .reference-list .owl-item .img-center {
  display: grid;
  width: 100%;
  height: 96px;
  place-items: center;
}
body.homepage .reference-list .owl-item .img-center img {
  display: block;
  width: 100% !important;
  max-width: 120px;
  height: 88px !important;
  object-fit: contain;
}
body.homepage .reference-list .owl-item .h4 {
  min-height: 2.4em;
  margin: 0 !important;
  color: #43534b !important;
  font-size: 12px !important;
  line-height: 1.2;
}
body.homepage .reference-list .owl-item .img-center img[hidden] { display: none !important; }
body.homepage .vitrin-ilanlari .ilanlar-list > .cols > a {
  display: block;
  height: 100%;
  color: inherit !important;
  text-decoration: none;
}
body.homepage .vitrin-ilanlari .ilanlar-list .card { height: 100%; }
body.homepage .vitrin-ilanlari .ilan-img img { aspect-ratio: 4 / 3; object-fit: cover; }
