/* Sepet28 çerez tercih merkezi. Renkler sitenin yeşil tonunu izler; mobilde bildirim ekranın en fazla yaklaşık %15'ini kaplar. */
.s28-cerez[hidden], .s28-cerez-panel[hidden] { display: none !important; }

.s28-cerez {
  position: fixed; left: 20px; bottom: 20px; z-index: 99990; width: min(440px, calc(100vw - 40px));
  background: #fff; color: #14201B; border: 1px solid #E2E6E2; border-radius: 20px; overflow: hidden;
  box-shadow: 0 18px 50px -12px rgba(20, 32, 27, .35), 0 2px 8px rgba(20, 32, 27, .08);
  font-size: 14px; line-height: 1.45; animation: s28-cerez-gir .4s cubic-bezier(.2, .8, .2, 1) both;
}
.s28-cerez::before { content: ""; display: block; height: 5px; background: linear-gradient(90deg, #0B4F43, #62D2A2 60%, #9A5B26); }
@keyframes s28-cerez-gir { from { transform: translateY(26px); opacity: 0; } to { transform: none; opacity: 1; } }
.s28-cerez-ic { padding: 18px 20px 20px; display: grid; gap: 14px; }
.s28-cerez-metin { min-width: 0; }
.s28-cerez-metin strong { display: block; font-size: 17px; letter-spacing: -.01em; margin-bottom: 4px; }
.s28-cerez-metin p { margin: 0; color: #4C5A53; }
.s28-cerez-metin a { color: #0B4F43; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.s28-cerez-dugmeler { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

/* Üç düğme eşit ağırlıkta: reddetmek kabul etmek kadar kolay */
.s28-btn {
  min-height: 44px; padding: 0 12px; border-radius: 12px; cursor: pointer; font: inherit; font-weight: 600;
  background: #fff; color: #0B4F43; border: 1.5px solid #0B4F43;
}
.s28-btn:hover { background: #E5F0EC; }
.s28-btn:focus-visible, .s28-cerez-baglanti button:focus-visible, .s28-anahtar input:focus-visible { outline: 3px solid #0E6354; outline-offset: 2px; }
.s28-btn-ana { background: #0B4F43; color: #fff; }
.s28-btn-ana:hover { background: #0E6354; }

.s28-cerez-panel {
  position: fixed; inset: 0; z-index: 99999; background: rgba(20, 32, 27, .55);
  display: flex; align-items: center; justify-content: center; padding: 16px; overflow-y: auto;
}
.s28-cerez-kutu {
  background: #fff; color: #14201B; border-radius: 18px; max-width: 560px; width: 100%; max-height: 100%;
  overflow-y: auto; padding: 20px; font-size: 15px;
}
.s28-cerez-kutu h2 { margin: 0 0 12px; font-size: 20px; }
.s28-cerez-satir { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 0; border-top: 1px solid #E2E6E2; }
.s28-cerez-satir p { margin: 2px 0 0; color: #4C5A53; font-size: 14px; }
.s28-anahtar { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; min-height: 40px; font-weight: 600; }
.s28-anahtar input { width: 22px; height: 22px; accent-color: #0B4F43; }
.s28-cerez-kutu .s28-cerez-dugmeler { margin-top: 12px; justify-content: flex-end; }

.s28-cerez-baglanti { text-align: center; padding: 8px 16px 16px; font-size: 13px; }
.s28-cerez-baglanti button { background: none; border: 0; color: #4C5A53; text-decoration: underline; cursor: pointer; font: inherit; min-height: 40px; padding: 0 12px; }

@media (max-width: 640px) {
  .s28-cerez { left: 0; right: 0; bottom: 0; width: auto; border-radius: 18px 18px 0 0; border-width: 1px 0 0; font-size: 13px; }
  .s28-cerez::before { height: 4px; }
  .s28-cerez-ic { padding: 12px 14px calc(14px + env(safe-area-inset-bottom)); gap: 10px; }
  .s28-cerez-metin strong { font-size: 15px; margin-bottom: 2px; }
  .s28-cerez-dugmeler .s28-btn { padding: 0 6px; font-size: 13px; min-height: 42px; }
  .s28-cerez-kutu { padding: 16px; }
  .s28-cerez-satir { align-items: flex-start; flex-direction: column; gap: 4px; }
  .s28-cerez-kutu .s28-cerez-dugmeler { display: flex; flex-wrap: wrap; }
  .s28-cerez-kutu .s28-cerez-dugmeler .s28-btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) { .s28-cerez, .s28-cerez-panel { transition: none; animation: none; } }
