/**
 * restoran-bundle.css — Sprint 12 S12-T04 Faz 7
 * Birleşik: cart-bar + sheets + kampanya (tek HTTP isteği, cache-friendly).
 * Kaynak parçalar: restoran-cart-bar.css, restoran-sheets.css, restoran-kampanya.css (deprecated).
 */

/* === restoran-cart-bar.css (S6-T05) === */
.sepet-top-btn{position:relative;width:34px;height:34px;border-radius:var(--radius-md);background:var(--cust-muted);display:flex;align-items:center;justify-content:center;border:none;cursor:pointer;flex-shrink:0;color:var(--cust-text);transition:all var(--transition-fast);}
.sepet-top-btn:active{background:var(--cust-border);}
.sepet-top-btn svg{width:17px;height:17px;}
.sepet-top-badge{position:absolute;top:-4px;right:-4px;min-width:16px;height:16px;background:var(--cust-fill);color:var(--cust-on-fill);border-radius:var(--radius-full);font-size:.62rem;font-weight:800;display:none;align-items:center;justify-content:center;padding:0 3px;line-height:1;border:2px solid var(--cust-surface-solid);}
.sepet-top-badge.goster{display:flex;}
.sepet-alt-bar{position:fixed;bottom:0;left:0;right:0;background:var(--cust-surface-solid);border-top:1px solid var(--cust-border);z-index:150;box-shadow:0 -4px 16px var(--separator);display:none;}
.sepet-alt-bar.goster{display:block;}
.sepet-alt-bar-inner{max-width:480px;margin:0 auto;padding:.75rem 1rem calc(.75rem + env(safe-area-inset-bottom));display:flex;flex-direction:row;align-items:center;gap:.65rem;box-sizing:border-box;}
.sepet-alt-bar-sol{display:flex;flex-direction:column;gap:.04rem;flex:1;min-width:0;overflow:hidden;}
.sepet-alt-bar-adet{font-size:.7rem;color:var(--cust-text-3);font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.sepet-alt-bar-tutar{font-size:.98rem;font-weight:800;color:var(--cust-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.sepet-alt-bar-btn{flex-shrink:0;display:inline-flex;align-items:center;gap:.4rem;padding:.68rem 1.1rem;background:var(--cust-fill);color:var(--cust-on-fill);border:none;border-radius:var(--radius-lg);font-size:.85rem;font-weight:700;cursor:pointer;font-family:inherit;transition:all var(--transition-fast);white-space:nowrap;text-decoration:none;}
.sepet-alt-bar-btn:active{background:var(--cust-fill-hover);}

/* === restoran-sheets.css (S8-T05) === */
.yorum-sheet-wrap{position:fixed;inset:0;background:var(--scrim);z-index:5000;opacity:0;visibility:hidden;transition:all var(--transition-base);}
.yorum-sheet-wrap.open{opacity:1;visibility:visible;}
.yorum-sheet-box{position:absolute;bottom:0;left:50%;transform:translateX(-50%) translateY(100%);background:var(--cust-surface-solid);border-radius:var(--radius-2xl) var(--radius-2xl) 0 0;max-height:92vh;width:100%;max-width:480px;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;transition:all var(--transition-base);box-sizing:border-box;}
.yorum-sheet-wrap.open .yorum-sheet-box{transform:translateX(-50%) translateY(0);}
.yorum-sheet-head{padding:1rem 1rem .7rem;border-bottom:1px solid var(--cust-muted);text-align:center;position:relative;}
.yorum-handle{width:36px;height:4px;background:var(--cust-border);border-radius:var(--radius-xs);margin:0 auto .65rem;}
.yorum-title{font-size:.95rem;font-weight:800;color:var(--cust-text);}
.yorum-close-btn{position:absolute;right:.85rem;top:50%;transform:translateY(-50%);width:30px;height:30px;border-radius:var(--radius-full);background:var(--cust-muted);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--cust-text-2);}
.yorum-step{padding:1.1rem 1rem 1.5rem;display:none;}
.yorum-step.active{display:block;}
.star-row{display:flex;justify-content:center;gap:.4rem;margin:1.2rem 0 .6rem;}
.star-btn{font-size:2.2rem;background:none;border:none;cursor:pointer;line-height:1;padding:0;color:var(--cust-border);transition:all var(--transition-fast);}
.star-btn.sel{color:var(--warning-500);}
.star-btn:active{transform:scale(1.2);}
.star-hint{text-align:center;font-size:.82rem;color:var(--cust-text-3);min-height:1.2rem;margin-bottom:1rem;}
.yf-group{margin-bottom:.85rem;}
.yf-label{font-size:.78rem;font-weight:700;color:var(--cust-text-2);margin-bottom:.3rem;display:flex;align-items:center;justify-content:space-between;}
.yf-input{width:100%;border:1.5px solid var(--cust-border);border-radius:var(--radius-md);padding:.65rem .8rem;font-size:16px;font-family:inherit;outline:none;box-sizing:border-box;transition:all var(--transition-fast);}
.yf-input:focus{border-color:var(--warning-500);}
.yf-textarea{min-height:90px;resize:vertical;}
.yf-toggle-row{display:flex;align-items:center;gap:.5rem;margin-top:.35rem;}
.yf-toggle-label{font-size:.78rem;color:var(--cust-text-2);}
.yf-switch{position:relative;display:inline-flex;cursor:pointer;}
.yf-switch input{display:none;}
.yf-track{width:34px;height:19px;background:var(--cust-border);border-radius:var(--radius-full);transition:all var(--transition-fast);position:relative;display:block;}
.yf-track::after{content:'';position:absolute;top:2px;left:2px;width:15px;height:15px;border-radius:var(--radius-full);background:var(--cust-surface-solid);transition:all var(--transition-fast);box-shadow:var(--shadow-xs);}
.yf-switch input:checked + .yf-track{background:var(--cust-fill);}
.yf-switch input:checked + .yf-track::after{transform:translateX(15px);}
.yorum-submit-btn{width:100%;padding:.85rem;background:var(--cust-fill);color:var(--cust-on-fill);border:none;border-radius:var(--radius-lg);font-size:.95rem;font-weight:700;font-family:inherit;cursor:pointer;margin-top:.5rem;}
.yorum-submit-btn:disabled{background:var(--cust-placeholder);cursor:not-allowed;}
.terms-sheet-wrap{position:fixed;inset:0;background:var(--scrim);z-index:6000;opacity:0;visibility:hidden;transition:all var(--transition-base);}
.terms-sheet-wrap.open{opacity:1;visibility:visible;}
.terms-sheet-box{position:absolute;bottom:0;left:50%;transform:translateX(-50%) translateY(100%);background:var(--cust-surface-solid);border-radius:var(--radius-2xl) var(--radius-2xl) 0 0;max-height:88vh;width:100%;max-width:480px;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;transition:all var(--transition-base);box-sizing:border-box;}
.terms-sheet-wrap.open .terms-sheet-box{transform:translateX(-50%) translateY(0);}
.terms-head{padding:1rem 1rem .7rem;border-bottom:1px solid var(--cust-muted);text-align:center;position:sticky;top:0;background:var(--cust-surface-solid);z-index:2;}
.terms-body{padding:1.1rem 1rem 1.5rem;}
.terms-body h3{font-size:.9rem;font-weight:800;color:var(--cust-text);margin:0 0 .5rem;}
.terms-body p{font-size:.82rem;color:var(--cust-text-2);line-height:1.7;margin:0 0 .75rem;}
.terms-body ul{font-size:.82rem;color:var(--cust-text-2);line-height:1.7;padding-left:1.2rem;margin:0 0 .75rem;}
.terms-actions{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;margin-top:1.1rem;}
.terms-btn-ret{padding:.75rem;border:1.5px solid var(--cust-border);border-radius:var(--radius-lg);background:var(--cust-surface-solid);font-size:.88rem;font-weight:700;font-family:inherit;cursor:pointer;color:var(--cust-text-2);}
.terms-btn-acc{padding:.75rem;border:none;border-radius:var(--radius-lg);background:var(--cust-fill);color:var(--cust-on-fill);font-size:.88rem;font-weight:700;font-family:inherit;cursor:pointer;}
.yorum-feedback{text-align:center;padding:2rem 1rem;}
.yorum-feedback-icon{font-size:3rem;margin-bottom:.75rem;}
.yorum-feedback-title{font-size:1rem;font-weight:800;color:var(--cust-text);margin-bottom:.4rem;}
.yorum-feedback-desc{font-size:.85rem;color:var(--cust-text-2);}

/* === restoran-kampanya.css (S9-T05) === */
.kamp-overlay{position:fixed;inset:0;background:var(--scrim);z-index:8000;opacity:0;visibility:hidden;transition:all var(--transition-base);display:flex;align-items:center;justify-content:center;padding:1.25rem;}
.kamp-overlay.open{opacity:1;visibility:visible;}
.kamp-popup{background:var(--cust-surface-solid);border-radius:var(--radius-2xl);width:100%;max-width:380px;overflow:hidden;box-shadow:0 24px 64px var(--scrim-soft);transform:scale(.93) translateY(12px);transition:all var(--transition-base);}
.kamp-overlay.open .kamp-popup{transform:scale(1) translateY(0);}
.kamp-popup-img{width:100%;max-height:220px;object-fit:cover;display:block;}
.kamp-popup-wrap{position:relative;}
.kamp-popup-close{position:absolute;top:.75rem;right:.75rem;width:30px;height:30px;border-radius:var(--radius-full);background:var(--scrim);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--white);z-index:1;}
.kamp-popup-body{padding:1.25rem 1.25rem 1rem;}
.kamp-popup-title{font-size:1.1rem;font-weight:800;color:var(--cust-text);margin-bottom:.45rem;line-height:1.3;}
.kamp-popup-desc{font-size:.88rem;color:var(--cust-text-3);line-height:1.6;margin-bottom:1rem;}
.kamp-popup-btn{display:block;width:100%;padding:.8rem 1rem;background:var(--cust-fill);color:var(--cust-on-fill);border:none;border-radius:var(--radius-lg);font-size:.9rem;font-weight:700;text-align:center;text-decoration:none;cursor:pointer;font-family:inherit;transition:all var(--transition-fast);box-sizing:border-box;}
.kamp-popup-btn:active{background:var(--cust-fill-hover);}
.kamp-popup-footer{display:flex;align-items:center;justify-content:center;padding:.6rem 1.25rem 1rem;}
.kamp-popup-kapat{font-size:.8rem;color:var(--cust-text-3);cursor:pointer;background:none;border:none;font-family:inherit;padding:.2rem .5rem;}
.kamp-dots{display:flex;gap:.4rem;justify-content:center;padding:.5rem 0 0;}
.kamp-dot{width:6px;height:6px;border-radius:var(--radius-xs);background:var(--cust-border);transition:all var(--transition-base);}
.kamp-dot.active{width:14px;background:var(--cust-fill);}
