/*
  Page-local styles for stok-motorlar.html
  (No global overrides. Everything is scoped under .stokPage)
*/
.stokPage .stokHeroV2{
  background:
    radial-gradient(900px 420px at 50% 28%, rgba(0,160,140,0.14), rgba(0,160,140,0) 60%),
    linear-gradient(180deg, #ffffff 0%, #f4f6fa 100%);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.stokPage .stokSectionHead {
  margin-bottom: 14px;
}

.stokPage .stokGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stokPage .stokCard {
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
  overflow: hidden;
}

.stokPage .stokCardTop {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 14px 10px;
}

.stokPage .stokModel {
  font-weight: 900;
  letter-spacing: .01em;
  font-size: 18px;
}

.stokPage .stokPills {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.stokPage .stokPill {
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  white-space: nowrap;
}

.stokPage .stokPill.ok {
  border-color: rgba(70, 255, 160, .35);
}

.stokPage .stokPill.warn {
  border-color: rgba(255, 200, 70, .35);
}

.stokPage .stokPill.soon {
  border-color: rgba(235, 64, 64, 0.35);
}

.stokPage .stokPill.loc {
  opacity: .9;
}

.stokPage .stokCardBody {
  padding: 0 14px 14px;
}

.stokPage .stokMeta {
  display: grid;
  gap: 10px;
}

.stokPage .stokMetaItem span {
  display: block;
  font-size: 12px;
  opacity: .75;
}

.stokPage .stokMetaItem strong {
  display: block;
  font-weight: 700;
  margin-top: 2px;
}

.stokPage .stokCardActions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px 14px 14px;
  border-top: 1px solid rgba(255,255,255,.10);
}

.stokPage .stokAction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
}

.stokPage .stokAction.secondary {
  background: transparent;
}

.stokPage .stokFaq {
  margin-top: 12px;
}

@media (max-width: 980px) {
  .stokPage .stokGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .stokPage .stokGrid {
    grid-template-columns: 1fr;
  }
  .stokPage .stokCardActions {
    grid-template-columns: 1fr;
  }
}




/* Minimal top image area (premium frame) */
.stokPage .stokCard-media {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  /* premium frame */
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: radial-gradient(120% 120% at 30% 20%, #ffffff 0%, #f3f5f8 55%, #eef1f6 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
}
.stokPage .stokCard-media img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
  transform: scale(1.50);
}

.stokPage .stokCard:hover .stokCard-media img {
  transform: scale(1.75);
}


/* Card CTA buttons (reuse hero button styles) */

.stokPage .stokCardActions{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px 14px 14px;
  border-top: 1px solid rgba(255,255,255,.10);
}

.stokPage .stokCardActions .cardCtaBtn{
  width: 100%;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;

  width: 100%;
}

/* keep mobile single column */
@media (max-width: 640px){
  .stokPage .stokCardActions{
    grid-template-columns: 1fr;
  }
}


/* Model single line with ellipsis */
.stokPage .stokCardTop{
  min-width: 0;
}

.stokPage .stokModel{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}


/* Centered model under image */
.stokPage .stokModel{
  text-align: center;
  margin: 12px 0 6px;
  font-weight: 800;
}


/* Visual fix: stack image -> model -> pills */
.stokPage .stokCardTop{
  display: block;
  padding: 14px 14px 10px;
  text-align: center;
}

.stokPage /* ensure ellipsis still works when centered */
.stokPage .stokModel{
  display: block;
  max-width: 100%;
  margin: 12px auto 6px;
}


/* Warranty pill overlay */
.stokPage .stokCard-media{
  position: relative;
}



/* Optional: center overlay variant */
.stokPage .stokWarrantyPill.isCenter{
  top: 50%;
  left: 50%;
  right: auto;
  transform: translate(-50%, -50%);
}




/* Warranty pill row above image */
.stokPage .stokCardBadgeRow{
  display: flex;
  justify-content: flex-end;
  padding: 10px 14px 0;
}

.stokPage .stokWarrantyPill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #1B3C88 0%, #142F6E 100%);
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(20,47,110,0.25);
}


/* keep media purely for the image */
.stokPage .stokCard-media{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* HERO FIX v6 – kompakt görsel + doğal oran (kırpmasız yerleşim) */
.stokPage .heroMedia{
  overflow: hidden;
  border-radius: 24px;
}

.stokPage .heroMediaImg{
  display: block;
  width: 100%;
  height: auto;
}

/* HERO BOYUT TUNING v2 – kırpmasız, daha küçük görünüm */
/* 1) Hero görsel alanını geniş ekranda daralt (kırpma yok) */
.stokHeroV2 .heroMedia{
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

/* 2) Global hero img kuralları varsa ez (kırpma/cover olmasın) */
.stokHeroV2 .heroMediaImg{
  width: 100%;
  height: auto !important;
  object-fit: contain !important;
}

/* 3) Hero bloğunun dikey boşluğunu biraz azalt */
.stokHeroV2 .pageHeroInner{
  padding-top: 48px;
  padding-bottom: 48px;
}

@media (max-width: 768px){
  .stokHeroV2 .pageHeroInner{
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .stokHeroV2 .heroMedia{
    max-width: 100%;
  }
}

/* Price list CTA under hero buttons */
.stokPage .priceListCta{
  margin-top: 10px;
  width: 100%;
  justify-content: center;
  text-align: center;
  white-space: normal;
  line-height: 1.2;
}








.stokCardTop img{
  display:block;
}

/* Stock card pills row (above image) */
.stokCardBadgeRow{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:8px;
  margin-bottom:10px;
}

.stokPills{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px;
}

.stokPill{
  font-size:11px;
  font-weight:700;
  line-height:1;
  padding:6px 10px;
  border-radius:999px;
  color:#ffffff;
  box-shadow:0 6px 18px rgba(0,0,0,0.16);
  letter-spacing:0.2px;
  white-space:nowrap;
}

.stokPill.stok{ background:#16a34a; }
.stokPill.fast{ background:#1D4ED8; } /* Volvo-ish blue */
.stokPill.garanti{ background:#0B1F3A; }

@media (max-width: 560px){
  .stokCardBadgeRow{ margin-bottom:8px; }
  .stokPill{ font-size:10px; padding:5px 9px; }
}


/* Typography hierarchy */
.stokModel{
  font-weight: 800;
  letter-spacing: 0.2px;
  font-size: 18px;
  line-height: 1.15;
  margin-top: 10px;
  margin-bottom: 8px;
  color: #0b1220;
}

.stokMeta{
  display: grid;
  gap: 10px;
}

.stokMetaItem span{
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: rgba(15, 23, 42, 0.55);
  margin-bottom: 2px;
}

.stokMetaItem strong{
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
}

/* Keep "Kısa not" tidy (single line) */
.stokMetaItem:nth-child(2) strong{
  font-weight: 650;
  color: rgba(15, 23, 42, 0.92);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

@media (max-width: 560px){
  .stokModel{ font-size: 17px; }
  .stokMetaItem strong{ font-size: 13px; }
}


/* --- Stock cards CTA polish (premium, compact) --- */
.stokCard .stokCardActions{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:space-between;
  padding-top: 6px;
}

.stokCard .cardCtaBtn{
  flex:1 1 0;
  height:40px;
  padding:0 14px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:600;
  letter-spacing:.01em;
  transition: transform .16s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
}

.stokCard .cardCtaBtn:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

.stokCard .cardCtaBtn:active{
  transform: translateY(0px);
  box-shadow: 0 6px 16px rgba(0,0,0,.10);
}

.stokCard .cardCtaBtn:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(14, 83, 174, .25), 0 10px 24px rgba(0,0,0,.12);
}

/* Keep secondary CTA clean */
.stokCard a.btnLight.cardCtaBtn{
  box-shadow: none;
  border-color: rgba(17,24,39,.12);
  background: rgba(255,255,255,.85);
}

.stokCard a.btnLight.cardCtaBtn:hover{
  border-color: rgba(17,24,39,.18);
  background: #fff;
}

/* WhatsApp CTA icon (subtle) */
.stokCard a.whatsAppCta.cardCtaBtn::before{
  content:"";
  width:14px;
  height:14px;
  margin-right:8px;
  background-repeat:no-repeat;
  background-size:contain;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M20 11.5a8 8 0 0 1-12.9 6.3L4 19l1.2-3.1A8 8 0 1 1 20 11.5z' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M9.5 10.5c.5 2 2 3.5 4 4' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  opacity:.9;
}
