/* otoplus PHP site - custom styles (Tailwind via CDN) */

/* Geomanist: sunucuda /fonts/ veya /public/fonts/ altinda olmali; yoksa sistem fontu kullanilir */
@font-face {
  font-family: 'Geomanist';
  src: url('/fonts/geomanist/geomanist-regular.woff2') format('woff2'),
       url('/public/fonts/geomanist/geomanist-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geomanist';
  src: url('/fonts/geomanist/geomanist-bold.woff2') format('woff2'),
       url('/public/fonts/geomanist/geomanist-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --gray-0: #F5F5F5;
  --gray-10: #FAFAFA;
  --gray-20: #EEEDED;
  --otoplus-primary: #FF3F55;
  --secondary-gray: #666;
  --mini-gray: #f1f1f1;
}

.container-xl {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.align-right-with-container {
  right: calc((100% - 1400px) / 2);
}
@media (max-width: 1400px) {
  .align-right-with-container { right: 0; }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Geomanist', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  color: #333;
  background: #fff;
}

.shadow-why-otoplus { box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.search-shadow { box-shadow: 0 4px 20px rgba(0,0,0,0.12); }
.text-shadow { text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); }

.main-slider .swiper-pagination { bottom: 12px !important; }
.main-slider .swiper-pagination-bullet {
  width: 8px; height: 8px; background: white; opacity: 0.5;
}
.main-slider .swiper-pagination-bullet-active { opacity: 1; background: white; }

.overflow-style-none::-webkit-scrollbar { display: none; }
.overflow-style-none { -ms-overflow-style: none; scrollbar-width: none; }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
  20%, 40%, 60%, 80% { transform: translateX(2px); }
}
.animation-tab-shake {
  animation: shake 5s ease-in-out infinite;
  animation-delay: 2s;
}

.shadow-header { box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
.feature-card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.feature-card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.10);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up { animation: fadeInUp 0.6s ease forwards; }

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-enter { animation: slideUp 0.4s ease forwards; }

.news-item-hover { transition: transform 0.2s ease, color 0.2s ease; }
.news-item-hover:hover { transform: translateX(4px); }

.price-diffrence-card-shadow { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); }
.font-qualy { font-family: Arial, sans-serif !important; }

.ot-hidden { display: none !important; }
.ot-modal-open { overflow: hidden; }

.ot-section-title { line-height: 1.2; }
.car-gallery-viewport {
  position: relative;
  width: 100%;
}
.car-gallery-slide {
  display: none;
  width: 100%;
}
.car-gallery-slide.is-active {
  display: block;
}
.ot-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  pointer-events: auto;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  font-size: 1.5rem;
  line-height: 1;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ot-gallery-nav:hover { background: #f5f5f5; }

/* —— Araç detay (otoplus.com uyumlu) —— */
.ot-car-detail {
  background: #f5f5f5;
  padding-bottom: 6.5rem;
}
.ot-car-detail-inner {
  padding-left: 0;
  padding-right: 0;
}
@media (min-width: 1024px) {
  .ot-car-detail-inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
.ot-car-breadcrumb {
  display: none;
  font-size: 0.875rem;
  color: #666;
  padding: 1rem 1rem 0;
  gap: 0.35rem;
}
.ot-car-breadcrumb a:hover { color: #f03e56; }
@media (min-width: 1024px) {
  .ot-car-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; }
}
.ot-car-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 1024px) {
  .ot-car-layout {
    grid-template-columns: 1fr 400px;
    gap: 1.5rem;
    align-items: start;
    padding-top: 0.5rem;
  }
}
.ot-car-kredi-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: #2b6fd6;
  color: #fff;
  padding: 0.65rem 1rem;
  font-size: 0.8125rem;
  position: relative;
}
.ot-car-kredi-bar::after {
  content: '';
  position: absolute;
  left: 1rem;
  bottom: -6px;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #2b6fd6;
}
.ot-car-kredi-btn {
  border: 1.5px solid #fff;
  background: transparent;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
}
.ot-car-gallery-wrap {
  position: relative;
  background: #fff;
}
.ot-firsat-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 18;
  background: linear-gradient(135deg, #ff4d62 0%, #f03e56 100%);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  line-height: 1.2;
  box-shadow: 0 2px 10px rgba(240, 62, 86, 0.35);
  pointer-events: none;
}
.ot-car-gallery-wrap > .ot-firsat-badge {
  top: 14px;
  left: 14px;
}
.ot-car-gallery-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #f0f0f0;
  display: block;
}
.ot-gallery-counter {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 12;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
}
.ot-gallery-tools {
  position: absolute;
  right: 0.75rem;
  bottom: 1rem;
  z-index: 12;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.ot-gallery-tool {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  cursor: pointer;
}
.ot-gallery-tool[aria-pressed='true'] { color: #f03e56; }
.ot-gallery-tool[aria-pressed='true'] svg { fill: #f03e56; stroke: #f03e56; }
.ot-gallery-nav--prev { left: 0.75rem; }
.ot-gallery-nav--next { right: 3.5rem; }
.ot-car-thumbs {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  overflow-x: auto;
  border-top: 1px solid #eee;
  background: #fff;
}
.ot-car-thumb {
  flex-shrink: 0;
  width: 88px;
  height: 58px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid #e0e0e0;
  padding: 0;
  cursor: pointer;
  opacity: 0.85;
}
.ot-car-thumb.is-active {
  border-color: #f03e56;
  opacity: 1;
}
.ot-car-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ot-car-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.ot-car-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.35rem;
  padding: 0.85rem 0.5rem;
  border-right: 1px solid #f0f0f0;
}
.ot-car-trust-item:last-child { border-right: none; }
.ot-car-trust-item img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}
.ot-car-trust-label,
.ot-car-trust-item span {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #222;
  line-height: 1.3;
  max-width: 7.5rem;
}
.ot-car-mobile-panel {
  background: #fff;
}
.ot-car-summary {
  padding: 1rem 1rem 0.75rem;
  background: #fff;
}
.ot-car-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: #222;
  line-height: 1.2;
  text-transform: none;
}
.ot-car-subtitle {
  font-size: 0.6875rem;
  color: #888;
  text-transform: uppercase;
  margin-top: 0.35rem;
  line-height: 1.45;
  letter-spacing: 0.02em;
}
.ot-car-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: #f03e56;
  margin-top: 0.65rem;
  line-height: 1;
}
.ot-car-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 1rem;
}
.ot-car-cta--stack {
  grid-template-columns: 1fr;
}
.ot-car-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.ot-car-btn--dark { background: #333; color: #fff; }
.ot-car-btn--primary { background: #f03e56; color: #fff; }
.ot-car-btn--blue { background: #2196f3; color: #fff; }
.ot-car-specs { background: #fff; }
.ot-car-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-top: 1px solid #f0f0f0;
  font-size: 0.875rem;
}
.ot-car-spec-label { color: #333; }
.ot-car-spec-value { font-weight: 600; color: #222; text-align: right; }
.ot-car-dealer {
  text-align: center;
  font-size: 0.625rem;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.5;
  padding: 1rem;
  background: #fff;
  border-top: 1px solid #f5f5f5;
}
.ot-car-expertise {
  margin: 0.75rem 1rem 0;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
@media (min-width: 1024px) {
  .ot-car-expertise { margin: 1rem 0 0; }
}
.ot-car-expertise-title {
  font-size: 1rem;
  font-weight: 700;
  padding: 1rem 1rem 0.5rem;
  border-left: 4px solid #f03e56;
  margin-left: 0;
}
.ot-car-expertise-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0 1rem 0.75rem;
  font-size: 0.875rem;
}
.ot-car-expertise-status-label {
  color: #666;
}
.ot-car-expertise-status strong {
  color: #222;
  font-weight: 700;
}
.ot-car-mobile-panel .ot-car-expertise {
  margin: 0;
  border-radius: 0;
  border-left: none;
  border-right: none;
  box-shadow: none;
  border-top: 1px solid #eee;
}
.ot-car-expertise-diagram {
  padding: 0 1rem 0.5rem;
  background: #fff;
}
.ot-car-expertise-img,
.ot-car-expertise-svg {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
  margin: 0 auto;
}
.ot-car-expertise-diagram--clean {
  background: linear-gradient(180deg, #f8fcf8 0%, #fff 100%);
  border-radius: 8px;
  padding: 0.5rem 0 0.25rem;
}
.ot-car-expertise-tab {
  margin: 0.75rem 1rem 0;
  display: inline-block;
  background: #e8e8e8;
  color: #333;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 6px 6px 0 0;
}
.ot-car-expertise-body {
  background: #f8f9f8;
  border-top: 1px solid #eee;
  padding: 1rem;
  margin: 0 1rem 1rem;
  border-radius: 0 8px 8px 8px;
  font-size: 0.875rem;
  color: #666;
  line-height: 1.5;
}
.ot-car-expertise-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: #333;
}
.ot-legend-b,
.ot-legend-d {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  font-style: normal;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
  margin-right: 0.35rem;
}
.ot-legend-o { background: #9ad19a; }
.ot-legend-b { background: #4a90d9; }
.ot-legend-d { background: #f5a623; }
.ot-car-side-sticky {
  position: sticky;
  top: 5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ot-car-side-sticky .ot-car-summary {
  border-radius: 12px 12px 0 0;
  border: 1px solid #e8e8e8;
  border-bottom: none;
}
.ot-car-side-sticky .ot-car-specs {
  border-left: 1px solid #e8e8e8;
  border-right: 1px solid #e8e8e8;
}
.ot-car-side-sticky .ot-car-dealer {
  border-left: 1px solid #e8e8e8;
  border-right: 1px solid #e8e8e8;
}
.ot-car-wa-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #25d366;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.85rem;
  margin-top: 0.75rem;
  border-radius: 8px;
  text-decoration: none;
}
.ot-car-kredi-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 1.25rem;
  margin-top: 0.75rem;
}
.ot-car-kredi-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.ot-car-kredi-brand { font-size: 1.125rem; font-weight: 700; color: #1e6fd9; }
.ot-car-kredi-note { font-size: 0.75rem; color: #999; }
.ot-car-kredi-label { font-size: 0.75rem; color: #666; }
.ot-car-kredi-amount { font-size: 0.875rem; font-weight: 700; margin: 0.25rem 0 0.75rem; }
.ot-car-kredi-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  font-size: 0.75rem;
  margin-bottom: 1rem;
}
.ot-car-kredi-meta span { color: #888; display: block; }
.ot-car-fab {
  position: fixed;
  right: 1rem;
  bottom: 1.25rem;
  z-index: 40;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f03e56;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(240, 62, 86, 0.45);
  text-decoration: none;
}
.ot-car-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.ot-car-lightbox img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}
.ot-car-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.75rem;
  border-radius: 50%;
  cursor: pointer;
}
.ot-car-similar {
  margin-top: 2rem;
  padding: 1.5rem 1rem 2rem;
  background: #ebebeb;
  border-radius: 16px;
}
.ot-car-similar h2 {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.ot-car-similar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .ot-car-similar-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .ot-car-similar-grid { grid-template-columns: repeat(3, 1fr); }
}
.ot-car-similar-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  text-decoration: none;
  color: inherit;
}
.ot-car-similar-card .relative img,
.ot-car-similar-card > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #f5f5f5;
}
.ot-car-similar-card .relative {
  position: relative;
}
.ot-car-similar-card .relative img {
  aspect-ratio: unset;
  height: 100%;
}
.ot-car-similar-body { padding: 1rem; }
.ot-car-similar-top {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.ot-car-similar-top h3 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
}
.ot-car-similar-top span {
  font-size: 0.6875rem;
  color: #999;
  background: #f5f5f5;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  flex-shrink: 0;
}
.ot-car-similar-price {
  color: #f03e56;
  font-weight: 700;
  font-size: 1.125rem;
}
.ot-car-similar-meta {
  font-size: 0.75rem;
  color: #888;
  margin-top: 0.35rem;
}

.ot-kredi-slider {
  accent-color: #f03e56;
  height: 4px;
  width: 100%;
}

[data-ot-tab-panel] { display: none; }
[data-ot-tab-panel].is-active { display: block; }

[data-state="active"] { }
