.customer-main { padding-bottom: 120px; }
.hero { display: grid; grid-template-columns: 1fr 280px; gap: 24px; align-items: end; padding: 56px 0 34px; }
.eyebrow { margin: 0 0 10px; color: var(--brand); font-size: 13px; letter-spacing: .18em; font-weight: 900; }
.hero h1 { margin: 0; max-width: 750px; font-family: Georgia, serif; font-size: clamp(45px, 7vw, 88px); line-height: .95; letter-spacing: -.06em; }
.hero-copy { max-width: 650px; margin: 22px 0 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.hero-order { padding: 22px; border-radius: 20px; background: var(--ink); color: white; display: grid; gap: 6px; }
.hero-order span, .hero-order small { color: #c8cec8; }
.hero-order strong { font-size: 30px; }
.menu-tools { position: sticky; top: 72px; z-index: 20; padding: 12px 0 16px; background: linear-gradient(var(--bg) 72%, transparent); }
.search-box { display: flex; align-items: center; gap: 10px; width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.search-box span { font-size: 24px; color: var(--muted); }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; }
.category-chips { display: flex; gap: 9px; overflow-x: auto; padding: 12px 0 2px; scrollbar-width: none; }
.category-chips::-webkit-scrollbar { display:none; }
.chip { flex: 0 0 auto; border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; background: var(--surface); font-weight: 750; }
.chip.active { background: var(--ink); color: white; border-color: var(--ink); }
.menu-sections { display: grid; gap: 42px; }
.category-section h2 { margin: 0 0 17px; font-family: Georgia, serif; font-size: 34px; letter-spacing: -.04em; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.product-card { position: relative; min-height: 190px; display: grid; grid-template-columns: 1fr 145px; gap: 18px; padding: 20px; overflow: hidden; }
.product-content { display: flex; flex-direction: column; min-width: 0; }
.product-card h3 { margin: 0 0 8px; font-size: 20px; }
.product-card p { margin: 0; color: var(--muted); line-height: 1.5; }
.product-card-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 18px; }
.product-purchase-info { min-width: 0; display: grid; gap: 8px; }
.product-price { font-size: 20px; font-weight: 900; }
.product-size-prices { width: min(205px, 100%); display: grid; gap: 4px; }
.product-size-price { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 13px; line-height: 1.2; }
.product-size-price b { color: var(--muted); font-weight: 800; }
.product-size-price strong { color: var(--ink); font-size: 14px; font-weight: 950; white-space: nowrap; }
.product-image { min-height: 145px; border-radius: 17px; background: linear-gradient(135deg, #f3b9a8, #d2482f); background-position: center; background-size: cover; display: grid; place-items: center; color: white; font-size: 42px; font-weight: 900; }
.product-card.unavailable { opacity: .58; }
.product-card.unavailable::after { content: "Şu an satışta değil"; position: absolute; inset: auto 15px 15px auto; padding: 7px 9px; border-radius: 8px; background: var(--ink); color: white; font-size: 12px; font-weight: 800; }
.info-link { border: 0; background: transparent; padding: 0; color: var(--brand); font-size: 13px; font-weight: 800; text-decoration: underline; }
.add-circle { width: 42px; height: 42px; border: 0; border-radius: 14px; background: var(--ink); color: white; font-size: 23px; }
.cart-bar { position: fixed; left: 50%; bottom: 18px; z-index: 40; transform: translateX(-50%); width: min(650px, calc(100% - 24px)); border: 0; border-radius: 18px; padding: 17px 19px; background: var(--brand); color: white; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 17px 45px rgba(140,44,27,.35); }
.drawer-backdrop { position: fixed; inset:0; z-index: 60; background: rgba(20,20,18,.45); backdrop-filter: blur(5px); }
.cart-drawer { position: absolute; right: 0; top: 0; bottom: 0; width: min(480px, 100%); background: var(--surface); display: flex; flex-direction: column; box-shadow: -15px 0 50px rgba(0,0,0,.2); }
.drawer-head { display:flex; align-items:center; justify-content:space-between; padding:20px; border-bottom:1px solid var(--line); }
.drawer-head h2 { margin:3px 0 0; font-size:30px; }
.cart-items { flex:1; overflow:auto; padding: 8px 20px; }
.cart-item { display:grid; grid-template-columns: 1fr auto; gap:12px; padding:17px 0; border-bottom:1px solid var(--line); }
.cart-item h4 { margin:0 0 5px; }
.qty-control { display:flex; align-items:center; gap:10px; }
.qty-control button { width:31px; height:31px; border:0; border-radius:10px; background:var(--surface-2); font-weight:900; }
.cart-note { padding: 16px 20px 0; border-top:1px solid var(--line); }
.cart-footer { padding: 17px 20px 22px; display:grid; gap:13px; }
.cart-total-row { display:flex; justify-content:space-between; font-size:21px; }
.submit-order { width:100%; padding:16px; }
.product-modal h2 { margin: 3px 0 0; }
.product-long-description { color:var(--muted); line-height:1.6; }
.detail-block { margin-top:17px; padding:15px; background:var(--surface-2); border-radius:15px; }
.detail-block p { margin:7px 0 0; line-height:1.6; }
.detail-block.allergen { background:#fff3d6; }
.modal-add-row { display:flex; align-items:end; justify-content:space-between; margin-top:22px; }
.modal-add-row strong { display:block; font-size:25px; }
.success-modal { width:min(430px,100%); text-align:center; }
.success-modal h2 { font-size:32px; }
.success-icon { margin:0 auto; display:grid; place-items:center; width:72px; height:72px; border-radius:50%; background:#d9f2e5; color:var(--success); font-size:36px; font-weight:900; }
@media (max-width: 800px) {
  .hero { grid-template-columns:1fr; padding-top:36px; }
  .hero-order { grid-template-columns:1fr auto; align-items:center; }
  .hero-order small { grid-column:1 / -1; }
  .product-grid { grid-template-columns:1fr; }
}
@media (max-width: 520px) {
  .menu-tools { top:64px; }
  .product-card { grid-template-columns:1fr 105px; min-height:165px; padding:15px; }
  .product-image { min-height:115px; }
  .product-size-prices { width: 100%; }
  .product-size-price { font-size: 12px; gap: 8px; }
  .product-size-price strong { font-size: 13px; }
  .hero h1 { font-size:49px; }
}

/* v1.1 - canlı sipariş takibi */
.customer-top-actions { display: flex; align-items: center; gap: 9px; }
.orders-button {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 11px;
  background: var(--surface); color: var(--ink); font-size: 13px; font-weight: 850;
}
.orders-button.has-orders { border-color: rgba(210,72,47,.35); box-shadow: 0 6px 18px rgba(210,72,47,.12); }
.orders-button-dot { width: 9px; height: 9px; border-radius: 50%; background: #aeb3ae; }
.orders-button-dot.status-new { background: #2672d8; }
.orders-button-dot.status-preparing { background: var(--warning); animation: statusPulse 1.6s infinite; }
.orders-button-dot.status-ready { background: var(--success); animation: statusPulse 1s infinite; }
.orders-button-dot.status-served { background: var(--success); }
.orders-count-badge { min-width: 20px; height: 20px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; background: var(--brand); color: white; font-size: 11px; }
@keyframes statusPulse { 50% { transform: scale(1.35); box-shadow: 0 0 0 6px rgba(24,121,78,.10); } }
.hero-order { border: 0; text-align: left; font: inherit; }
.hero-order em { margin-top: 8px; color: #fff; font-style: normal; font-size: 12px; font-weight: 800; }
.hero-order.has-orders { outline: 3px solid rgba(210,72,47,.16); }
.hero-order[data-status="preparing"] { background: #57401b; }
.hero-order[data-status="ready"] { background: #155f40; }
.hero-order[data-status="served"] { background: #2d5140; }
.live-order-banner {
  margin: 2px 0 24px; padding: 17px 18px; display: grid;
  grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
  border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow);
}
.live-order-banner[data-status="preparing"] { border-color: rgba(161,92,0,.32); background: #fff9e9; }
.live-order-banner[data-status="ready"] { border-color: rgba(24,121,78,.35); background: #eaf8f0; }
.live-order-banner[data-status="served"] { background: #edf5ef; }
.live-order-icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 14px; background: var(--surface-2); font-size: 22px; font-weight: 950; }
.live-order-banner[data-status="preparing"] .live-order-icon { color: var(--warning); background: #ffe9b5; }
.live-order-banner[data-status="ready"] .live-order-icon { color: white; background: var(--success); }
.live-order-banner small { display: block; color: var(--muted); font-weight: 850; letter-spacing: .08em; }
.live-order-banner strong { display: block; margin-top: 3px; font-size: 18px; }
.live-order-banner p { margin: 4px 0 0; color: var(--muted); }
.orders-list { flex: 1; overflow: auto; padding: 18px 20px; display: grid; align-content: start; gap: 15px; }
.orders-footer { padding: 17px 20px 22px; display: grid; gap: 9px; border-top: 1px solid var(--line); background: var(--surface); }
.orders-footer small { color: var(--muted); line-height: 1.45; }
.customer-order-card { padding: 17px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.customer-order-card.status-preparing { border-color: rgba(161,92,0,.35); }
.customer-order-card.status-ready { border-color: rgba(24,121,78,.42); box-shadow: 0 10px 25px rgba(24,121,78,.10); }
.customer-order-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.customer-order-head h3 { margin: 2px 0 0; font-size: 21px; }
.customer-order-head small { color: var(--muted); }
.customer-status-pill { padding: 7px 9px; border-radius: 999px; font-size: 12px; font-weight: 900; background: var(--surface-2); white-space: nowrap; }
.customer-status-pill.status-new { color: #175aa8; background: #e6f0ff; }
.customer-status-pill.status-preparing { color: #7b4700; background: #fff0c9; }
.customer-status-pill.status-ready { color: #0e603b; background: #d9f2e5; }
.customer-status-pill.status-served { color: #355443; background: #e8f0ea; }
.customer-status-pill.status-cancelled { color: var(--danger); background: #fee4e2; }
.customer-order-description { margin: 10px 0 13px; color: var(--muted); line-height: 1.5; }
.status-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 18px 0 8px; }
.timeline-step { position: relative; display: grid; justify-items: center; gap: 5px; color: #a0a5a0; font-size: 11px; text-align: center; }
.timeline-step::before { content: ''; position: absolute; top: 12px; right: 50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.timeline-step:first-child::before { display: none; }
.timeline-step span { position: relative; z-index: 1; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); font-size: 11px; font-weight: 900; }
.timeline-step.done { color: var(--success); }
.timeline-step.done::before { background: var(--success); }
.timeline-step.done span { background: var(--success); color: white; }
.timeline-step.current span { box-shadow: 0 0 0 5px rgba(24,121,78,.12); }
.customer-order-items { display: grid; gap: 9px; padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.customer-order-items > div, .customer-order-total { display: flex; justify-content: space-between; gap: 12px; }
.customer-order-note { margin-top: 12px; padding: 11px; border-radius: 11px; background: var(--surface-2); color: var(--muted); font-size: 13px; }
.customer-order-total { padding-top: 13px; font-size: 16px; }
.orders-empty { padding: 50px 15px; text-align: center; color: var(--muted); }
.orders-empty > div { font-size: 46px; }
.orders-empty h3 { margin: 8px 0; color: var(--ink); }
.orders-empty p { margin: 0 auto; max-width: 330px; line-height: 1.55; }
.success-actions { display: grid; gap: 9px; margin-top: 20px; }
@media (max-width: 600px) {
  .customer-top-actions { gap: 6px; }
  .orders-button { padding: 8px 9px; }
  .orders-button > span:nth-child(2) { display: none; }
  .live-order-banner { grid-template-columns: auto 1fr; }
  .live-order-banner .btn { grid-column: 1 / -1; width: 100%; }
  .status-timeline small { font-size: 9px; }
}

.subcategory-section{margin:0 0 30px}.subcategory-section:last-child{margin-bottom:0}.subcategory-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:0 0 13px;padding-bottom:9px;border-bottom:1px solid rgba(30,35,29,.14)}.subcategory-heading h3{margin:0;font-size:21px;letter-spacing:-.02em}.subcategory-heading span{font-size:12px;color:var(--muted)}.subcategory-section.without-title{margin-top:0}

/* v1.3 - bardak boyutu seçenekleri */
.size-picker { margin-top: 18px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.size-picker-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.size-picker-head small { color: var(--muted); text-align: right; }
.size-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.size-option { display: grid; gap: 5px; padding: 13px 10px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); color: var(--ink); text-align: center; }
.size-option span { font-size: 13px; font-weight: 900; }
.size-option strong { font-size: 15px; }
.size-option:hover { border-color: var(--brand); }
.size-option.active { border-color: var(--brand); background: rgba(210,72,47,.08); box-shadow: 0 0 0 3px rgba(210,72,47,.10); }
.cart-item-size, .order-item-size { display: inline-flex; width: fit-content; margin: 0 7px 5px 0; padding: 3px 7px; border-radius: 999px; background: var(--surface-2); color: var(--ink); font-size: 11px; font-weight: 850; }
@media (max-width: 430px) {
  .size-picker-head { align-items: flex-start; flex-direction: column; }
  .size-picker-head small { text-align: left; }
  .size-options { grid-template-columns: 1fr; }
  .size-option { display: flex; align-items: center; justify-content: space-between; text-align: left; }
}

/* v1.5 - ekstra ve boyuta göre süt seçenekleri */
.modifier-picker { margin-top: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.modifier-picker-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.modifier-picker-head small { color: var(--muted); text-align: right; }
.modifier-options { display: grid; gap: 9px; }
.modifier-option { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); color: var(--ink); text-align: left; }
.modifier-option span { display: grid; gap: 3px; }
.modifier-option b { font-size: 14px; }
.modifier-option small { color: var(--muted); }
.modifier-option strong { white-space: nowrap; font-size: 14px; }
.modifier-option:hover { border-color: var(--brand); }
.modifier-option.active { border-color: var(--brand); background: rgba(210,72,47,.08); box-shadow: 0 0 0 3px rgba(210,72,47,.10); }
.extra-option.active::before { content: '✓'; display: grid; place-items: center; flex: 0 0 25px; width: 25px; height: 25px; border-radius: 50%; background: var(--brand); color: white; font-weight: 900; }
.milk-option.active::before { content: '●'; display: grid; place-items: center; flex: 0 0 25px; width: 25px; height: 25px; border: 1px solid var(--brand); border-radius: 50%; color: var(--brand); font-size: 12px; }
.modifier-empty { margin: 0; padding: 12px; border-radius: 12px; background: var(--surface-2); color: var(--muted); line-height: 1.45; }
.cart-item-modifiers, .order-modifiers { display: flex; flex-wrap: wrap; gap: 5px; margin: 5px 0 7px; }
.cart-item-modifiers span, .order-modifiers span { display: inline-flex; width: fit-content; padding: 3px 7px; border-radius: 999px; background: var(--surface-2); color: var(--ink); font-size: 11px; font-weight: 800; }
.order-modifiers { margin-left: 22px; }
@media (max-width: 430px) {
  .modifier-picker-head { align-items: flex-start; flex-direction: column; }
  .modifier-picker-head small { text-align: left; }
}
.order-item-main { min-width: 0; }

/* FAZ 7A.13: read-only notice for scan_unavailable / visit_session_required. */
.access-notice {
  margin: 0 20px 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff4e5;
  border: 1px solid #f0c98a;
  color: #7a4a06;
  font-size: 14px;
  line-height: 1.45;
}
