/* 2026-11-12: POS Kampanyalari — vitrin seridi, urun rozeti, sepet/odeme indirim kutulari.
   WpOrder ve RestaurantWeb'de ayni dosya; vurgu rengi --pc-accent ile temadan gelir. */
:root { --pc-accent: #e11d48; --pc-accent-soft: #fff1f2; --pc-ink: #1f2937; --pc-mute: #6b7280; }

/* ---- Vitrin seridi ---- */
.pc-strip-wrap { margin: 12px 0 14px; }
.pc-strip-title { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; color: var(--pc-ink); margin: 0 2px 8px; }
.pc-strip-title .pc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pc-accent); box-shadow: 0 0 0 4px var(--pc-accent-soft); }
.pc-strip { display: flex; gap: 12px; overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.pc-strip::-webkit-scrollbar { display: none; }
.pc-card { flex: 0 0 82%; max-width: 340px; scroll-snap-align: start; background: #fff; border: 1px solid #f1f5f9; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 14px rgba(15, 23, 42, .08); cursor: pointer; display: flex; flex-direction: column; text-align: left; }
.pc-strip.pc-single .pc-card { flex-basis: 100%; max-width: none; }
.pc-card-media { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--pc-accent), #f59e0b); display: flex; align-items: center; justify-content: center; }
.pc-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pc-card-media .pc-card-fallback { color: #fff; font-weight: 800; font-size: 26px; letter-spacing: .3px; text-align: center; padding: 0 14px; text-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.pc-card-badge { position: absolute; left: 10px; top: 10px; background: var(--pc-accent); color: #fff; font-weight: 700; font-size: 12.5px; padding: 5px 10px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0, 0, 0, .22); }
.pc-card-body { padding: 10px 12px 12px; }
.pc-card-name { font-weight: 700; font-size: 14.5px; color: var(--pc-ink); margin: 0 0 2px; line-height: 1.25; }
.pc-card-desc { font-size: 12.5px; color: var(--pc-mute); margin: 0; line-height: 1.35; }
.pc-card-time { display: inline-block; margin-top: 6px; font-size: 11.5px; color: var(--pc-accent); background: var(--pc-accent-soft); border-radius: 6px; padding: 2px 7px; font-weight: 600; }
@media (min-width: 768px) { .pc-card { flex-basis: 300px; } }

/* ---- Urun karti rozeti ---- */
a.modal_dialog.pc-has-tag { position: relative; }
.pc-tag { position: absolute; left: 6px; top: 6px; z-index: 2; background: var(--pc-accent); color: #fff; font-size: 11px; font-weight: 700; line-height: 1; padding: 5px 8px; border-radius: 999px; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); max-width: calc(100% - 12px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.pc-tag.pc-tag-gift { background: #f59e0b; }
/* Akis ici rozet: urun adinin ustunde kendi satirinda durur, hicbir seyi ortmez.
   Dar ekranda sigmazsa alt satira kirilir (kesilip "..." olmaz). */
.pc-tag.pc-tag-inline { position: static; display: block; width: -moz-fit-content; width: fit-content; max-width: 100%;
    margin: 0 0 5px; padding: 4px 9px; line-height: 1.25; white-space: normal; overflow: visible; text-overflow: clip;
    border-radius: 10px; box-shadow: none; font-style: normal; text-transform: none; letter-spacing: 0; text-align: left; }
.pc-flash { animation: pcFlash 1.3s ease-in-out 2; border-radius: 12px; }
@keyframes pcFlash { 0%, 100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); } 50% { box-shadow: 0 0 0 4px var(--pc-accent); } }

/* ---- Sepet uzeri yuzen bilgi ---- */
#pc-float { display: none; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--pc-accent); border-left-width: 5px; border-radius: 12px; padding: 8px 12px; margin: 0 0 8px; box-shadow: 0 6px 18px rgba(15, 23, 42, .12); }
#pc-float .pc-float-ico { font-size: 20px; line-height: 1; }
#pc-float .pc-float-txt { display: flex; flex-direction: column; min-width: 0; }
#pc-float .pc-float-txt b { font-size: 13.5px; color: var(--pc-ink); }
#pc-float .pc-float-txt small { font-size: 11.5px; color: var(--pc-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---- Odeme ekrani indirim kutusu ---- */
#pc-pay-box { margin: 10px 0; }
.pc-pay-row { display: flex; align-items: center; gap: 10px; background: var(--pc-accent-soft); border: 1px dashed var(--pc-accent); border-radius: 12px; padding: 8px 10px; margin-bottom: 8px; }
.pc-pay-img { width: 56px; height: 40px; border-radius: 8px; object-fit: cover; flex: 0 0 56px; }
.pc-pay-img-ph { display: flex; align-items: center; justify-content: center; background: var(--pc-accent); color: #fff; font-weight: 800; }
.pc-pay-name { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.pc-pay-name b { font-size: 13.5px; color: var(--pc-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-pay-name small { font-size: 11.5px; color: var(--pc-accent); font-weight: 600; }
.pc-pay-amt { font-weight: 800; color: var(--pc-accent); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pc-pay-hint { font-size: 12.5px; color: #92400e; background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 7px 10px; margin-bottom: 8px; }
.pc-old-total { text-decoration: line-through; color: var(--pc-mute); font-weight: 500; font-size: .85em; margin-right: 6px; }
