/* Platform ana sayfası (restoran listesi) — "Eyvah Acıktım" */
.page-platform {
  --p-sun: #ffc21a;      /* hardal sarısı: ana zemin */
  --p-plum: #2b1630;     /* patlıcan moru: yazı ve çizgiler */
  --p-tomato: #e8412c;   /* domates: indirim etiketi */
  --p-mint: #1f9d66;     /* açık durumu */
  --p-paper: #fffdf7;
  background: #fbf8f1; color: var(--p-plum);
}
.page-platform .wrap { max-width: 1120px; }
.p-display { font-family: "Bricolage Grotesque", Inter, system-ui, sans-serif; }

/* --- Üst bölüm --- */
.p-hero { background: var(--p-sun); color: var(--p-plum); padding: 14px 0 34px; position: relative; overflow: hidden; }
.p-hero::after { /* alttaki tırtıklı kenar: ekmek kâğıdı hissi */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 14px;
  background: radial-gradient(circle at 10px 0, transparent 9px, #fbf8f1 9.5px) 0 0 / 20px 14px repeat-x;
}
.p-hero-sm { padding-bottom: 26px; }
.p-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.p-brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-family: "Bricolage Grotesque", Inter, sans-serif; font-size: 1.2rem; letter-spacing: -.01em; }
.p-logo { width: 38px; height: 34px; display: grid; place-items: center; background: var(--p-plum); color: var(--p-sun); font-weight: 800; font-size: 1.15rem; border-radius: 12px 12px 12px 3px; }
.p-top-link { color: var(--p-plum); font-weight: 700; font-size: .9rem; text-decoration: none; padding: 8px 12px; border-radius: 99px; border: 2px solid var(--p-plum); }
.p-top-link:hover { background: var(--p-plum); color: var(--p-sun); }
.p-shout {
  font-family: "Bricolage Grotesque", Inter, sans-serif; font-weight: 800;
  font-size: clamp(3.1rem, 12vw, 7.2rem); line-height: .88; letter-spacing: -.045em;
  margin: 30px 0 14px; max-width: 9ch;
}
.p-lede { font-size: clamp(1.05rem, 2.4vw, 1.3rem); font-weight: 600; margin: 0 0 24px; max-width: 34ch; line-height: 1.35; }
.p-search {
  display: flex; align-items: center; gap: 12px; background: #fff; color: var(--p-plum);
  border: 3px solid var(--p-plum); border-radius: 18px; padding: 0 18px; max-width: 680px;
  box-shadow: 6px 6px 0 var(--p-plum); transition: box-shadow .15s, transform .15s;
}
.p-search:focus-within { transform: translate(2px, 2px); box-shadow: 4px 4px 0 var(--p-plum); }
.p-search input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 1.08rem; font-weight: 500; padding: 17px 0; color: var(--p-plum); background: transparent; min-width: 0; }
.p-search input::placeholder { color: #7d6a80; }
.p-chips { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.p-chips button {
  border: 2px solid var(--p-plum); border-radius: 99px; padding: 8px 16px; font: inherit; font-weight: 700; font-size: .92rem;
  background: transparent; color: var(--p-plum); cursor: pointer;
}
.p-chips button.on { background: var(--p-plum); color: var(--p-sun); }
.p-chips button:focus-visible, .p-top-link:focus-visible, .p-card:focus-visible, .p-band-cta:focus-visible { outline: 3px solid var(--p-tomato); outline-offset: 3px; }

/* --- Liste --- */
.p-main { padding-top: 26px; padding-bottom: 40px; }
.p-count { color: #6c5a6f; font-weight: 600; margin: 0 0 14px; }
.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px 18px; }
.p-card { display: flex; flex-direction: column; background: var(--p-paper); border-radius: 22px; text-decoration: none; color: var(--p-plum); border: 2px solid rgba(43, 22, 48, .12); transition: border-color .15s, transform .15s; }
@media (hover: hover) { .p-card:hover { border-color: var(--p-plum); transform: translateY(-2px); } }
.p-card[hidden] { display: none; }
.p-cover { position: relative; aspect-ratio: 12 / 5; background: color-mix(in srgb, var(--rc) 22%, #fff); display: block; border-radius: 20px 20px 0 0; overflow: hidden; }
.p-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.p-deal {
  position: absolute; right: 12px; top: 12px; background: var(--p-tomato); color: #fff; font-weight: 800; font-size: .82rem;
  padding: 6px 11px; border-radius: 8px; transform: rotate(3deg); box-shadow: 2px 2px 0 var(--p-plum);
}
.p-closed { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(43, 22, 48, .55); color: #fff; font-weight: 800; font-size: 1.05rem; }
.p-card.closed .p-cover img { filter: grayscale(.85); }
.p-body { display: flex; gap: 14px; padding: 12px 16px 16px; align-items: flex-start; }
.p-logo-sm { flex: none; width: 56px; height: 56px; border-radius: 50%; margin-top: -32px; background: #fff; border: 3px solid var(--p-paper); box-shadow: 0 0 0 2px rgba(43, 22, 48, .12); overflow: hidden; display: grid; place-items: center; font-weight: 800; color: var(--rc); position: relative; }
.p-logo-sm img { width: 100%; height: 100%; object-fit: cover; }
.p-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.p-info strong { font-family: "Bricolage Grotesque", Inter, sans-serif; font-size: 1.22rem; line-height: 1.2; letter-spacing: -.01em; }
.p-open { font-weight: 700; color: var(--p-mint); display: inline-flex; align-items: center; gap: 5px; }
.p-open::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.p-tags { color: #6c5a6f; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-meta { font-size: .85rem; color: var(--p-plum); }
.p-star { color: #b36b00; }
.page-platform .empty { color: #6c5a6f; }

/* --- Alt bant --- */
.p-band { background: var(--p-plum); color: #fff; }
.p-band-in { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; padding-top: 26px; padding-bottom: 26px; flex-wrap: wrap; }
.p-band p { margin: 0; max-width: 60ch; line-height: 1.5; color: #e9dfea; }
.p-band strong { color: var(--p-sun); }
.p-band-cta { color: var(--p-plum); background: var(--p-sun); font-weight: 800; text-decoration: none; padding: 12px 18px; border-radius: 99px; white-space: nowrap; }
.page-platform .foot { background: #fbf8f1; }

/* Yasal sayfalar */
.page-platform .legal { background: var(--p-paper); }
@media (prefers-reduced-motion: reduce) { .p-card, .p-search { transition: none; } }

/* --- Mutfaklar ve Keşfet --- */
.p-sec { margin: 4px 0 26px; }
.p-sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.p-sec-head h2, .p-h { font-family: "Bricolage Grotesque", Inter, sans-serif; font-weight: 800; font-size: 1.55rem; letter-spacing: -.02em; margin: 0; }
.p-h { margin: 12px 0 16px; font-size: 2rem; }
.p-more { background: none; border: 0; font: inherit; font-weight: 700; color: var(--p-plum); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 4px 0; }
.p-cu { display: grid; grid-auto-flow: column; grid-auto-columns: 100px; gap: 12px; overflow-x: auto; padding: 4px 2px 10px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scroll-snap-type: x proximity; scrollbar-width: none; }
.p-cu::-webkit-scrollbar { display: none; }
.p-cu.all { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); grid-auto-columns: auto; overflow: visible; margin: 0; padding: 4px 0 0; }
.p-cu-item { scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px 10px; background: var(--p-paper); border: 2px solid rgba(43, 22, 48, .1); border-radius: 20px; font: inherit; color: var(--p-plum); cursor: pointer; text-align: center; }
.p-cu-pic { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; font-size: 2.4rem; line-height: 1;
  background: radial-gradient(circle at 50% 45%, #fff 0 52%, #ffe7a3 53% 100%); box-shadow: inset 0 -4px 0 rgba(43, 22, 48, .06); }
.p-cu-name { font-weight: 700; font-size: .9rem; line-height: 1.15; }
.p-cu-item small { color: #7d6a80; font-size: .72rem; }
.p-cu-item[aria-pressed="true"] { border-color: var(--p-plum); background: var(--p-sun); }
.p-cu-item[aria-pressed="true"] .p-cu-pic { background: radial-gradient(circle at 50% 45%, #fff 0 52%, #fff3cc 53% 100%); }
@media (hover: hover) { .p-cu-item:hover { border-color: var(--p-plum); } }

.p-ke { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 1fr); gap: 12px; overflow-x: auto; margin: 0 -16px; padding: 4px 16px 10px; scrollbar-width: none; }
.p-ke::-webkit-scrollbar { display: none; }
.p-ke-item { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 2px; min-height: 150px; padding: 14px 16px; border-radius: 22px; border: 0; font: inherit; text-align: left; cursor: pointer; text-decoration: none; overflow: hidden; color: #fff; }
.p-ke-item b { font-family: "Bricolage Grotesque", Inter, sans-serif; font-size: 1.18rem; line-height: 1.1; letter-spacing: -.01em; }
.p-ke-item small { font-size: .8rem; opacity: .9; }
.p-ke-ico { position: absolute; right: -10px; top: -14px; width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; font-family: "Bricolage Grotesque", Inter, sans-serif; font-weight: 800; font-size: 3rem; line-height: 1; background: rgba(255, 255, 255, .16); }
.k-deal { background: var(--p-tomato); }
.k-open { background: var(--p-mint); }
.k-open .p-ke-ico { font-size: 2rem; }
.k-new { background: var(--p-plum); }
.k-new .p-ke-ico { color: var(--p-sun); }
.k-mine { background: var(--p-sun); color: var(--p-plum); }
.k-mine .p-ke-ico { background: rgba(43, 22, 48, .08); }
.p-ke-item[aria-pressed="true"] { outline: 4px solid var(--p-plum); outline-offset: 2px; }
.p-ke-item:focus-visible, .p-cu-item:focus-visible, .p-more:focus-visible, .p-clear:focus-visible { outline: 3px solid var(--p-tomato); outline-offset: 3px; }
@media (min-width: 900px) { .p-ke { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 4px 0 0; } }

.p-count-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; scroll-margin-top: 12px; }
.p-clear { background: none; border: 2px solid var(--p-plum); border-radius: 99px; padding: 5px 12px; font: inherit; font-weight: 700; font-size: .85rem; color: var(--p-plum); cursor: pointer; margin-bottom: 14px; }

/* Siparişlerim */
.p-orders { display: flex; flex-direction: column; gap: 10px; max-width: 720px; }
.p-order { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--p-paper); border: 2px solid rgba(43, 22, 48, .1); border-radius: 18px; padding: 14px 16px; }
.p-order strong { display: block; font-family: "Bricolage Grotesque", Inter, sans-serif; font-size: 1.1rem; }
.p-order small { color: #6c5a6f; }
.p-order-btn { flex: none; background: var(--p-plum); color: var(--p-sun); font-weight: 800; text-decoration: none; padding: 10px 14px; border-radius: 99px; font-size: .88rem; }
.p-order-btn.ghost { background: transparent; color: var(--p-plum); border: 2px solid var(--p-plum); }

/* --- Hareketli çizimler --- */
.p-ke-art { position: absolute; right: 6px; top: 6px; width: 92px; height: 92px; }
.p-ke-art svg { width: 100%; height: 100%; overflow: visible; }
.p-ke-item b, .p-ke-item small { position: relative; z-index: 1; }
.k-fav { background: #ffd7cf; color: var(--p-plum); }
.a-swing { transform-origin: 50px 8px; animation: a-swing 3.2s ease-in-out infinite; }
.a-blink { animation: a-blink 2.4s steps(1) infinite; }
.a-spin { transform-origin: 50px 50px; animation: a-spin 14s linear infinite; }
.a-spin.slow { animation-duration: 6s; animation-timing-function: cubic-bezier(.6, 0, .4, 1); }
.a-twinkle { transform-box: fill-box; transform-origin: center; animation: a-twinkle 1.8s ease-in-out infinite; }
.a-twinkle.d2 { animation-delay: .9s; }
.a-beat { transform-origin: 50px 52px; animation: a-beat 1.6s ease-in-out infinite; }
@keyframes a-swing { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
@keyframes a-blink { 0%, 70% { opacity: 1; } 71%, 78% { opacity: .35; } 79%, 100% { opacity: 1; } }
@keyframes a-spin { to { transform: rotate(360deg); } }
@keyframes a-twinkle { 0%, 100% { transform: scale(.4); opacity: .3; } 50% { transform: scale(1.15); opacity: 1; } }
@keyframes a-beat { 0%, 60%, 100% { transform: scale(1); } 15% { transform: scale(1.12); } 30% { transform: scale(.97); } 45% { transform: scale(1.07); } }
/* Mutfak simgeleri tabakta hafifçe süzülür (sırayla) */
.p-cu-pic { overflow: hidden; }
.p-cu-pic { --d: 0s; }
.p-cu-item:nth-child(3n+2) .p-cu-pic { --d: .5s; }
.p-cu-item:nth-child(3n) .p-cu-pic { --d: 1s; }
.p-cu-pic::before { content: none; }
.p-cu-item .p-cu-pic { animation: a-float 3s ease-in-out var(--d) infinite; }
.p-cu-item:active .p-cu-pic { transform: scale(.92); }
@keyframes a-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-4px) rotate(-4deg); } }

/* --- Teslimat adresi --- */
.p-addr { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 8px 14px 8px 10px; border: 2px solid var(--p-plum); border-radius: 16px; background: var(--p-paper); color: var(--p-plum); font: inherit; cursor: pointer; max-width: 100%; text-align: left; }
.p-addr small { display: block; font-size: .72rem; color: #6c5a6f; }
.p-addr b { display: block; font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 62vw; }
.p-addr-pin { width: 26px; height: 26px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--p-tomato); flex: none; box-shadow: inset 0 0 0 7px var(--p-tomato), inset 0 0 0 13px #fff; }
.p-addr-car { margin-left: auto; font-size: 1.1rem; }
.p-addr:focus-visible, .p-geo:focus-visible, .p-x:focus-visible, .p-tabbar a:focus-visible, .p-tabbar button:focus-visible, .p-fav:focus-visible { outline: 3px solid var(--p-tomato); outline-offset: 2px; }
.p-sheet { position: fixed; inset: 0; z-index: 60; background: rgba(43, 22, 48, .45); display: flex; align-items: flex-end; justify-content: center; }
.p-sheet[hidden] { display: none; }
.p-sheet-in { width: 100%; max-width: 520px; max-height: 86vh; overflow: auto; background: var(--p-paper); color: var(--p-plum); border-radius: 24px 24px 0 0; padding: 18px 18px 26px; }
@media (min-width: 760px) { .p-sheet { align-items: center; } .p-sheet-in { border-radius: 24px; } }
.p-sheet-head { display: flex; justify-content: space-between; align-items: center; }
.p-sheet-head h2 { font-family: "Bricolage Grotesque", Inter, sans-serif; margin: 0; }
.p-x { border: 0; background: rgba(43, 22, 48, .08); width: 36px; height: 36px; border-radius: 50%; font-size: 1.4rem; line-height: 1; cursor: pointer; color: inherit; }
.p-geo { border: 2px solid var(--p-plum); background: var(--p-sun); color: var(--p-plum); border-radius: 14px; padding: 11px 14px; font: inherit; font-weight: 700; cursor: pointer; }
.p-sheet-in > .p-geo { width: 100%; margin: 14px 0 10px; }
.p-asearch { display: flex; gap: 8px; }
.p-asearch input { flex: 1; margin: 0; }
.p-asearch .p-geo { background: var(--p-paper); }
.p-ahint { font-size: .82rem; color: #6c5a6f; margin: 10px 0 0; }
.p-alist { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.p-alist button { text-align: left; border: 2px solid rgba(43, 22, 48, .12); background: #fff; border-radius: 14px; padding: 10px 12px; font: inherit; color: inherit; cursor: pointer; }
.p-alist button:hover { border-color: var(--p-plum); }
.p-alist b { display: block; }
.p-alist span { font-size: .85rem; color: #6c5a6f; }
.p-aclear { margin-top: 12px; background: none; border: 0; font: inherit; font-weight: 700; color: var(--p-tomato); cursor: pointer; padding: 6px 0; }
body.sheet-open { overflow: hidden; }
.p-card.far { opacity: .55; }
.p-far { position: absolute; left: 12px; bottom: 12px; background: var(--p-plum); color: #fff; font-weight: 700; font-size: .78rem; padding: 5px 10px; border-radius: 8px; }
.p-km { color: #6c5a6f; }

/* --- Favori kalbi --- */
.p-fav { position: absolute; left: 10px; top: 10px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.p-fav svg { fill: none; stroke: var(--p-plum); stroke-width: 2; }
.p-fav.on svg { fill: var(--p-tomato); stroke: var(--p-tomato); }
.p-fav.pop { animation: a-pop .35s ease; }
@keyframes a-pop { 50% { transform: scale(1.3); } }

/* --- Puan kartı --- */
.p-puan { background: var(--p-paper); border: 2px solid var(--p-plum); border-radius: 24px; padding: 18px 18px 14px; margin: 0 0 26px; box-shadow: 6px 6px 0 var(--p-plum); }
.p-puan-head h2 { font-family: "Bricolage Grotesque", Inter, sans-serif; font-size: 1.35rem; margin: 0 0 4px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.p-puan-head h2 b { color: var(--p-tomato); }
.p-puan-head small { color: #6c5a6f; }
.p-puan-badge { background: var(--p-tomato); color: #fff; font-size: .95rem; padding: 4px 10px; border-radius: 10px; transform: rotate(-3deg); }
.p-track { position: relative; margin: 22px 8px 8px; }
.p-track-bar { height: 10px; border-radius: 99px; background: rgba(43, 22, 48, .1); overflow: hidden; }
.p-track-bar i { display: block; height: 100%; width: var(--p); background: var(--p-plum); border-radius: 99px; transition: width .6s ease; }
.p-track ol { list-style: none; margin: 0; padding: 0; position: relative; height: 64px; }
.p-track li { position: absolute; left: var(--x); top: -17px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; text-align: center; width: 86px; }
.p-track li:last-child { transform: translateX(-100%); align-items: flex-end; text-align: right; }
.p-node { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid rgba(43, 22, 48, .25); display: grid; place-items: center; font-size: .75rem; font-weight: 800; color: #fff; }
.p-track li.got .p-node { background: var(--p-mint); border-color: var(--p-mint); }
.p-track li b { font-size: .95rem; margin-top: 4px; }
.p-track li small { font-size: .72rem; color: #6c5a6f; line-height: 1.15; }
.p-codes { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.p-code { border: 2px dashed var(--p-plum); background: var(--p-sun); color: var(--p-plum); border-radius: 14px; padding: 8px 12px; font: inherit; cursor: pointer; text-align: left; }
.p-code b { display: block; letter-spacing: .06em; }
.p-code small { font-size: .75rem; }
.p-puan-note { margin: 8px 0 0; font-size: .88rem; color: #6c5a6f; }

/* --- Geri sayım bandı ve alt menü --- */
.p-band-timer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--p-mint); color: #fff; }
.p-band-timer[hidden] { display: none; }
.p-timer-go { flex: 1; display: flex; align-items: center; gap: 12px; background: none; border: 0; color: inherit; font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.p-clock { display: inline-flex; align-items: center; gap: 3px; flex: none; }
.p-clock b { background: #fff; color: var(--p-plum); border-radius: 8px; padding: 4px 6px; font-variant-numeric: tabular-nums; min-width: 32px; text-align: center; }
.p-clock i { font-style: normal; }
.p-band-timer .p-x { background: rgba(255, 255, 255, .2); color: #fff; flex: none; }
.p-tabbar { display: none; }
@media (max-width: 759px) {
  .p-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 41; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--p-paper); border-top: 2px solid rgba(43, 22, 48, .1); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .p-tabbar a, .p-tabbar button { display: flex; flex-direction: column; align-items: center; gap: 2px; font: inherit; font-size: .72rem; font-weight: 700; color: #8a7a8c; background: none; border: 0; text-decoration: none; padding: 4px 0; cursor: pointer; }
  .p-tabbar svg { width: 24px; height: 24px; }
  .p-tabbar .on { color: var(--p-plum); }
  .has-tabbar { padding-bottom: 72px; }
  .has-tabbar .p-band-timer { bottom: calc(62px + env(safe-area-inset-bottom)); }
  .has-tabbar.has-timer { padding-bottom: 130px; }
}
@media (min-width: 760px) { .has-timer { padding-bottom: 64px; } }
@media (prefers-reduced-motion: reduce) {
  .a-swing, .a-blink, .a-spin, .a-twinkle, .a-beat, .p-cu-item .p-cu-pic, .p-fav.pop { animation: none !important; }
  .p-track-bar i { transition: none; }
}

.p-timer-txt { min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.p-timer-txt b, .p-timer-txt small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-timer-txt small { font-weight: 500; opacity: .9; font-size: .8rem; }
@media (max-width: 759px) {
  .p-ke-art { width: 66px; height: 66px; right: 4px; top: 4px; }
  .p-ke-item { min-height: 136px; }
  .p-track li { width: 64px; }
  .p-track li small { font-size: .68rem; }
  .p-clock b { min-width: 28px; padding: 3px 4px; }
}

.p-timer-go { min-width: 0; }
@media (max-width: 759px) { .p-hide-s { display: none; } .p-track li { width: 56px; } }

/* --- Filtrele ve sırala --- */
.p-count-acts { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.p-count-acts .p-clear { margin: 0; }
.p-filt-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--p-plum); color: var(--p-sun); border: 0; border-radius: 99px; padding: 8px 14px; font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; }
.p-filt-btn:focus-visible { outline: 3px solid var(--p-tomato); outline-offset: 2px; }
.p-filt-n { background: var(--p-tomato); color: #fff; border-radius: 99px; min-width: 20px; height: 20px; display: inline-grid; place-items: center; font-size: .75rem; padding: 0 6px; }
.p-filt fieldset { border: 0; border-top: 2px solid rgba(43, 22, 48, .08); margin: 0; padding: 14px 0 10px; }
.p-filt legend { font-family: "Bricolage Grotesque", Inter, sans-serif; font-weight: 800; font-size: 1.05rem; padding: 0; margin-bottom: 6px; }
.p-opt { display: flex; align-items: center; gap: 10px; padding: 7px 0; cursor: pointer; font-size: .95rem; }
.p-opt[hidden] { display: none; }
.p-opt input { width: 20px; height: 20px; margin: 0; accent-color: var(--p-plum); flex: none; }
.p-opt small { color: #7d6a80; }
.p-cu-checks .p-opt.more { display: none; }
.p-cu-checks.show-all .p-opt.more { display: flex; }
.p-cu-checks.show-all .p-opt.more[hidden] { display: none; }
.p-fsearch { margin: 2px 0 8px; }
.p-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.p-pill { cursor: pointer; }
.p-pill input { position: absolute; opacity: 0; pointer-events: none; }
.p-pill span { display: inline-block; border: 2px solid rgba(43, 22, 48, .18); border-radius: 99px; padding: 7px 12px; font-weight: 700; font-size: .88rem; background: #fff; }
.p-pill input:checked + span { background: var(--p-plum); color: var(--p-sun); border-color: var(--p-plum); }
.p-pill input:focus-visible + span { outline: 3px solid var(--p-tomato); outline-offset: 2px; }
.p-filt-foot { position: sticky; bottom: -26px; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--p-paper); padding: 12px 0 4px; border-top: 2px solid rgba(43, 22, 48, .08); }
.p-filt-foot .p-geo { flex: 1; max-width: 260px; }
.p-fsearch, .p-asearch input { display: block; width: 100%; padding: 10px 12px; font: inherit; border: 2px solid rgba(43, 22, 48, .18); border-radius: 12px; background: #fff; color: var(--p-plum); }
.p-filt legend { float: left; width: 100%; }
.p-filt legend + * { clear: both; }

/* --- Bilgisayarda filtre solda sabit --- */
@media (min-width: 1000px) {
  .page-platform .wrap { max-width: 1280px; }
  .p-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; }
  .p-side { position: sticky; top: 14px; max-height: calc(100vh - 28px); overflow: auto; scrollbar-width: thin; }
  .p-side .p-sheet, .p-side .p-sheet[hidden] { display: block; position: static; inset: auto; background: none; z-index: auto; }
  .p-side .p-sheet-in { max-width: none; max-height: none; overflow: visible; border-radius: 20px; border: 2px solid rgba(43, 22, 48, .1); padding: 14px 16px 6px; }
  .p-side .p-sheet-head h2 { font-size: 1.15rem; }
  .p-side .p-x, .p-side #filtShow { display: none; }
  .p-side .p-filt-foot { position: static; padding: 8px 0 6px; border-top: 0; }
  .p-side .p-opt { padding: 5px 0; font-size: .9rem; }
  #filtBtn { display: none; }
  .p-content .p-cu, .p-content .p-ke { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
  .p-content .p-ke { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
}

/* ===== Trendyol düzeni: flaş şerit, kampanyalar, yeni kartlar ===== */
.p-car { position: relative; }
.p-row { display: grid; grid-auto-flow: column; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 8px; }
.p-row::-webkit-scrollbar { display: none; }
.p-row > * { scroll-snap-align: start; }
.p-arr { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--p-plum); color: var(--p-sun); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); display: grid; place-items: center; padding-bottom: 3px; }
.p-arr[hidden] { display: none !important; }
.p-arr.prev { left: -12px; }
.p-arr.next { right: -12px; }
@media (hover: none) { .p-arr { display: none; } }
.p-arr:focus-visible { outline: 3px solid var(--p-tomato); outline-offset: 2px; }
.p-cu.all ~ .p-arr, .p-car:has(.p-cu.all) .p-arr { display: none; }

/* Flaş indirimli restoranlar */
.p-flash { background: var(--p-paper); border: 2px solid rgba(43, 22, 48, .1); border-top: 6px solid var(--p-mint); border-radius: 20px; padding: 14px 16px 10px; margin: 0 0 22px; }
.p-flash h2 { font-family: "Bricolage Grotesque", Inter, sans-serif; font-size: 1.2rem; margin: 0 0 10px; }
.p-flash .p-row { grid-auto-columns: 260px; }
.p-mini { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--p-plum); }
.p-mini-img { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #f1e9dc; }
.p-mini-img img { width: 100%; height: 100%; object-fit: cover; }
.p-mini-pct { position: absolute; left: 8px; bottom: 8px; background: var(--p-tomato); color: #fff; font-weight: 800; font-size: .78rem; padding: 4px 8px; border-radius: 8px; }
.p-mini-b { display: flex; align-items: center; gap: 6px; }
.p-mini-b strong { font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-mini small { color: #6c5a6f; font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Kampanyalar */
.p-promos { grid-auto-columns: 220px; }
.p-promo { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--p-plum); text-decoration: none; color: #fff; }
.p-promo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
@media (hover: hover) { .p-promo:hover img { transform: scale(1.04); } }
.p-promo.is-banner { aspect-ratio: 4 / 5; }
.p-promo-txt { position: absolute; inset: auto 0 0 0; padding: 40px 12px 12px; background: linear-gradient(to top, rgba(43, 22, 48, .92), rgba(43, 22, 48, 0)); display: flex; flex-direction: column; gap: 2px; }
.p-promo-big { position: absolute; top: -18px; left: 12px; background: var(--p-sun); color: var(--p-plum); font-family: "Bricolage Grotesque", Inter, sans-serif; font-weight: 800; font-size: 1.5rem; padding: 2px 10px; border-radius: 10px; transform: rotate(-4deg); }
.p-promo-txt strong { font-size: 1rem; line-height: 1.15; }
.p-promo-txt small { font-size: .8rem; opacity: .9; }

/* Mutfaklar oklu şerit */
.p-car .p-cu { margin: 0; padding-left: 2px; padding-right: 2px; }

/* Restoran kartları */
h2.p-count { font-family: "Bricolage Grotesque", Inter, sans-serif; font-weight: 800; font-size: 1.35rem; color: var(--p-plum); margin: 0 0 14px; }
h2.p-count #pFilt { font-family: Inter, sans-serif; font-size: .9rem; font-weight: 600; color: #6c5a6f; }
.p-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.p-card { border-radius: 18px; background: #fff; }
.p-cover { aspect-ratio: 16 / 7.5; border-radius: 16px 16px 0 0; }
.p-cover-ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: "Bricolage Grotesque", Inter, sans-serif; font-weight: 800; font-size: 3rem; color: var(--rc); }
.p-ribs { position: absolute; left: 10px; top: 10px; right: 58px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.p-rib { background: var(--p-tomato); color: #fff; font-weight: 700; font-size: .74rem; line-height: 1.2; padding: 4px 9px 4px 22px; border-radius: 6px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; position: relative; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.p-rib::before { content: "%"; position: absolute; left: 6px; top: 50%; transform: translateY(-50%); width: 12px; height: 12px; border-radius: 50%; background: #fff; color: var(--p-tomato); font-size: .55rem; font-weight: 800; display: grid; place-items: center; }
.p-fav { left: auto; right: 10px; }
.p-body { display: block; padding: 10px 14px 14px; }
.p-line1 { display: flex; align-items: center; gap: 8px; min-width: 0; }
.p-line1 strong { font-family: "Bricolage Grotesque", Inter, sans-serif; font-size: 1.12rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-logo-xs { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; margin-left: auto; flex: none; box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(43, 22, 48, .12); }
.p-rate { flex: none; background: var(--p-mint); color: #fff; font-weight: 800; font-size: .8rem; padding: 3px 7px; border-radius: 7px; }
.p-rate small { font-weight: 600; opacity: .9; }
.p-rate.new { background: var(--p-plum); color: var(--p-sun); }
.p-line2 { display: block; margin-top: 6px; font-size: .84rem; color: #4d3c50; }
.p-line2 .p-tags { white-space: normal; }
.p-moto { font-size: .95rem; }
.p-line3 { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.p-mc { display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; font-weight: 600; color: #4d3c50; background: #f6f1e8; border-radius: 6px; padding: 3px 7px; }
.p-mc img { height: 14px; width: auto; }
.p-far { top: auto; }
@media (max-width: 759px) {
  .p-flash .p-row { grid-auto-columns: 220px; }
  .p-promos { grid-auto-columns: 160px; }
  .p-grid { grid-template-columns: 1fr; }
}
/* Kampanya şeridi: ürün kartları dikey, restoran bannerları kendi oranında (12:5) */
.p-promos { display: flex; gap: 14px; --ph: 240px; }
.p-promo { flex: 0 0 auto; height: var(--ph); width: calc(var(--ph) * .8); aspect-ratio: auto; }
.p-promo.is-banner { width: calc(var(--ph) * 2.4); aspect-ratio: auto; }
@media (max-width: 759px) { .p-promos { --ph: 170px; } }
/* Mutfak görselleri: fotoğraf daire içinde; yoksa sade baş harf */
.p-cu-pic { background: #f3ebdd; box-shadow: none; animation: none !important; }
.p-cu-pic img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; transition: transform .35s ease; }
@media (hover: hover) { .p-cu-item:hover .p-cu-pic img { transform: scale(1.08); } }
.p-cu-pic.noimg { background: var(--p-plum); color: var(--p-sun); font-family: "Bricolage Grotesque", Inter, sans-serif; font-weight: 800; font-size: 1.9rem; }
.p-cu-item[aria-pressed="true"] .p-cu-pic { background: #f3ebdd; box-shadow: 0 0 0 3px var(--p-plum); }
.p-cu-item[aria-pressed="true"] .p-cu-pic.noimg { background: var(--p-plum); }

/* --- Giriş kutusu (üst bölüm) --- */
.p-top-r { display: flex; gap: 8px; align-items: center; }
.p-top-link.solid { background: var(--p-plum); color: var(--p-sun); }
.p-hero-grid { display: grid; gap: 22px; align-items: center; }
@media (min-width: 900px) { .p-hero-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; } }
.p-login { background: var(--p-paper); color: var(--p-plum); border: 3px solid var(--p-plum); border-radius: 22px; padding: 20px; box-shadow: 6px 6px 0 var(--p-plum); }
.p-login-t { font-family: "Bricolage Grotesque", Inter, sans-serif; font-weight: 800; font-size: 1.25rem; text-align: center; margin: 0 0 14px; }
.p-login-s { font-size: .82rem; color: #6c5a6f; text-align: center; margin: 12px 0 0; }
.p-login-s a { color: inherit; }
.p-login-f { display: flex; flex-direction: column; gap: 10px; }
.p-phone { display: flex; gap: 8px; }
.p-cc { display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; border: 2px solid rgba(43, 22, 48, .18); border-radius: 12px; background: #fff; font-weight: 700; }
.p-flag { width: 20px; height: 14px; border-radius: 2px; background: #e30a17; position: relative; overflow: hidden; }
.p-flag::before { content: ""; position: absolute; left: 3px; top: 2px; width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 2px #fff; clip-path: inset(0 30% 0 0); }
.p-flag::after { content: "★"; position: absolute; left: 10px; top: -1px; color: #fff; font-size: 7px; line-height: 14px; }
.p-phone input, .p-code-in { flex: 1; min-width: 0; margin: 0; padding: 13px 14px; font: inherit; font-size: 1.05rem; border: 2px solid rgba(43, 22, 48, .18); border-radius: 12px; background: #fff; color: var(--p-plum); }
.p-phone input:focus, .p-code-in:focus { outline: 3px solid var(--p-tomato); outline-offset: 0; border-color: transparent; }
.p-code-in { text-align: center; letter-spacing: .5em; font-size: 1.7rem; font-weight: 800; }
.p-login-btn { display: block; width: 100%; text-align: center; border: 0; border-radius: 12px; padding: 14px; font: inherit; font-weight: 800; background: var(--p-sun); color: var(--p-plum); box-shadow: inset 0 0 0 2px var(--p-plum); cursor: pointer; text-decoration: none; }
.p-login-btn:hover { background: #ffcf3f; }
.p-login-btn:focus-visible, .p-login-link:focus-visible { outline: 3px solid var(--p-tomato); outline-offset: 2px; }
.p-login-acts { display: flex; flex-direction: column; gap: 8px; align-items: center; margin-top: 10px; }
.p-login-link { background: none; border: 0; font: inherit; font-weight: 700; color: var(--p-plum); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 6px 0; }
.p-login-link:disabled { color: #8a7a8c; text-decoration: none; cursor: default; }
.p-login-alt { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; }
.p-login-err { background: #fde8e3; color: #a3271a; border-radius: 10px; padding: 10px 12px; font-size: .9rem; margin: 0 0 12px; }
.p-login-page { max-width: 440px; margin: 10px auto 30px; }
.p-top-link { white-space: nowrap; }
@media (max-width: 759px) {
  .p-top-r .p-top-link:not(.solid) { display: none; }
  .p-brand strong { white-space: nowrap; }
  .p-login { padding: 16px; }
  .p-login-t { font-size: 1.1rem; margin-bottom: 10px; }
}

/* --- Keşfet: sade kurumsal kartlar --- */
.p-ke { grid-auto-columns: minmax(230px, 1fr); }
.p-ke-item { min-height: 0; flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; padding: 14px 14px 14px 16px; border-radius: 16px; background: #fff; color: var(--p-plum); border: 1.5px solid rgba(43, 22, 48, .12); box-shadow: 0 1px 2px rgba(43, 22, 48, .04); transition: border-color .15s, box-shadow .15s, transform .15s; }
.k-deal, .k-open, .k-new, .k-fav, .k-mine { background: #fff; color: var(--p-plum); }
@media (hover: hover) { .p-ke-item:hover { border-color: rgba(43, 22, 48, .35); box-shadow: 0 6px 18px rgba(43, 22, 48, .08); transform: translateY(-1px); } }
.p-ke-ic { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; }
.k-deal .p-ke-ic { background: #fdece8; color: #c8341f; }
.k-open .p-ke-ic { background: #e5f5ec; color: #157a4e; }
.k-new  .p-ke-ic { background: #efe8f4; color: var(--p-plum); }
.k-fav  .p-ke-ic { background: #fdeaf0; color: #c42d5a; }
.k-mine .p-ke-ic { background: #fff4cc; color: #8a6400; }
.p-ke-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.p-ke-item b { font-family: Inter, sans-serif; font-weight: 700; font-size: .98rem; letter-spacing: 0; line-height: 1.25; }
.p-ke-item small { font-size: .8rem; color: #75667a; opacity: 1; }
.p-ke-go { flex: none; font-size: 1.4rem; line-height: 1; color: #a899ab; transition: transform .15s, color .15s; }
@media (hover: hover) { .p-ke-item:hover .p-ke-go { transform: translateX(3px); color: var(--p-plum); } }
.p-ke-item[aria-pressed="true"] { outline: none; border-color: var(--p-plum); box-shadow: inset 0 0 0 1px var(--p-plum); background: #faf6fb; }
.p-ke-item[aria-pressed="true"] .p-ke-go { color: var(--p-plum); }
.p-ke-art { display: none; }
@media (max-width: 759px) { .p-ke { grid-auto-columns: 78%; } .p-ke-item { min-height: 0; } }
@media (min-width: 900px) { .p-content .p-ke { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); } }

/* --- Restoran başvurusu --- */
.p-apply { display: grid; gap: 28px; margin: 6px 0 40px; }
@media (min-width: 900px) { .p-apply { grid-template-columns: minmax(0, 1fr) 440px; align-items: start; } }
.p-apply-info p { font-size: 1.05rem; line-height: 1.55; max-width: 52ch; }
.p-apply-list { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.p-apply-list li { padding-left: 30px; position: relative; line-height: 1.45; }
.p-apply-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--p-mint); color: #fff; font-size: .75rem; font-weight: 800; display: grid; place-items: center; }
.p-apply-call a { font-weight: 800; color: var(--p-plum); }
.p-apply-f { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.p-apply-f label { display: block; font-weight: 600; font-size: .9rem; }
.p-apply-f label small { color: #7d6a80; font-weight: 400; }
.p-apply-f input:not([type=checkbox]), .p-apply-f select, .p-apply-f textarea { margin-top: 5px; border: 2px solid rgba(43, 22, 48, .18); border-radius: 12px; }
.p-chk { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: .85rem !important; }
.p-chk input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--p-plum); flex: none; }
.p-chk a { color: inherit; }
.p-apply-form { box-shadow: 6px 6px 0 var(--p-plum); }
