/* --- Yusuf Deger Front UI Fixes --- */
:root{
  --ui-bg: rgba(12,16,22,.92);
  --ui-line: rgba(255,255,255,.14);
  --ui-text: rgba(255,255,255,.92);
}

/* dropdown okunurluğu */
select{
  color: var(--ui-text) !important;
  background: var(--ui-bg) !important;
  border: 1px solid var(--ui-line) !important;
  border-radius: 14px !important;
}
select option{ background:#0f141d !important; color:#fff !important; }

/* genel mobil taşma fix */
*{ box-sizing:border-box; }
img{ max-width:100%; height:auto; }

/* filtre alanı: wrap + taşma yok */
.filters, .filter, .filters-wrap, .filters-row, .filters-grid{
  max-width: 100%;
}
.filters-row, .filters-wrap{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.filters-row > *, .filters-wrap > *{
  min-width: 160px;
  flex: 1 1 160px;
}

/* ürün kartı görsel link */
a.img-link{ display:block; border-radius:18px; overflow:hidden; }
a.img-link img{ display:block; width:100%; }

@media (max-width: 900px){
  .container, .wrap, main{ padding-left:12px !important; padding-right:12px !important; }
  h1{ font-size:34px !important; line-height:1.15 !important; }
}
@media (max-width: 600px){
  h1{ font-size:28px !important; }
  .filters-row > *, .filters-wrap > *{ min-width: 140px; flex: 1 1 140px; }
  button, .btn{ width:auto; }
}

/* YD_GLOBAL_URL_FAB_START */
/* =========================
   YD: Global URL ikon + ürün adı okunurluk
   ========================= */

:root{
  --yd-accent:#ff8a00;
  --yd-url-bg: rgba(10,14,20,.78);
  --yd-url-br: rgba(255,255,255,.14);
}

/* Her sayfada URL ikonu (sağ alt) */
.yd-url-fab{
  position: fixed;
  right: 14px;
  bottom: 92px; /* whatsapp/telefon butonların varsa üstüne binmesin */
  z-index: 9999;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--yd-url-bg);
  border: 1px solid var(--yd-url-br);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 40px rgba(0,0,0,.45);
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
}
.yd-url-fab:hover{ transform: translateY(-1px); border-color: rgba(255,138,0,.35); }
.yd-url-fab:active{ transform: translateY(0px); }
.yd-url-fab svg{
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  opacity: .95;
}

.yd-url-toast{
  position: fixed;
  right: 14px;
  bottom: 154px;
  z-index: 10000;
  background: rgba(0,0,0,.78);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  padding: 10px 12px;
  border-radius: 12px;
  font: 600 13px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial;
  box-shadow: 0 14px 40px rgba(0,0,0,.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
}

/* ÜRÜN ADI: BEYAZ + her zeminde okunur */
.products .card .cbody .title{
  display:block;
  margin-top:10px;
  padding:10px 12px;
  border-radius:14px;
  background: rgba(0,0,0,.72);
  border: 1px solid rgba(255,255,255,.10);
  color:#fff !important;
  font-weight:900;
  letter-spacing:.2px;
  text-shadow: 0 2px 12px rgba(0,0,0,.95);
  line-height:1.2;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.products .card .cbody .title a{
  color:#fff !important;
  text-decoration:none !important;
  display:block;
}

/* Mobil */
@media (max-width:600px){
  .products .card .cbody .title{
    font-size: 14.5px;
    padding: 11px 12px;
  }
  .yd-url-fab{
    right: 12px;
    bottom: 88px;
    width: 50px;
    height: 50px;
    border-radius: 15px;
  }
}
/* YD_GLOBAL_URL_FAB_END */
