    .filter-row{
      display:flex;
      gap:12px;
      flex-wrap:wrap;
      align-items:center;
      margin-top: 12px;
    }
    .filterbar{
      display:flex;
      gap:10px;
      flex-wrap:wrap;
      align-items:center;
    }
    .select{
      border: 1px solid rgba(0,0,0,.14);
      border-radius: 999px;
      padding: 10px 14px;
      background: rgba(255,255,255,.72);
      font-weight: 800;
      font-size: 12px;
      letter-spacing: .04em;
      text-transform: uppercase;
      color: rgba(12,14,18,.85);
      outline:none;
    }
    .search:hover,
    .select:hover{
      background: rgba(255,255,255,.82);
      border-color: rgba(var(--brand-rgb), .06);
    }

    .search{
      flex: 1 1 260px;
      border: 1px solid rgba(0,0,0,.14);
      border-radius: 999px;
      padding: 10px 14px;
      background: rgba(255,255,255,.72);
      border: 1px solid rgba(12,14,18,.12);
      outline:none;
      transition: border-color 200ms var(--ease);
    }
    .search:focus{ border-color: rgba(var(--brand-rgb), .50); }

    .product-card{
      display:block;
      height:100%;
    }

    /* Görsel yoksa placeholder */
    .ph{
      width: 100%;
      height: 160px;
      border-radius: 16px;
      border: 1px dashed rgba(0,0,0,.14);
      display:flex;
      align-items:center;
      justify-content:center;
      font-weight: 900;
      letter-spacing: .18em;
      color: rgba(12,14,18,.35);
      text-transform: uppercase;
      background: linear-gradient(180deg, rgba(var(--brand-rgb), .06), rgba(255,255,255,1));
    }
    .pmodal{ position:fixed; inset:0; z-index: 99999; display:none; }
.pmodal.open{ display:block; }

.pmodal-backdrop{
  position:absolute; inset:0;
  background: rgba(0,0,0,.55);
}

.pmodal-dialog{
  position:relative;
  width:min(1800px, calc(100% - 28px));
  max-height: calc(100vh - 48px);
  height: auto;
  margin: 24px auto;
  background:#fff;
  border-radius: 22px;
  border: 1px solid rgba(0,0,0,.12);
  box-shadow: 0 30px 80px rgba(0,0,0,.30);
  overflow:hidden;
}

.pmodal-x{
  position:absolute;
  top: 10px; right: 12px;
  width: 42px; height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.14);
  background:#fff;
  cursor:pointer;
  font-size: 22px;
  line-height: 1;
}

.pmodal-grid{
  display:grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
}

.pmodal-media{
  padding: 18px;
  /* background: var(--brand); */
  /* background: linear-gradient(180deg, var(--brand2), rgba(var(--brand-rgb), 5)); */
  border-right: 1px solid rgba(0,0,0,.08);
  display:flex;
  align-items:center;
  justify-content:center;
  min-height: 420px;
}

.pmodal-media img{
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  margin: auto;
}


@media (max-width: 860px){
  .pmodal-dialog{
    max-height: calc(100vh - 24px);
    margin: 12px auto;
  }
  .pmodal-body{
    max-height: none;
    overflow: visible;
  }
}

.pmodal-body{
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 22px 22px 26px;
}
.pmodal-kicker{
  display:inline-block;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(12,14,18,.68);
  margin-bottom: 10px;
}
.pmodal-title{ margin:0 0 8px; font-size: 28px; letter-spacing: -0.02em; }
.pmodal-sub{ margin:0 0 16px; color: var(--muted); line-height: 1.7; }

.pmodal-block{ margin-top: 14px; }
.pmodal-block h3{
  margin:0 0 6px;
  font-size: 24px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(12,14,18,.9);
}
.pmodal-block p{ margin:0; line-height: 1.75; color: rgba(12,14,18,.74); }

.pmodal-nutri{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}
.pmodal-nutri div{
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(0,0,0,.02);
}
.pmodal-nutri strong{ display:block; font-size: 12px; color: rgba(12,14,18,.70); }
.pmodal-nutri span{ display:block; font-weight: 900; margin-top: 4px; }

@media (max-width: 860px){
  .pmodal-dialog{ margin: 14px auto; }
  .pmodal-grid{ grid-template-columns: 1fr; }
  .pmodal-media{ min-height: 240px; border-right: none; border-bottom: 1px solid rgba(0,0,0,.08); }
}

/* =========================
   PRODUKTE — page background band
   ========================= */
.produkte-band{
  position: relative;
  overflow: hidden;
  padding: clamp(14px, 2vw, 18px) 0 clamp(56px, 7vw, 90px);
}

/* background image */
.produkte-band::before{
  content:"";
  position:absolute;
  inset:0;
  background: url("../img/slider/slider_3.avif") center/cover no-repeat;
  transform: scale(1.04);
  filter: saturate(1.10) contrast(1.08);
  z-index:0;
}

/* overlay (readability) */
.produkte-band::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 520px at 20% 10%, rgba(var(--brand-rgb), .16), rgba(0,0,0,0) 60%),
    linear-gradient(180deg, rgba(255,255,255,.68), rgba(255,255,255,.92));
  z-index:1;
}

.produkte-band .container{
  position: relative;
  z-index: 2;
}

/* =========================
   PRODUKTE — filter panel
   ========================= */
.produkte-filters{
  position: sticky;
  top: 118px;
  z-index: 5;

  /* ürün alanına tam otursun */
  width: 100%;
  max-width: 100%;
  margin: 0 0 18px;

  /* panel görünümü kalksın */
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

/* Filter satırını temiz bar gibi göster */
.produkte-filters .filter-row{
  width: 100%;
  margin: 0 0 10px;
}

/* Arama + select aynı hizada ve grid kadar */
.produkte-filters .search{
  flex: 1 1 420px;   /* daha geniş arama */
  min-width: 260px;
}

.produkte-filters .select{
  flex: 0 0 auto;
}

/* kategori butonlarının olduğu satır */
.produkte-filters .filterbar{
  width: 100%;
  padding-bottom: 10px;
}


.produkte-filters .filter-row{ margin-top: 0; }

/* =========================
   PRODUKTE — cards
   ========================= */
#productGrid.grid{
  gap: clamp(14px, 2vw, 22px);
}

.product-card{
  border-radius: 22px;
  border: 1px solid rgba(12,14,18,.10);
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 46px rgba(0,0,0,.10);
  overflow:hidden;
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color 240ms var(--ease);
}
.product-card:hover{
  transform: translateY(-5px);
  border-color: rgba(var(--brand-rgb), .35);
  box-shadow: 0 24px 70px rgba(0,0,0,.16);
}

/* media:
/* kart görsel alanı sabit */
.product-card .card-media{
  height: 260px;              /* hepsi aynı yükseklik */
  padding: 18px;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* img: her kartta aynı max ölçü */
.product-card .card-media img{
  width: 100%;
  height: 100%;
  max-width: 320px;           
  max-height: 210px;          
  object-fit: contain;        /* kırpma yok */
  object-position: center;
  display:block;
  
}

.product-card .card-media .ph{
  width: 100%;
  height: 100%;
  border-radius: 16px;
}


.product-card:hover .card-media img{
  transform: scale(1.03) rotate(-0.2deg);
}

/* body */
.product-card .card-body h3{
  font-size: 1.08rem;
  letter-spacing: -0.2px;
}
.product-card .meta{
  opacity: .9;
}

/* HERO layout refine (Produkte) */
.hero-grid--produkte{
  align-items: start;
  gap: clamp(18px, 3vw, 28px);
}

/* sağ kart iç düzen */
.hero-card--produkte{
  padding: 18px 18px 16px;
}

.hero-card--produkte .hero-card-head{
  display:flex;
  justify-content:flex-end;
}

.hero-mini-title{
  margin: 10px 0 8px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(12,14,18,.70);
}

.hero-bullets{
  margin: 0;
  padding-left: 18px;
  color: rgba(12,14,18,.84);
  line-height: 1.7;
}

.hero-card-actions{
  margin-top: 14px;
  display:flex;
  justify-content:flex-end;
}

/* badge’leri daha “hero” gibi hizala */
.hero-badges{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

/* sol tarafta küçük badge satırı istersen */
.hero-badges--inline{
  margin-top: 12px;
  justify-content:flex-start;
  opacity: .95;
}

/* mobilde sağ kart altına düzgün insin */
@media (max-width: 920px){
  .hero-card--produkte .hero-card-head{
    justify-content:flex-start;
  }
  .hero-card-actions{
    justify-content:flex-start;
  }
}

/* PRODUKTE: section-head flex davranışı yüzünden filtre dar kalıyor */
.produkte-band .section-head{
  align-items: stretch; /* yükseklik değil ama düzeni düzeltir */
}

.produkte-band .section-head > div{
  flex: 1 1 auto;   /* <-- kritik */
  min-width: 0;
  width: 100%;
}

.produkte-band .section-head > div > .produkte-filters{
  width: 100%;
}

/* Filter buttons — soft / premium */
.filter-btn{
  border: 1px solid rgba(12,14,18,.12);
  background: rgba(255,255,255,.72);
  color: rgba(12,14,18,.88);
  padding: 8px 12px;
  border-radius: 999px;

  font-weight: 800;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;

  cursor: pointer;

  /* daha yumuşak geçiş */
  transition:
    transform 180ms var(--ease),
    box-shadow 180ms var(--ease),
    border-color 180ms var(--ease),
    background 180ms var(--ease),
    color 180ms var(--ease);
  box-shadow: 0 8px 18px rgba(0,0,0,.06);
  backdrop-filter: blur(8px);
}

/* Hover: boyama yok, sadece “premium feedback” */
.filter-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(var(--brand-rgb), .28);
  background: rgba(255,255,255,.82);          /* çok hafif */
  box-shadow: 0 14px 26px rgba(0,0,0,.10);
}

/* Basılı durum */
.filter-btn:active{
  transform: translateY(0);
  box-shadow: 0 8px 16px rgba(0,0,0,.08);
}

/* Aktif: tam kırmızı dolgu yerine “soft active” */
.filter-btn.is-active{
  background: rgba(var(--brand-rgb), 1);
  border-color: rgba(var(--brand-rgb), .38);
  color: rgba(255, 255, 255, 1);
  box-shadow: 0 14px 30px rgba(var(--brand-rgb), .27);
}

/* Aktif hover: biraz güçlendir ama “boyama” gibi olmasın */
.filter-btn.is-active:hover{
  background: rgba(var(--brand-rgb), .18);
  border-color: rgba(var(--brand-rgb), .48);
}

/* Klavye ile gezenler için */
.filter-btn:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .18), 0 14px 26px rgba(0,0,0,.10);
}

/* Hareketi azalt */
@media (prefers-reduced-motion: reduce){
  .filter-btn{ transition: none; }
}

/* =========================
   PMODAL — 2 kolon + sadece sağ içerik scroll
   ========================= */

.pmodal{ 
  position:fixed; inset:0; z-index:99999; 
  display:none;
}
.pmodal.open{ display:block; }

.pmodal-dialog{
  width:min(1800px, calc(100% - 28px));
  height: calc(100vh - 48px);     /* <-- kritik: sabit yükseklik */
  max-height: calc(100vh - 48px);
  margin: 24px auto;
  overflow: hidden;               /* köşeler düzgün kalsın */
  display:flex;                   /* içeride grid’i tam yüksekliğe yay */
  flex-direction: column;
}

/* Grid her zaman dialog yüksekliğini doldursun */
.pmodal-grid{
  display:grid;
  grid-template-columns: 1fr 1.1fr;  /* solda resim / sağda bilgi */
  height: 100%;
  min-height: 0;                    /* <-- kritik: scroll için */
}

/* Sol taraf: resim alanı sabit, ortalı */
.pmodal-media{
  min-height: 0;                    /* <-- kritik */
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 18px;
  border-right: 1px solid rgba(0,0,0,.08);
}

.pmodal-media img{
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 120px);  /* taşmayı engelle */
  height: auto;
  object-fit: contain;
}

/* Sağ taraf: sadece burası scroll */
.pmodal-body{
  height: 100%;
  min-height: 0;                    /* <-- kritik */
  overflow: auto;                   /* <-- kritik */
  padding: 22px 22px 26px;
}

/* Mobil: tek kolon, dialog scroll yerine body scroll */
@media (max-width: 860px){
  .pmodal-dialog{
    height: calc(100vh - 24px);
    max-height: calc(100vh - 24px);
    margin: 12px auto;
  }
  .pmodal-grid{
    grid-template-columns: 1fr;
  }
  .pmodal-media{
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,.08);
  }
}

/* =========================
   PMODAL FIX — small screens: always usable
   ========================= */

/* Dialog her ekranda viewport’a sığsın */
.pmodal-dialog{
  height: calc(100svh - 48px);     /* svh: mobil tarayıcı barlarına daha stabil */
  max-height: calc(100svh - 48px);
  overflow: hidden;               /* köşeler temiz */
}

/* Grid dialog yüksekliğini doldursun, scroll çalışsın */
.pmodal-grid{
  height: 100%;
  min-height: 0;                  /* kritik */
}

/* Sağ taraf her zaman scroll alabilsin */
.pmodal-body{
  height: 100%;
  min-height: 0;                  /* kritik */
  overflow: auto;                 /* kritik */
  -webkit-overflow-scrolling: touch;
  padding-bottom: 28px;           /* alt nefes */
}

/* Görsel: genel olarak biraz daha küçük */
.pmodal-media img{
  max-width: 420px;               /* 520 -> 420 */
  max-height: calc(100svh - 180px);
}

/* Mobil: tek kolon + üstte görsel daha kısa */
@media (max-width: 860px){
  .pmodal-dialog{
    height: calc(100svh - 24px);
    max-height: calc(100svh - 24px);
    margin: 12px auto;
  }

  .pmodal-body{
    max-height: none;
    overflow: auto;               /* visible değil */
  }

  .pmodal-media{
    min-height: 0;
    padding: 12px;
  }

  .pmodal-media img{
    max-width: 320px;             /* mobilde daha küçük */
    max-height: 260px;            /* görsel yüksekliği sınırlı */
  }
}

/* Daha da küçük telefonlar */
@media (max-width: 420px){
  .pmodal-media img{
    max-width: 280px;
    max-height: 220px;
  }
}

/* Modal acikken back-to-top gizle */
body.modal-open .to-top{
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(10px) !important;
}

