/* app.css - Plain C Minimal + Logo Support */
/* Google Fonts → header.php'de preload ile yükleniyor */

/* ===== Base & Online Siparis Typography ===== */
html,body,button,input,select,textarea{font-family:'Nunito',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
/* Mobil tap highlight kaldır */
*{-webkit-tap-highlight-color:transparent;box-sizing:border-box}
/* Input zoom engellemek için mobilde 16px minimum */
@media(max-width:768px){input,select,textarea{font-size:max(16px,1em)}}
/* Overscroll bounce sadece body'de */
html{overscroll-behavior-y:none}
body{overscroll-behavior-y:auto}
/* Sayfa container */
    .ppr-wrap{max-width:var(--page-max, 1200px);margin:0 auto;padding:var(--content-top-gap, 18px) 14px 100px;}
    .ppr-cats{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0 16px;overflow:auto;padding-bottom:4px}
    .ppr-chip{flex:0 0 auto;border:1px solid rgba(0,0,0,.08);background:#fff;border-radius:999px;padding:10px 14px;font-weight:700;color:#111827;cursor:pointer;user-select:none;white-space:nowrap}
    .ppr-chip.is-active{background:#111827;color:#fff;border-color:#111827}

    /* Fontu her yerde yumuşak tut */
    .ppr-cats, .ppr-chip, .drawer, .drawer *, .sheet, .sheet *{font-family:inherit}

    /* Grid: desktop 3, tablet 2, mobile 2 */
    .ppr-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}

    /* ===== Responsive ürün grid (stabil) ===== */
    .urun-listesi{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
    @media (max-width:1100px){.urun-listesi{grid-template-columns:repeat(3,1fr)}}
    @media (max-width:768px){.urun-listesi{grid-template-columns:repeat(2,1fr);gap:14px}}
    @media (max-width: 980px){.ppr-grid{grid-template-columns:repeat(2,1fr)}}
    @media (max-width: 520px){.ppr-grid{grid-template-columns:repeat(2,1fr);gap:12px}}
    @media (max-width: 360px){.ppr-grid{grid-template-columns:1fr}}
	@media (max-width: 420px){
      .ppr-grid, .urun-listesi{
        grid-template-columns: repeat(2, 1fr) !important;
      }
    }
    .ppr-card{background:#fff;border:1px solid rgba(0,0,0,.06);border-radius:22px;box-shadow:0 10px 25px rgba(16,24,40,.06);overflow:hidden}
    .ppr-img{aspect-ratio: 4/3;background:linear-gradient(180deg, rgba(0,0,0,.03), rgba(0,0,0,.01));display:block;width:100%;object-fit:cover}
    .ppr-body{padding:12px 12px 12px;font-family:'Nunito',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
    .ppr-name{font-size:14px;font-weight:750;color:#111827;margin:0 0 6px;line-height:1.15}
    .ppr-price{font-size:13px;font-weight:750;color:rgba(17,24,39,.78);margin:0 0 10px}

    .ppr-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
    .qty{display:flex;align-items:center;gap:5px;border:1px solid rgba(0,0,0,.08);border-radius:999px;padding:3px 7px;background:#fff}
    .qty button{width:22px;height:22px;border-radius:999px;border:1px solid rgba(0,0,0,.08);background:#fff;cursor:pointer;font-weight:850;font-size:12px;line-height:1;padding:0;display:grid;place-items:center;box-sizing:border-box}
    .qty .n{min-width:10px;text-align:center;font-weight:850;font-size:12px;line-height:1}

    .btn-add{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;border:0;background:#ef4444;color:#fff;padding:9px 12px;font-weight:850;cursor:pointer;box-shadow:0 8px 18px rgba(239,68,68,.22);min-width:48px}
    .btn-add:active{transform:scale(.99)}
    .btn-add .txt{display:inline}
    .btn-add .ico{width:18px;height:18px;border-radius:999px;background:rgba(255,255,255,.22);display:grid;place-items:center;font-weight:950;line-height:1}
    @media (max-width:520px){
      .btn-add{width:42px;height:42px;min-width:42px;padding:0}
      .btn-add .txt{display:none}
    }


    /* Mobilde buton/kutu taşmasını engelle */
    @media (max-width:768px){
      .ppr-row{gap:8px}
      .qty{flex:1 1 auto;min-width:0;padding:3px 6px;gap:5px}
      .qty button{width:22px;height:22px;font-size:12px}
      .qty .n{font-size:12px}
      .btn-add{flex:0 0 auto;width:42px;height:42px;min-width:42px;padding:0}
      .btn-add .ico{width:18px;height:18px}
    }

    /* Drawer cart içi (ui_shared.php ile uyumlu sınıflar) */
    .cart-empty{padding:12px;border:1px dashed rgba(0,0,0,.12);border-radius:14px;color:rgba(17,24,39,.72)}
    .cart-item{display:flex;gap:10px;align-items:center;padding:10px;border:1px solid rgba(0,0,0,.08);border-radius:14px;margin:10px 0;background:#fff}
    .cart-item img{width:48px;height:48px;border-radius:12px;object-fit:cover;background:#f3f4f6;flex:0 0 auto}
    .cart-meta{flex:1;min-width:0}
    .cart-title{font-weight:800;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
    .cart-sub{font-weight:700;font-size:12px;color:rgba(17,24,39,.70)}
    .cart-controls{display:flex;gap:6px;flex:0 0 auto}
    .cart-controls .icon-btn{width:30px;height:30px;border-radius:10px;border:1px solid rgba(0,0,0,.10);background:#fff;box-shadow:none}
    .cart-footer{margin-top:12px;padding-top:10px;border-top:1px solid rgba(0,0,0,.10)}
    .cart-total{display:flex;align-items:center;justify-content:space-between;font-weight:900;margin-bottom:10px}
    .muted{color:rgba(17,24,39,.65);font-weight:800}
    .cart-actions{display:flex;gap:10px;flex-wrap:wrap}
    .btn-primary{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;border:0;background:#111827;color:#fff;padding:10px 14px;font-weight:850;cursor:pointer}
    .btn-ghost{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;border:1px solid rgba(0,0,0,.12);background:#fff;padding:10px 14px;font-weight:850;cursor:pointer}

    /* Toast */
    .toast{position:fixed;left:50%;transform:translateX(-50%);bottom:92px;z-index:9999;
      background:rgba(17,24,39,.92);color:#fff;border-radius:14px;padding:10px 12px;
      font-weight:800;box-shadow:0 16px 40px rgba(0,0,0,.18);display:flex;align-items:center;gap:8px;opacity:0;pointer-events:none;transition:opacity .18s ease, transform .18s ease}
    .toast.show{opacity:1;transform:translateX(-50%) translateY(-6px)}
    .toast .check{width:18px;height:18px;border-radius:6px;background:rgba(34,197,94,.18);display:grid;place-items:center}

/* ===== Shared UI - TEK :root ===== */
:root{
  /* Renkler */
  --bg:#f4f6fb;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#64748b;
  --line:rgba(15,23,42,.10);
  --shadow:0 16px 40px rgba(15,23,42,.10);
  --shadow2:0 10px 26px rgba(15,23,42,.12);
  --red:#ef4444;
  --green:#22c55e;
  
  
  /* Layout standartları */
  --page-max: 1080px;
  --content-top-gap: 10px;
/* Topbar - ui_shared.php ile senkronize */
  --topbar-h: var(--shared-topbar-h, 56px);
  --topbar-bg: rgba(255, 255, 255, 0.92);
  --topbar-blur: blur(20px);
}

body{ background:var(--bg); color:var(--text); }
a{ color:inherit; text-decoration:none; }

/* ================== PLAIN C - MINIMAL TOPBAR ================== */

.shared-topbar{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--topbar-h);
  background: var(--topbar-bg);
  backdrop-filter: var(--topbar-blur);
  -webkit-backdrop-filter: var(--topbar-blur);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.shared-topbar-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
  max-width:var(--page-max, 1400px);
  margin: 0 auto;
  padding: 0 max(16px, env(safe-area-inset-left)) 0 max(16px, env(safe-area-inset-right));
}

/* Brand / Logo */
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

/* Logo görseli */
.brand-logo{
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}

/* Yedek kırmızı nokta (logo yoksa) */
.brand-dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot{
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.brand-text{
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.3px;
  color: #111827;
}

/* Modern Outline İkonlar */
.icon-btn{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.icon-btn:hover{
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

.icon-btn:active{
  transform: scale(0.96);
}

.icon-btn svg{
  width: 22px;
  height: 22px;
  color: #374151;
  stroke-width: 1.8;
}

/* Sağ aksiyonlar - 3 ikon yan yana */
.top-actions{
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-wrap{
  position: relative;
  display: inline-block;
}

/* Badge (sepet sayısı) - Kırmızı vurgu */
.badge{
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

/* ================== MOBİL UYUMLULUK ================== */
@media (max-width: 768px){
  :root{
    --topbar-h: var(--shared-topbar-h, 56px);
  }
  
  .shared-topbar-inner{
    padding: 0 12px;
    gap: 12px;
  }
  
  .brand-logo{
    height: 32px;
    max-width: 120px;
  }
  
  .brand-text{
    font-size: 16px;
  }
  
  .icon-btn{
    width: 40px;
    height: 40px;
  }
  
  .icon-btn svg{
    width: 20px;
    height: 20px;
  }
  
  .badge{
    min-width: 16px;
    height: 16px;
    font-size: 10px;
    top: -1px;
    right: -1px;
  }
}

/* ================== SAYFA İÇERİKLERİ İÇİN TOPBAR BOŞLUĞU ================== */
body{
  padding-top: var(--topbar-h);
}

/* Mevcut sayfa düzenlemeleri */
body[data-page="online"] .ppr-wrap{
  padding-top: var(--content-top-gap, 18px);
}

body[data-page="sepet"] .container.py-4{
  padding-top: var(--content-top-gap, 20px);
}

/* Bottom nav - Mevcut korunuyor */
.shared-bottomnav{
  position:fixed; left:0; right:0; bottom:0;
  z-index:1200;
  display:flex;
  justify-content:center;
  pointer-events:none;
}
.bottomnav-inner{
  pointer-events:auto;
  width:100%;
  background:rgba(17,24,39,.85);
  backdrop-filter: blur(10px);
  border-radius:0;
  padding:6px 10px calc(6px + env(safe-area-inset-bottom));
  display:flex; justify-content:space-around; align-items:center;
  box-shadow:0 18px 45px rgba(0,0,0,.25);
}
.bn-item{
  width:25%;
  display:flex; flex-direction:column; align-items:center; gap:3px;
  color:rgba(255,255,255,.7);
  font-size:10px;
  font-weight:700;
  text-decoration:none;
  padding:4px 2px;
  border-radius:12px;
  transition:color .15s;
  min-height:44px; justify-content:center; /* touch target 44px */
  background:none; border:none; cursor:pointer;
}
.bn-item .bn-ic{ width:24px; height:24px; display:grid; place-items:center; }
.bn-item.active{ color:#fff; }
.bn-item.active .bn-ic{ background:rgba(255,255,255,.12); border-radius:8px; }
.bn-item .bn-ic svg{ width:22px; height:22px; display:block; stroke-width:1.8; }
.bn-item:active{ opacity:.7; transform:scale(.95); }
@media (min-width: 992px){
  .shared-bottomnav{ display:none; }
}

/* Drawer */
.drawer-overlay{
  position:fixed; inset:0;
  background:rgba(15,23,42,.35);
  backdrop-filter: blur(2px);
  opacity:0; pointer-events:none;
  transition:.18s ease;
  z-index:2000;
}
.drawer{
  position:fixed; top:0; right:0; height:100%;
  width:min(420px, 92vw);
  background:rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-left:1px solid var(--line);
  box-shadow:var(--shadow);
  transform:translateX(110%);
  transition:.22s ease;
  z-index:2010;
  display:flex; flex-direction:column;
}
.drawer.open{ transform:translateX(0); }
.drawer-overlay.open{ opacity:1; pointer-events:auto; }

.drawer-hd{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 14px 10px 14px;
  border-bottom:1px solid var(--line);
}
.drawer-hd b{ font-size:16px; }
.drawer-close{
  width:36px; height:36px; border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
  display:grid; place-items:center;
}
.drawer-bd{
  padding:14px;
  overflow:auto;
}
.card-tile{
  background:rgba(255,255,255,.85);
  border:1px solid var(--line);
  border-radius:16px;
  padding:12px;
  box-shadow:0 14px 30px rgba(15,23,42,.06);
}
.tile{
  display:flex; align-items:center; gap:10px;
  padding:10px 10px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.7);
  cursor:pointer;
}
.tile:active{ transform:scale(.99); }
.tile .ic{
  width:34px; height:34px; border-radius:12px;
  background:rgba(15,23,42,.06);
  display:grid; place-items:center;
}
.tile .meta{ display:flex; flex-direction:column; }
.tile .meta b{ font-size:13px; }
.tile .meta span{ font-size:12px; color:var(--muted); }

.input-row{
  display:flex; gap:10px; align-items:center;
}
.input{
  flex:1;
  border:1px solid var(--line);
  border-radius:14px;
  padding:10px 12px;
  outline:none;
  font-size:14px;
  background:rgba(255,255,255,.85);
}
.btn{
  border:0;
  border-radius:14px;
  padding:10px 14px;
  font-weight:800;
  cursor:pointer;
}
.btn-red{ background:var(--red); color:#fff; }
.btn-ghost{ background:rgba(15,23,42,.06); color:var(--text); border:1px solid var(--line); }
.btn-danger{ background:#ef4444; color:#fff; }
.btn-danger:active{ transform:scale(.99); }

.gap-12{ height:12px; }
.small{ font-size:12px; color:var(--muted); }

/* Search Sheet - Açılır Arama */
.search-sheet{
  position:fixed; top:-140px; left:0; right:0;
  z-index:2050;
  background:rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom:1px solid var(--line);
  box-shadow:var(--shadow2);
  transition:.22s ease;
}
.search-sheet.open{ top:0; }
.search-sheet-inner{
  display:flex; gap:12px; align-items:center;
  padding:12px 16px;
  max-width: 600px;
  margin: 0 auto;
}
.search-sheet .input{ 
  border-radius:12px; 
  flex: 1;
}
.search-sheet .btn{ 
  border-radius:12px; 
  padding:10px 16px;
  white-space: nowrap;
}

@media (max-width:420px){
  .shared-topbar-inner{gap:10px; padding:10px max(10px, env(safe-area-inset-right)) 10px max(10px, env(safe-area-inset-left));}
  .top-actions{gap:6px}
  .icon-btn{width:40px;height:40px}
}

/* ===================== SEPET SAYFASI STILLERI ===================== */
/* ... (mevcut sepet stilleri korunuyor) ... */

/* ===== Standard Layout Tokens (non-destructive) ===== */
:root{
  --page-max: 1080px;      /* content width standard */
  --content-top-gap: 10px; /* space between topbar and first block */
}

html{ scrollbar-gutter: stable; }
@supports not (scrollbar-gutter: stable){ html{ overflow-y: scroll; } }


/* === Site Footer === */
.site-footer{
  margin-top: var(--space-5);
  padding: 0 var(--page-px) calc(var(--space-6) + 24px);
}

/* === Premium Footer (dark) === */
/* Arka plan full genişlik, içerik wrap ile kontrol edilir (mobil kesilmeyi engeller). */
.pfoot{ margin-top: 40px; padding: 0; }
.pfoot-inner{
  width: 100%;
  margin: 0;
  background: rgba(17,24,39,.92);
  color: rgba(255,255,255,.92);
  border-radius: 0;
  border: 0;
  box-shadow: none;
}
.pfoot-wrap{
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 32px 0;
}
.pfoot-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 22px; padding: 18px 0 26px; }
.pfoot-brand{ font-weight: 900; letter-spacing: -.02em; font-size: 20px; }
.pfoot-h{ font-weight: 900; font-size: 13px; opacity: .95; margin-bottom: 10px; }
.pfoot-muted{ color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.5; margin-top: 8px; }
.pfoot-hours{ display:flex; align-items:center; gap:10px; color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.5; margin-top: 10px; }
.pfoot-link{ display:block; color: rgba(255,255,255,.82); text-decoration:none; padding: 6px 0; font-weight: 700; font-size: 13px; }
.pfoot-link:hover{ color:#fff; text-decoration: underline; }
.pfoot-social{ display:flex; gap: 10px; margin-top: 14px; }
.pfoot-ic{ width: 38px; height: 38px; border-radius: 999px; display:flex; align-items:center; justify-content:center; text-decoration:none; color:#fff;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.10);
}
.pfoot-ic-t{ font-weight: 900; font-size: 12px; letter-spacing: .02em; }
.pfoot-svg{ width: 18px; height: 18px; }
.pfoot-mini{ width: 16px; height: 16px; }
.pfoot-ic:hover{ background: rgba(255,255,255,.12); }
.pfoot-phone{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  font-weight: 900;
  font-size: clamp(18px, 3.8vw, 22px);
  margin-top: 4px;
  color: rgba(255,255,255,.92);
  text-decoration: none;
}
.pfoot-phone-t{ display:inline-block; }
.pfoot-phone:hover{ text-decoration: underline; }
.pfoot-cta{ display:flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.pfoot-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  height: 40px; padding: 0 14px; border-radius: 999px;
  background: #fff; color: #111827; font-weight: 900; font-size: 13px; text-decoration:none;
  border: 1px solid rgba(0,0,0,.12);
}
.pfoot-btn.ghost{ background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.18); }
.pfoot-btn:hover{ transform: translateY(-1px); }
@media (max-width:520px){ .pfoot-btn:hover{ transform:none; } }
.pfoot-bottom{ display:flex; justify-content:space-between; gap: 14px; flex-wrap:wrap;
  padding: 14px 0 18px; border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.70); font-size: 12px;
}
@media (max-width: 900px){
  .pfoot-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px){
  .pfoot-wrap{ padding: 16px 16px 0; }
  .pfoot-grid{ grid-template-columns: 1fr; }
  /* mobil alt bar ile çakışmasın (görsel boşluk değil, içerik güvenli alanı) */
  .pfoot-bottom{ padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
}
.site-footer-inner{
  border: 1px solid rgba(0,0,0,.06);
  background: rgba(255,255,255,.70);
  backdrop-filter: blur(10px);
  border-radius: var(--r-xl);
  box-shadow: 0 14px 30px rgba(15,23,42,.06);
  padding: var(--space-4);
}
.foot-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.foot-title{
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 16px;
  line-height: 1.2;
}
.foot-sub{
  margin-top: 6px;
  color: rgba(15,23,42,.70);
  font-size: 13px;
  line-height: 1.4;
}
.foot-cta{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.site-footer .btn{
  display:inline-flex; align-items:center; justify-content:center;
  height: 40px;
  padding: 0 14px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 13px;
  text-decoration:none;
  border: 1px solid rgba(0,0,0,.10);
  background:#fff;
  color: #0f172a;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 10px 20px rgba(15,23,42,.06);
}
.site-footer .btn:hover{ transform: translateY(-1px); box-shadow: 0 14px 28px rgba(15,23,42,.10); }
.site-footer .btn:active{ transform: translateY(0px); }
.site-footer .btn-wa{
  border-color: rgba(34,197,94,.35);
  background: rgba(34,197,94,.12);
}
.site-footer .btn-ghost{
  background: rgba(255,255,255,.55);
}
.foot-links{
  display:flex;
  flex-wrap:wrap;
  gap: 10px 14px;
  padding: var(--space-3) 0;
}
.foot-link{
  color: rgba(15,23,42,.80);
  font-weight: 700;
  font-size: 13px;
  text-decoration:none;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(15,23,42,.04);
  border: 1px solid rgba(0,0,0,.06);
}
.foot-link:hover{ background: rgba(15,23,42,.06); }
.foot-bottom{
  display:flex;
  justify-content:space-between;
  gap: var(--space-3);
  flex-wrap:wrap;
  padding-top: var(--space-2);
  border-top: 1px solid rgba(0,0,0,.06);
  color: rgba(15,23,42,.70);
  font-size: 12px;
}
@media (max-width: 520px){
  .foot-top{ flex-direction: column; }
  .site-footer{ padding-left: var(--page-px); padding-right: var(--page-px); }
}


/* === FULL EDGE FOOTER OVERRIDE (0/0) === */
html, body { overflow-x: clip; }
@supports not (overflow-x: clip){
  html, body { overflow-x: hidden; }
}
body { margin: 0; }

/*
  Full-edge footer WITHOUT horizontal scroll.
  IMPORTANT: Only break out the OUTER wrapper (.pfoot).
  If you break out both .pfoot and .pfoot-inner, the footer shifts right.
*/
.pfoot{
  border-radius: 0 !important;
  /* Break out of any parent container padding/max-width */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.pfoot-inner{
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0 !important;
}

/* Keep content readable on mobile while background stays full width */
@media (max-width: 520px){
  .pfoot-wrap{ padding-left: 16px; padding-right: 16px; }
}

/* ============================================================
   SOSYAL GİRİŞ BUTONLARI — assets/app.css'e ekleyin
   (en alta yapıştırın)
   ============================================================ */

/* Ayırıcı çizgi */
.social-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  color: #94a3b8;
  font-size: 13px;
}
.social-divider::before,
.social-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

/* Buton grubu */
.social-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Yan yana kompakt mod (drawer için) */
.social-btns--compact {
  flex-direction: row;
  justify-content: center;
  gap: 12px;
}

/* Temel buton */
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  color: #0f172a;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
  cursor: pointer;
  white-space: nowrap;
}
.social-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(15,23,42,.06);
}
.social-btn:active {
  background: #f1f5f9;
}

/* İkon boyutu */
.social-btn__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Kompakt modda sadece ikon */
.social-btns--compact .social-btn {
  padding: 10px 18px;
  border-radius: 50px;
}

/* ── profilim.php login-section içinde tam genişlik ── */
.login-section .social-login-wrap {
  max-width: 400px;
  margin: 0 auto;
}
.login-section .social-btn {
  width: 100%;
  box-sizing: border-box;
}

/* ── sepet sayfasında ── */
.sp-social-wrap .social-btn {
  width: 100%;
  box-sizing: border-box;
}

/* ── userDrawer içinde ── */
.card-tile .social-login-wrap {
  margin-top: 4px;
}
.card-tile .social-btns--compact .social-btn__text {
  display: none;  /* Drawer'da metin gizli, sadece ikon+kısa etiket */
}

/* Karanlık mod desteği */
@media (prefers-color-scheme: dark) {
  .social-btn {
    background: #1e293b;
    border-color: #334155;
    color: #f1f5f9;
  }
  .social-btn:hover {
    background: #273549;
    border-color: #475569;
  }
  .social-divider {
    color: #64748b;
  }
  .social-divider::before,
  .social-divider::after {
    background: #334155;
  }
}