/*
 * Otoürün V147 — bayi ürün kartı satın alma paneli
 * Eski sabit kart yüksekliğini kaldırır; fiyat, adet ve sepet işlemini tek panelde toplar.
 */
:root{
  --ot147-ink:#101925;
  --ot147-blue:#0869cf;
  --ot147-blue-dark:#064d9e;
  --ot147-green:#087a35;
  --ot147-orange:#ff6500;
  --ot147-line:#d6e4f2;
}

body.ot-v147.dealer-store-mode .product-card.has-dealer-price{
  height:auto!important;
  min-height:548px!important;
  overflow:hidden!important;
}

body.ot-v147.dealer-store-mode .product-card.has-dealer-price .ot147-dealer-purchase{
  display:flex!important;
  flex-direction:column!important;
  width:auto!important;
  min-width:0!important;
  height:auto!important;
  min-height:190px!important;
  margin:auto -2px 0!important;
  padding:10px!important;
  gap:7px!important;
  border:1px solid var(--ot147-line)!important;
  border-radius:11px!important;
  background:linear-gradient(155deg,#fbfdff 0%,#f1f7fd 100%)!important;
  box-shadow:inset 0 1px 0 #fff!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}

body.ot-v147.dealer-store-mode .product-card.has-dealer-price .dealer-product-price{
  position:static!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  gap:5px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}

body.ot-v147.dealer-store-mode .product-card.has-dealer-price .dealer-price-title-row{
  display:flex!important;
  align-items:center!important;
  min-width:0!important;
  gap:6px!important;
}

body.ot-v147.dealer-store-mode .product-card.has-dealer-price .dealer-price-icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:23px!important;
  height:23px!important;
  flex:0 0 23px!important;
  border-radius:6px!important;
  background:var(--ot147-blue)!important;
  color:#fff!important;
}

body.ot-v147.dealer-store-mode .product-card.has-dealer-price .dealer-price-label{
  flex:1 1 auto!important;
  min-width:0!important;
  color:#155b9c!important;
  font-size:10.5px!important;
  font-weight:900!important;
  line-height:1.2!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

body.ot-v147.dealer-store-mode .ot147-dealer-status{
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important;
  padding:3px 6px!important;
  border:1px solid #bfe8cd!important;
  border-radius:999px!important;
  background:#edfaf2!important;
  color:#13743d!important;
  font-size:7.5px!important;
  font-weight:900!important;
  line-height:1!important;
  text-transform:uppercase!important;
}
body.ot-v147.dealer-store-mode .ot147-dealer-status i{width:5px;height:5px;border-radius:50%;background:#18b963}

body.ot-v147.dealer-store-mode .product-card.has-dealer-price .dealer-price-meta-row{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  min-width:0!important;
  gap:6px!important;
}
body.ot-v147.dealer-store-mode .product-card.has-dealer-price .dealer-retail-price{
  display:flex!important;
  align-items:center!important;
  gap:4px!important;
  color:#8b99aa!important;
  font-size:9px!important;
  font-weight:750!important;
  line-height:1.15!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
body.ot-v147.dealer-store-mode .dealer-retail-price small{color:#8b99aa;font-size:7.5px;text-decoration:none!important}
body.ot-v147.dealer-store-mode .dealer-retail-price del{text-decoration:line-through!important}
body.ot-v147.dealer-store-mode .product-card.has-dealer-price .dealer-saving-badge{
  display:inline-flex!important;
  align-items:center!important;
  max-width:116px!important;
  padding:3px 6px!important;
  border:1px solid #c5e9d2!important;
  border-radius:999px!important;
  background:#ebf9f0!important;
  color:#13783f!important;
  font-size:7.5px!important;
  font-weight:850!important;
  line-height:1.2!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

body.ot-v147.dealer-store-mode .product-card.has-dealer-price .dealer-price-main{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-rows:auto auto!important;
  align-items:end!important;
  width:100%!important;
  min-height:39px!important;
  gap:0 6px!important;
  overflow:visible!important;
}
body.ot-v147.dealer-store-mode .ot147-dealer-price-caption{
  grid-column:1/-1!important;
  color:#62758a!important;
  font-size:7.5px!important;
  font-weight:750!important;
  line-height:1.1!important;
}
body.ot-v147.dealer-store-mode .product-card.has-dealer-price .dealer-product-price .dealer-price-value,
body.ot-v147.dealer-store-mode .product-card.has-dealer-price .dealer-product-price .price{
  display:block!important;
  width:auto!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  color:var(--ot147-green)!important;
  font-size:25px!important;
  font-weight:950!important;
  line-height:1!important;
  letter-spacing:-.6px!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-shadow:none!important;
}
body.ot-v147.dealer-store-mode .product-card.has-dealer-price .dealer-tax-note{
  display:block!important;
  margin:0 0 2px!important;
  color:#708196!important;
  font-size:7.5px!important;
  font-weight:700!important;
  line-height:1.1!important;
  text-align:right!important;
  white-space:nowrap!important;
}

body.ot-v147.dealer-store-mode .ot147-dealer-perks{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:5px!important;
  padding-top:6px!important;
  border-top:1px dashed #cfdeec!important;
  color:#52677d!important;
  font-size:7.5px!important;
  font-weight:750!important;
  white-space:nowrap!important;
}
body.ot-v147.dealer-store-mode .ot147-dealer-perks span{display:inline-flex;align-items:center;gap:4px;min-width:0}
body.ot-v147.dealer-store-mode .ot147-dealer-perks i{width:5px;height:5px;flex:0 0 5px;border-radius:50%;background:#18b963}

body.ot-v147.dealer-store-mode .ot147-dealer-add-form{
  position:static!important;
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
}
body.ot-v147.dealer-store-mode .ot147-dealer-actions{
  display:grid!important;
  grid-template-columns:63px minmax(0,1fr)!important;
  align-items:stretch!important;
  width:100%!important;
  min-width:0!important;
  gap:7px!important;
}
body.ot-v147.dealer-store-mode .ot147-qty{
  display:grid!important;
  grid-template-columns:19px 25px 19px!important;
  width:63px!important;
  height:39px!important;
  border:1px solid #cbd9e7!important;
  border-radius:7px!important;
  background:#fff!important;
  overflow:hidden!important;
}
body.ot-v147.dealer-store-mode .ot147-qty button,
body.ot-v147.dealer-store-mode .ot147-qty input{
  display:grid!important;
  place-items:center!important;
  width:100%!important;
  min-width:0!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--ot147-ink)!important;
  font-family:inherit!important;
  font-size:11px!important;
  font-weight:800!important;
  line-height:1!important;
  text-align:center!important;
  box-shadow:none!important;
  appearance:textfield!important;
}
body.ot-v147.dealer-store-mode .ot147-qty button{cursor:pointer!important;color:var(--ot147-blue)!important;font-size:15px!important}
body.ot-v147.dealer-store-mode .ot147-qty button:hover{background:#edf5fd!important}
body.ot-v147.dealer-store-mode .ot147-qty input::-webkit-outer-spin-button,
body.ot-v147.dealer-store-mode .ot147-qty input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}

body.ot-v147.dealer-store-mode .product-card.has-dealer-price .ot147-dealer-add{
  position:static!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-width:0!important;
  height:39px!important;
  min-height:39px!important;
  margin:0!important;
  padding:0 7px!important;
  gap:6px!important;
  border:0!important;
  border-radius:7px!important;
  background:var(--ot147-blue)!important;
  color:#fff!important;
  font-size:9.5px!important;
  font-weight:950!important;
  line-height:1!important;
  letter-spacing:.035em!important;
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
  cursor:pointer!important;
  box-shadow:0 6px 13px rgba(8,105,207,.18)!important;
}
body.ot-v147.dealer-store-mode .product-card.has-dealer-price .ot147-dealer-add:hover{background:var(--ot147-orange)!important}
body.ot-v147.dealer-store-mode .product-card.has-dealer-price .ot147-dealer-add:disabled{background:#9ba8b7!important;box-shadow:none!important;cursor:not-allowed!important}

body.ot-v147.dealer-store-mode .ot147-dealer-detail{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  color:#7a8999!important;
  font-size:7.5px!important;
  font-weight:700!important;
  line-height:1.15!important;
}
body.ot-v147.dealer-store-mode .ot147-dealer-detail a{color:#155b9c!important;font-weight:850!important;text-decoration:none!important;white-space:nowrap!important}
body.ot-v147.dealer-store-mode .ot147-dealer-detail a:hover{color:var(--ot147-orange)!important}

@media (min-width:992px) and (max-width:1250px){
  body.ot-v147.dealer-store-mode .product-card.has-dealer-price{min-height:540px!important}
  body.ot-v147.dealer-store-mode .ot147-dealer-perks span:last-child{display:none!important}
  body.ot-v147.dealer-store-mode .product-card.has-dealer-price .dealer-saving-badge{max-width:88px!important}
  body.ot-v147.dealer-store-mode .product-card.has-dealer-price .dealer-product-price .dealer-price-value,
  body.ot-v147.dealer-store-mode .product-card.has-dealer-price .dealer-product-price .price{font-size:22px!important}
}

@media (max-width:991px){
  body.ot-v147.dealer-store-mode .product-card.has-dealer-price{height:auto!important;min-height:500px!important}
  body.ot-v147.dealer-store-mode .product-card.has-dealer-price .ot147-dealer-purchase{min-height:184px!important;margin:auto 0 0!important;padding:9px!important}
  body.ot-v147.dealer-store-mode .product-card.has-dealer-price .dealer-product-price .dealer-price-value,
  body.ot-v147.dealer-store-mode .product-card.has-dealer-price .dealer-product-price .price{font-size:23px!important}
}

@media (max-width:520px){
  body.ot-v147.dealer-store-mode .product-card.has-dealer-price{min-height:505px!important;padding-left:8px!important;padding-right:8px!important}
  body.ot-v147.dealer-store-mode .product-card.has-dealer-price .ot147-dealer-purchase{margin:auto 0 0!important;padding:8px!important;gap:6px!important}
  body.ot-v147.dealer-store-mode .ot147-dealer-status,
  body.ot-v147.dealer-store-mode .ot147-dealer-perks span:last-child,
  body.ot-v147.dealer-store-mode .ot147-dealer-detail>span{display:none!important}
  body.ot-v147.dealer-store-mode .product-card.has-dealer-price .dealer-price-label{font-size:9.5px!important}
  body.ot-v147.dealer-store-mode .product-card.has-dealer-price .dealer-saving-badge{display:none!important}
  body.ot-v147.dealer-store-mode .product-card.has-dealer-price .dealer-product-price .dealer-price-value,
  body.ot-v147.dealer-store-mode .product-card.has-dealer-price .dealer-product-price .price{font-size:20px!important;letter-spacing:-.35px!important}
  body.ot-v147.dealer-store-mode .ot147-dealer-actions{grid-template-columns:57px minmax(0,1fr)!important;gap:5px!important}
  body.ot-v147.dealer-store-mode .ot147-qty{grid-template-columns:17px 23px 17px!important;width:57px!important;height:37px!important}
  body.ot-v147.dealer-store-mode .product-card.has-dealer-price .ot147-dealer-add{height:37px!important;min-height:37px!important;font-size:8.5px!important}
  body.ot-v147.dealer-store-mode .product-card.has-dealer-price .ot147-dealer-add svg{display:none!important}
  body.ot-v147.dealer-store-mode .ot147-dealer-detail{justify-content:flex-end!important}
}
