/* ===================================================================
   CUSTOMER MENU — Faz 8 consolidated stylesheet
   menu-web.php · kategori.php · index.php
   =================================================================== */
:root {
  --c-900: #0f172a;
  --c-800: #1e293b;
  --c-700: #334155;
  --c-600: #475569;
  --c-500: #64748b;
  --c-400: #94a3b8;
  --c-300: #cbd5e1;
  --c-200: #e2e8f0;
  --c-100: #f1f5f9;
  --c-50: #f8fafc;
  --c-black: #0f172a;
  --c-dark: #1e293b;
  --c-text: #334155;
  --c-brand: #0f8ca8;
  --c-muted: #64748b;
  --c-light: #f1f5f9;
  --cream: #f8fafc;
  --white: #ffffff;
  --accent: #0f8ca8;
  --accent-green: #059669;
  --green: #059669;
  --blue: #2563eb;
  --red: #dc2626;
  --amber: #d97706;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 16px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 4px 12px rgba(15, 23, 42, 0.08);
  --surface: #ffffff;
  --page-max: 480px;
  --transition: border-color 0.15s ease, background 0.15s ease;
}

/* --- menu-web.php base --- */

        * { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; }
        body {
            font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
            color: var(--c-800);
            background:
                radial-gradient(circle at top left, rgba(195,154,115,0.08), transparent 30%),
                linear-gradient(180deg, #fffdf9 0%, var(--cream) 100%);
            min-height: 100vh;
            -webkit-tap-highlight-color: transparent;
            overflow-x: hidden;
        }
        
        a, button { color: inherit; font: inherit; text-decoration: none; border: none; background: none; cursor: pointer; }
        button { touch-action: manipulation; }
        img { display: block; max-width: 100%; }
        input, textarea, select { font: inherit; }

        .app-shell {
            position: relative;
            z-index: 1;
            max-width: var(--page-max);
            margin: 0 auto;
            min-height: 100vh;
            background: linear-gradient(180deg, #fffdf9 0%, var(--cream) 100%);
            box-shadow: 0 24px 64px rgba(26,14,10,0.10);
        }

        .hero {
            position: relative;
            overflow: hidden;
            background: var(--c-900);
            padding: 18px 18px 0;
            box-shadow: inset 0 -1px 0 rgba(255,255,255,0.06);
        }
        .hero-bg {
            position: absolute;
            inset: 0;
            z-index: 0;
        }
        .hero-bg img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.6;
        }
        .hero-bg::after {
            content: '';
            position: absolute;
            inset: 0;
            background:
                linear-gradient(180deg, rgba(21,17,15,0.68) 0%, rgba(21,17,15,0.88) 100%),
                radial-gradient(circle at top right, rgba(195,154,115,0.12), transparent 30%);
        }
        .hero-top {
            position: relative;
            z-index: 2;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
            margin-bottom: 16px;
            flex-wrap: wrap;
        }
        .hero-top-left {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
            min-width: 0;
        }
        .hero-badge {
            display: inline-flex;
            align-items: center;
            padding: 6px 12px;
            border-radius: 999px;
            background: rgba(255,255,255,0.08);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(255,255,255,0.13);
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            color: rgba(255,255,255,0.9);
        }
        .hero-actions {
            display: flex;
            gap: 8px;
            align-items: center;
            margin-left: auto;
            flex-wrap: wrap;
        }
        .hero-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 40px;
            padding: 0 14px;
            border-radius: 12px;
            background: rgba(255,255,255,0.10);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(255,255,255,0.13);
            color: #fff;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.01em;
            transition: background 0.2s, transform 0.1s, border-color 0.2s;
        }
        .hero-btn:active { transform: scale(0.95); }
        .hero-btn:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.2); }
        .hero-btn-icon {
            width: 40px;
            padding: 0;
            position: relative;
        }
        .hero-btn-icon svg { width: 18px; height: 18px; }
        .cart-badge {
            position: absolute;
            top: -4px;
            right: -4px;
            min-width: 18px;
            height: 18px;
            padding: 0 5px;
            border-radius: 999px;
            background: var(--c-400);
            color: var(--c-900);
            font-size: 10px;
            font-weight: 600;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .cart-badge.hidden { display: none; }

        .hero-card {
            position: relative;
            z-index: 2;
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 16px;
            border-radius: 24px;
            background: rgba(255,255,255,0.10);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255,255,255,0.12);
            margin-bottom: 0;
            box-shadow: 0 18px 44px rgba(20, 12, 8, 0.18);
        }
        .hero-logo-wrap {
            width: 64px;
            height: 64px;
            border-radius: 16px;
            padding: 0;
            flex-shrink: 0;
            background: var(--white);
            border: 0;
            box-shadow: none;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .hero-logo {
            width: 100%;
            height: 100%;
            border-radius: 16px;
            object-fit: cover;
            background: var(--white);
        }
        .hero-title {
            font-size: 1.55rem;
            font-weight: 600;
            color: #fff;
            letter-spacing: -0.02em;
            line-height: 1.2;
        }
        .hero-tagline {
            margin-top: 4px;
            font-size: 12px;
            color: rgba(255,255,255,0.65);
        }

        .main-content {
            position: relative;
            z-index: 3;
            padding: 16px 18px 88px;
        }


        .section-label {
            display: flex;
            align-items: center;
            gap: 10px;
            margin: 2px 0 14px;
        }
        .section-label::before, .section-label::after {
            content: '';
            flex: 1;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--c-200), transparent);
        }
        .section-label span {
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: var(--c-400);
            white-space: nowrap;
        }

        .card {
            background: var(--surface);
            border: 1px solid rgba(44,24,16,0.06);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-sm);
            overflow: hidden;
            backdrop-filter: blur(10px);
        }
        .card-body { padding: 16px; }

        .status-tracker {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 16px;
            border-radius: var(--radius-lg);
            background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.9));
            border: 1px solid rgba(44,24,16,0.06);
            box-shadow: 0 16px 36px rgba(44,24,16,0.08);
        }
        .status-tracker-info { flex: 1; min-width: 0; }
        .status-tracker-title {
            font-size: 13px;
            font-weight: 700;
            color: var(--c-800);
        }
        .status-tracker-text {
            font-size: 11px;
            color: var(--c-500);
            margin-top: 2px;
        }
        .status-bar {
            height: 6px;
            border-radius: 999px;
            background: var(--c-100);
            margin-top: 10px;
            overflow: hidden;
        }
        .status-bar-fill {
            height: 100%;
            border-radius: 999px;
            background: linear-gradient(90deg, var(--c-400), var(--c-500));
            transition: width 0.5s ease;
        }
        .status-pills {
            display: flex;
            gap: 6px;
            margin-top: 8px;
            flex-wrap: wrap;
        }
        .status-pill {
            padding: 3px 10px;
            border-radius: 999px;
            background: var(--c-50);
            border: 1px solid var(--c-100);
            font-size: 10px;
            font-weight: 600;
            color: var(--c-500);
        }
        .status-badge {
            flex-shrink: 0;
            padding: 4px 12px;
            border-radius: 999px;
            background: var(--c-100);
            font-size: 10px;
            font-weight: 700;
            color: var(--c-600);
        }
        .status-badge.new { background: #fef3c7; color: #92400e; }
        .status-badge.preparing { background: #dbeafe; color: #1e40af; }
        .status-badge.ready { background: #dcfce7; color: #166534; }
        .status-badge.delivered { background: var(--c-100); color: var(--c-600); }
        .status-badge.cancelled { background: #ffe4e6; color: #9f1239; }


        .smart-shelf {
            display: grid;
            gap: 12px;
            margin-top: 12px;
        }
        .smart-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding: 14px;
            border-radius: 18px;
            background: var(--c-50);
            border: 1px solid rgba(44,24,16,0.05);
            box-shadow: 0 8px 18px rgba(44,24,16,0.05);
        }
        .smart-item-img {
            width: 64px;
            height: 64px;
            border-radius: 12px;
            object-fit: cover;
            background: var(--white);
            flex-shrink: 0;
        }
        .smart-item-info { flex: 1; min-width: 0; }
        .smart-item-name {
            font-size: 13px;
            font-weight: 700;
            color: var(--c-800);
        }
        .smart-item-cat {
            font-size: 11px;
            color: var(--c-500);
            margin-top: 2px;
        }
        .smart-item-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 8px;
            gap: 8px;
        }
        .smart-item-price {
            font-size: 13px;
            font-weight: 700;
            color: var(--c-600);
        }
        .smart-item-tags {
            display: flex;
            gap: 4px;
            margin-top: 4px;
            flex-wrap: wrap;
        }
        .tag {
            display: inline-flex;
            padding: 2px 8px;
            border-radius: 999px;
            font-size: 9px;
            font-weight: 700;
        }
        .tag-featured { background: #dbeafe; color: #1e40af; }
        .tag-campaign { background: #fef3c7; color: #92400e; }

        .fav-btn {
            width: 32px;
            height: 32px;
            border-radius: 999px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            transition: transform 0.15s;
            flex-shrink: 0;
        }
        .fav-btn:active { transform: scale(0.85); }
        .fav-btn.inactive { background: var(--white); border: 1px solid var(--c-200); color: var(--c-400); }
        .fav-btn.active { background: #fef3c7; border: 1px solid #fde68a; color: #d97706; }

        .btn-add {
            padding: 7px 12px;
            border-radius: 999px;
            background: var(--c-600);
            color: #fff;
            font-size: 12px;
            font-weight: 700;
            transition: transform 0.1s;
        }
        .btn-add:active { transform: scale(0.93); }

        .category-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 14px;
        }
        .category-card {
            position: relative;
            aspect-ratio: 1 / 1.08;
            border-radius: 22px;
            overflow: hidden;
            background: var(--c-900);
            border: 1px solid rgba(255,255,255,0.08);
            box-shadow: 0 16px 34px rgba(25,15,10,0.16);
            transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
        }
        .category-card:active { transform: scale(0.97); }
        .category-card:hover { transform: none; box-shadow: 0 18px 38px rgba(25,15,10,0.18); }
        .category-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.82;
            transition: transform 0.5s ease, opacity 0.2s ease;
        }
        .category-card:hover img { transform: scale(1.08); opacity: 0.92; }
        .category-card-overlay {
            position: absolute;
            inset: 0;
            background:
                linear-gradient(180deg, transparent 34%, rgba(21,17,15,0.9) 100%),
                radial-gradient(circle at top, rgba(195,154,115,0.16), transparent 42%);
        }
        .category-card-count {
            position: absolute;
            top: 12px;
            left: 12px;
            padding: 4px 10px;
            border-radius: 999px;
            background: rgba(255,255,255,0.16);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(255,255,255,0.16);
            font-size: 9px;
            font-weight: 700;
            color: #fff;
        }
        .category-card-name {
            position: absolute;
            bottom: 12px;
            left: 12px;
            right: 12px;
            padding: 10px 12px;
            border-radius: 14px;
            background: rgba(255,255,255,0.12);
            backdrop-filter: blur(14px);
            border: 1px solid rgba(255,255,255,0.15);
            font-size: 12px;
            line-height: 1.2;
            font-weight: 600;
            color: #fff;
        }

        .footer {
            text-align: center;
            padding: 30px 16px 10px;
            font-size: 11px;
            color: var(--c-400);
        }
        .footer span { display: inline-flex; align-items: center; gap: 6px; }

        .overlay {
            position: fixed;
            inset: 0;
            z-index: 100;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 16px;
            background: rgba(26,14,10,0.5);
            backdrop-filter: blur(4px);
        }
        .overlay.open { display: flex; }
        .overlay-backdrop { position: absolute; inset: 0; }
        .modal {
            position: relative;
            z-index: 1;
            width: 100%;
            max-width: 520px;
            max-height: 88vh;
            display: flex;
            flex-direction: column;
            background: var(--white);
            border-radius: var(--radius-xl);
            box-shadow: 0 28px 72px rgba(26,14,10,0.28);
            overflow: hidden;
            animation: modalIn 0.25s ease;
        }
        @keyframes modalIn {
            from { opacity: 0; transform: translateY(20px) scale(0.97); }
            to { opacity: 1; transform: translateY(0) scale(1); }
        }
        .modal-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 20px;
            border-bottom: 1px solid var(--c-100);
        }
        .modal-title {
            font-size: 16px;
            font-weight: 700;
            color: var(--c-800);
        }
        .modal-subtitle {
            font-size: 11px;
            color: var(--c-500);
            margin-top: 2px;
        }
        .modal-close {
            width: 32px;
            height: 32px;
            border-radius: 999px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--c-50);
            border: 1px solid var(--c-100);
            color: var(--c-500);
            font-size: 14px;
            transition: background 0.15s;
        }
        .modal-close:hover { background: var(--c-100); }
        .modal-body {
            flex: 1;
            overflow-y: auto;
            padding: 18px 20px;
        }
        .modal-footer {
            padding: 18px 20px;
            border-top: 1px solid var(--c-100);
            background: var(--c-50);
        }

        .form-group { margin-bottom: 12px; }
        .form-label {
            display: block;
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--c-500);
            margin-bottom: 6px;
        }
        .form-input, .form-textarea {
            width: 100%;
            padding: 12px 14px;
            border-radius: 12px;
            border: 1px solid var(--c-200);
            background: var(--white);
            font-size: 14px;
            color: var(--c-800);
            transition: border-color 0.15s, box-shadow 0.15s;
        }
        .form-input:focus, .form-textarea:focus {
            outline: none;
            border-color: var(--c-400);
            box-shadow: 0 0 0 3px rgba(196,154,108,0.15);
        }
        .form-textarea { min-height: 80px; resize: vertical; }
        .form-feedback {
            font-size: 12px;
            color: var(--c-500);
            min-height: 16px;
            margin: 8px 0;
        }

        .preset-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
            margin-bottom: 12px;
        }
        .preset-btn {
            padding: 8px;
            border-radius: 10px;
            background: var(--c-50);
            border: 1px solid var(--c-100);
            font-size: 11px;
            font-weight: 600;
            color: var(--c-600);
            transition: background 0.15s;
        }
        .preset-btn:hover { background: var(--c-100); }

        .btn-primary {
            width: 100%;
            height: 48px;
            border-radius: 14px;
            background: var(--c-600);
            color: #fff;
            font-size: 14px;
            font-weight: 700;
            transition: background 0.15s, transform 0.1s;
        }
        .btn-primary:hover { background: var(--c-700); }
        .btn-primary:active { transform: scale(0.98); }
        .btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

        .btn-secondary {
            height: 44px;
            border-radius: 12px;
            background: var(--white);
            border: 1px solid var(--c-200);
            color: var(--c-700);
            font-size: 13px;
            font-weight: 600;
            transition: background 0.15s;
        }
        .btn-secondary:hover { background: var(--c-50); }

        .btn-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }

        .cart-item {
            display: flex;
            gap: 12px;
            padding: 14px;
            border-radius: 18px;
            background: var(--c-50);
            margin-bottom: 10px;
        }
        .cart-item-img {
            width: 64px;
            height: 64px;
            border-radius: 12px;
            object-fit: cover;
            background: var(--white);
            flex-shrink: 0;
        }
        .cart-item-info { flex: 1; min-width: 0; }
        .cart-item-name {
            font-size: 14px;
            font-weight: 700;
            color: var(--c-800);
            line-height: 1.25;
        }
        .cart-item-cat {
            font-size: 11px;
            color: var(--c-500);
            margin-top: 2px;
        }
        .cart-item-subcat {
            font-size: 10px;
            color: var(--c-400);
            margin-top: 4px;
            letter-spacing: 0.06em;
            text-transform: uppercase;
        }
        .cart-item-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 8px;
        }
        .qty-control {
            display: inline-flex;
            align-items: center;
            gap: 2px;
            padding: 2px;
            border-radius: 999px;
            background: var(--white);
            border: 1px solid var(--c-200);
        }
        .qty-btn {
            width: 28px;
            height: 28px;
            border-radius: 999px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            font-weight: 700;
            transition: background 0.15s;
        }
        .qty-btn:hover { background: var(--c-100); }
        .qty-btn.minus:hover { background: #ffe4e6; color: var(--red); }
        .qty-value {
            min-width: 24px;
            text-align: center;
            font-size: 13px;
            font-weight: 700;
        }
        .cart-item-remove {
            font-size: 11px;
            font-weight: 600;
            color: var(--red);
            transition: opacity 0.15s;
        }
        .cart-item-remove:hover { opacity: 0.7; }
        .cart-item-total {
            font-size: 13px;
            font-weight: 700;
            color: var(--c-800);
            white-space: nowrap;
            align-self: flex-start;
        }

        .cart-summary {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 12px;
        }
        .cart-summary-label {
            font-size: 13px;
            color: var(--c-500);
        }
        .cart-summary-value {
            font-size: 18px;
            font-weight: 600;
            color: var(--c-600);
        }

        .empty-state {
            text-align: center;
            padding: 32px 16px;
            color: var(--c-400);
            font-size: 13px;
        }

        .menu-section-title {
            font-size: 12px;
            font-weight: 600;
            color: var(--c-500);
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin: 22px 0 12px;
        }

        .search-overlay {
            position: fixed;
            inset: 0;
            z-index: 90;
            display: none;
            flex-direction: column;
            background: var(--cream);
        }
        .search-overlay.open { display: flex; }
        .search-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px;
            border-bottom: 1px solid var(--c-100);
            background: var(--white);
        }
        .search-title {
            font-size: 16px;
            font-weight: 700;
        }
        .search-input-wrap { padding: 16px; }
        .search-input {
            width: 100%;
            padding: 14px 16px;
            border-radius: 14px;
            border: 1px solid var(--c-200);
            background: var(--white);
            font-size: 15px;
            font-weight: 500;
        }
        .search-input:focus {
            outline: none;
            border-color: var(--c-400);
            box-shadow: 0 0 0 3px rgba(196,154,108,0.15);
        }
        .search-results {
            flex: 1;
            overflow-y: auto;
            padding: 0 16px 16px;
        }
        .search-result-item {
            display: flex;
            gap: 12px;
            padding: 14px;
            border-radius: 18px;
            background: var(--white);
            border: 1px solid rgba(44,24,16,0.06);
            margin-bottom: 10px;
            box-shadow: 0 10px 24px rgba(44,24,16,0.05);
        }
        .search-result-img {
            width: 72px;
            height: 72px;
            border-radius: 12px;
            object-fit: cover;
            background: var(--c-50);
            flex-shrink: 0;
        }
        .search-result-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
        .search-result-name { font-size: 14px; font-weight: 600; color: var(--c-800); line-height: 1.25; }
        .search-result-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
        .search-result-cat { font-size: 11px; color: var(--c-500); margin-top: 3px; }
        .search-result-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
        .search-result-price { font-size: 14px; font-weight: 600; color: var(--c-600); }

        .repeat-btn {
            display: none;
            padding: 8px 14px;
            border-radius: 10px;
            background: var(--white);
            border: 1px solid var(--c-200);
            font-size: 11px;
            font-weight: 700;
            color: var(--c-700);
            margin-bottom: 8px;
        }
        .repeat-btn.visible { display: inline-block; }

        .table-assistant-text {
            font-size: 12px;
            color: var(--c-500);
            margin-bottom: 12px;
        }
        .table-assistant-btns {
            display: grid;
            gap: 8px;
        }
        .table-assistant-btn {
            padding: 12px 16px;
            border-radius: 12px;
            background: var(--white);
            border: 1px solid var(--c-100);
            text-align: left;
            font-size: 12px;
            font-weight: 700;
            color: var(--c-800);
            transition: background 0.15s;
        }
        .table-assistant-btn:hover { background: var(--c-50); }

        .social-row {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-top: 14px;
            flex-wrap: wrap;
        }
        .social-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            border-radius: 14px;
            color: #fff;
            box-shadow: var(--shadow-sm);
            border: 1px solid rgba(255,255,255,0.10);
            transition: transform 0.15s, opacity 0.15s;
        }
        .social-link:active { transform: scale(0.95); }
        .social-link:hover { opacity: 0.92; }
        .social-link.instagram { background: linear-gradient(135deg, #f59e0b, #ef4444, #8b5cf6); }
        .social-link.facebook { background: #1877F2; }
        .social-link.twitter { background: #0f172a; }
        .social-link.whatsapp { background: #25D366; }
        .social-link.tripadvisor { background: #34E0A1; }
        .social-link.youtube { background: #FF0000; }
        .header-chip {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 7px 12px;
            border-radius: 999px;
            background: rgba(255,255,255,0.88);
            color: var(--c-800);
            font-size: 11px;
            font-weight: 600;
            box-shadow: var(--shadow-sm);
        }
        .header-chip.dark {
            background: rgba(255,255,255,0.12);
            color: #fff;
            border: 1px solid rgba(255,255,255,0.18);
            backdrop-filter: blur(12px);
        }
        .header-chip.soft {
            background: rgba(255,255,255,0.08);
            color: rgba(255,255,255,0.95);
            border: 1px solid rgba(255,255,255,0.12);
            backdrop-filter: blur(12px);
        }

        @media (min-width: 640px) {
            .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
            .smart-shelf { grid-template-columns: repeat(2, 1fr); }
        }
        @media (min-width: 900px) {
            body { padding: 20px; }
            .app-shell {
                border-radius: 24px;
                overflow: hidden;
                min-height: calc(100vh - 40px);
                box-shadow: 0 24px 64px rgba(26,14,10,0.12);
                border: 1px solid rgba(44,24,16,0.06);
            }
            .category-grid { grid-template-columns: repeat(4, 1fr); }
            .smart-shelf { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 380px) {
            .category-grid { grid-template-columns: 1fr; }
            .category-card { min-height: 220px; }
            .hero-title { font-size: 1.25rem; }
            .hero-top { gap: 10px; flex-wrap: wrap; }
            .hero-actions { width: 100%; justify-content: flex-end; }
        }
        @media (max-width: 640px) {
            .hero-top { align-items: flex-start; }
            .hero-actions { margin-left: 0; }
            .category-grid { gap: 12px; }
        }

/* --- kategori.php --- */

        * { box-sizing: border-box; margin: 0; padding: 0; }
        body {
            font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
            color: var(--c-800);
            background: var(--cream);
            min-height: 100vh;
            -webkit-tap-highlight-color: transparent;
        }
        a, button { color: inherit; font: inherit; text-decoration: none; border: none; background: none; cursor: pointer; }
        button { touch-action: manipulation; }
        img { display: block; max-width: 100%; }
        input, select { font: inherit; }

        .app-shell {
            max-width: 680px;
            margin: 0 auto;
            min-height: 100vh;
            background: var(--cream);
        }

        .hero {
            position: relative;
            overflow: hidden;
            background: var(--c-900);
            padding: 16px 16px 0;
        }
        .hero-bg {
            position: absolute;
            inset: 0;
        }
        .hero-bg img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.5;
        }
        .hero-bg::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(26,14,10,0.6) 0%, rgba(26,14,10,0.85) 100%);
        }
        .hero-top {
            position: relative;
            z-index: 2;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
        }
        .hero-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 40px;
            padding: 0 14px;
            border-radius: 12px;
            background: rgba(255,255,255,0.12);
            backdrop-filter: blur(8px);
            border: 1px solid rgba(255,255,255,0.15);
            color: #fff;
            font-size: 12px;
            font-weight: 600;
            transition: background 0.2s, transform 0.1s;
        }
        .hero-btn:active { transform: scale(0.95); }
        .hero-btn:hover { background: rgba(255,255,255,0.2); }
        .hero-btn-icon {
            width: 40px;
            padding: 0;
            position: relative;
        }
        .hero-btn-icon svg { width: 18px; height: 18px; }
        .cart-badge {
            position: absolute;
            top: -4px;
            right: -4px;
            min-width: 18px;
            height: 18px;
            padding: 0 5px;
            border-radius: 999px;
            background: var(--c-400);
            color: var(--c-900);
            font-size: 10px;
            font-weight: 600;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .cart-badge.hidden { display: none; }
        .hero-actions { display: flex; gap: 8px; align-items: center; }

        .hero-card {
            position: relative;
            z-index: 2;
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 14px;
            border-radius: var(--radius-lg);
            background: rgba(255,255,255,0.08);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(255,255,255,0.1);
            margin-bottom: -28px;
        }
        .hero-logo {
            width: 56px;
            height: 56px;
            border-radius: 16px;
            object-fit: cover;
            background: var(--white);
            flex-shrink: 0;
        }
        .hero-title {
            font-size: 1.4rem;
            font-weight: 600;
            color: #fff;
            letter-spacing: -0.02em;
            line-height: 1.2;
        }

        .main-content {
            position: relative;
            z-index: 3;
            padding: 40px 16px 80px;
        }

        .card {
            background: var(--white);
            border: 1px solid rgba(44,24,16,0.06);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-sm);
            overflow: hidden;
        }
        .card-body { padding: 16px; }

        .toolbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 12px;
        }
        .toolbar-title {
            font-size: 13px;
            font-weight: 700;
            color: var(--c-800);
        }
        .toolbar-btn {
            padding: 8px 14px;
            border-radius: 10px;
            background: var(--white);
            border: 1px solid var(--c-200);
            font-size: 11px;
            font-weight: 700;
            color: var(--c-700);
            transition: background 0.15s;
        }
        .toolbar-btn:hover { background: var(--c-50); }

        .filter-bar {
            display: grid;
            gap: 10px;
            margin-bottom: 16px;
        }
        .filter-row {
            display: grid;
            grid-template-columns: 1fr auto auto;
            gap: 10px;
            align-items: end;
        }
        .filter-group label {
            display: block;
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--c-500);
            margin-bottom: 6px;
        }
        .filter-input, .filter-select {
            width: 100%;
            padding: 10px 14px;
            border-radius: 12px;
            border: 1px solid var(--c-200);
            background: var(--white);
            font-size: 13px;
        }
        .filter-input:focus, .filter-select:focus {
            outline: none;
            border-color: var(--c-400);
            box-shadow: 0 0 0 3px rgba(196,154,108,0.15);
        }
        .filter-count {
            padding: 10px 14px;
            border-radius: 12px;
            background: var(--c-50);
            border: 1px solid var(--c-100);
            font-size: 11px;
            font-weight: 700;
            color: var(--c-600);
            white-space: nowrap;
        }

        .filter-chips {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
        }
        .filter-chip {
            padding: 6px 12px;
            border-radius: 999px;
            background: var(--white);
            border: 1px solid var(--c-200);
            font-size: 11px;
            font-weight: 700;
            color: var(--c-600);
            transition: all 0.15s;
        }
        .filter-chip:hover { background: var(--c-50); }
        .filter-chip.active {
            background: var(--c-600);
            border-color: var(--c-600);
            color: #fff;
        }

        .product-list {
            display: grid;
            gap: 12px;
        }
        .product-card {
            display: flex;
            gap: 12px;
            padding: 12px;
            border-radius: var(--radius);
            background: var(--white);
            border: 1px solid rgba(44,24,16,0.06);
            box-shadow: var(--shadow-sm);
            transition: transform 0.15s, box-shadow 0.15s;
        }
        .product-card:active { transform: scale(0.98); }
        .product-card.hidden { display: none; }
        .product-img {
            width: 80px;
            height: 80px;
            border-radius: 14px;
            object-fit: cover;
            background: var(--c-50);
            flex-shrink: 0;
        }
        .product-info {
            flex: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        .product-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 8px;
        }
        .product-name {
            font-size: 14px;
            font-weight: 700;
            color: var(--c-800);
            line-height: 1.3;
        }
        .product-meta {
            display: flex;
            align-items: center;
            gap: 6px;
            margin-top: 4px;
        }
        .product-category {
            font-size: 10px;
            font-weight: 600;
            padding: 2px 8px;
            border-radius: 999px;
            background: var(--c-50);
            border: 1px solid var(--c-100);
            color: var(--c-500);
        }
        .fav-btn {
            width: 32px;
            height: 32px;
            border-radius: 999px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            transition: transform 0.15s;
            flex-shrink: 0;
        }
        .fav-btn:active { transform: scale(0.85); }
        .fav-btn.inactive { background: var(--white); border: 1px solid var(--c-200); color: var(--c-400); }
        .fav-btn.active { background: #fef3c7; border: 1px solid #fde68a; color: #d97706; }

        .product-tags {
            display: flex;
            gap: 4px;
            margin-top: 6px;
            flex-wrap: wrap;
        }
        .tag {
            display: inline-flex;
            padding: 2px 8px;
            border-radius: 999px;
            font-size: 9px;
            font-weight: 700;
        }
        .tag-featured { background: #dbeafe; color: #1e40af; }
        .tag-campaign { background: #fef3c7; color: #92400e; }

        .product-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 8px;
            gap: 8px;
        }
        .product-price {
            font-size: 15px;
            font-weight: 600;
            color: var(--c-600);
        }
        .btn-add {
            padding: 8px 14px;
            border-radius: 10px;
            background: var(--c-600);
            color: #fff;
            font-size: 11px;
            font-weight: 700;
            transition: transform 0.1s;
        }
        .btn-add:active { transform: scale(0.93); }

        .footer {
            text-align: center;
            padding: 24px 16px;
            font-size: 11px;
            color: var(--c-400);
        }
        .footer a:hover { color: var(--c-600); }

        .overlay {
            position: fixed;
            inset: 0;
            z-index: 100;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 16px;
            background: rgba(26,14,10,0.5);
            backdrop-filter: blur(4px);
        }
        .overlay.open { display: flex; }
        .overlay-backdrop { position: absolute; inset: 0; }
        .modal {
            position: relative;
            z-index: 1;
            width: 100%;
            max-width: 420px;
            max-height: 85vh;
            display: flex;
            flex-direction: column;
            background: var(--white);
            border-radius: 24px;
            box-shadow: 0 24px 64px rgba(26,14,10,0.25);
            overflow: hidden;
            animation: modalIn 0.25s ease;
        }
        @keyframes modalIn {
            from { opacity: 0; transform: translateY(20px) scale(0.97); }
            to { opacity: 1; transform: translateY(0) scale(1); }
        }
        .modal-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 20px;
            border-bottom: 1px solid var(--c-100);
        }
        .modal-title { font-size: 16px; font-weight: 700; color: var(--c-800); }
        .modal-subtitle { font-size: 11px; color: var(--c-500); margin-top: 2px; }
        .modal-close {
            width: 32px;
            height: 32px;
            border-radius: 999px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--c-50);
            border: 1px solid var(--c-100);
            color: var(--c-500);
            font-size: 14px;
        }
        .modal-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
        .modal-footer { padding: 16px 20px; border-top: 1px solid var(--c-100); background: var(--c-50); }

        .form-group { margin-bottom: 12px; }
        .form-label {
            display: block;
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--c-500);
            margin-bottom: 6px;
        }
        .form-input {
            width: 100%;
            padding: 12px 14px;
            border-radius: 12px;
            border: 1px solid var(--c-200);
            background: var(--white);
            font-size: 14px;
            text-align: center;
            font-weight: 700;
        }
        .form-input:focus {
            outline: none;
            border-color: var(--c-400);
            box-shadow: 0 0 0 3px rgba(196,154,108,0.15);
        }
        .form-feedback { font-size: 12px; color: var(--c-500); min-height: 16px; margin: 8px 0; }

        .btn-primary {
            width: 100%;
            height: 48px;
            border-radius: 14px;
            background: var(--c-600);
            color: #fff;
            font-size: 14px;
            font-weight: 700;
        }
        .btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
        .btn-secondary {
            height: 44px;
            border-radius: 12px;
            background: var(--white);
            border: 1px solid var(--c-200);
            color: var(--c-700);
            font-size: 13px;
            font-weight: 600;
        }
        .btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

        .cart-summary {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 12px;
        }
        .cart-summary-label { font-size: 13px; color: var(--c-500); }
        .cart-summary-value { font-size: 18px; font-weight: 600; color: var(--c-600); }

        .cart-item {
            display: flex;
            gap: 12px;
            padding: 12px;
            border-radius: var(--radius);
            background: var(--c-50);
            margin-bottom: 10px;
        }
        .cart-item-img {
            width: 56px;
            height: 56px;
            border-radius: 12px;
            object-fit: cover;
            background: var(--white);
            flex-shrink: 0;
        }
        .cart-item-info { flex: 1; min-width: 0; }
        .cart-item-name { font-size: 13px; font-weight: 700; color: var(--c-800); }
        .cart-item-cat { font-size: 11px; color: var(--c-500); margin-top: 2px; }
        .cart-item-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 8px;
        }
        .qty-control {
            display: inline-flex;
            align-items: center;
            gap: 2px;
            padding: 2px;
            border-radius: 999px;
            background: var(--white);
            border: 1px solid var(--c-200);
        }
        .qty-btn {
            width: 28px;
            height: 28px;
            border-radius: 999px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            font-weight: 700;
        }
        .qty-value { min-width: 24px; text-align: center; font-size: 13px; font-weight: 700; }
        .cart-item-remove { font-size: 11px; font-weight: 600; color: var(--red); }
        .cart-item-total { font-size: 13px; font-weight: 700; color: var(--c-800); }

        .empty-state {
            text-align: center;
            padding: 32px 16px;
            color: var(--c-400);
            font-size: 13px;
        }

        .error-card {
            padding: 32px;
            text-align: center;
            background: var(--white);
            border-radius: var(--radius-lg);
            border: 1px solid rgba(44,24,16,0.06);
        }
        .error-text { color: var(--c-500); font-size: 14px; }

        @media (min-width: 640px) {
            .product-list { grid-template-columns: repeat(2, 1fr); }
            .product-card { flex-direction: column; }
            .product-img { width: 100%; height: 140px; }
        }
        @media (min-width: 900px) {
            body { padding: 20px; }
            .app-shell {
                border-radius: 24px;
                overflow: hidden;
                min-height: calc(100vh - 40px);
                box-shadow: 0 24px 64px rgba(26,14,10,0.12);
                border: 1px solid rgba(44,24,16,0.06);
            }
        }
        @media (max-width: 480px) {
            .filter-row { grid-template-columns: 1fr; }
            .filter-count { justify-self: start; }
        }

/* --- index.php landing --- */


        * { box-sizing: border-box; margin: 0; padding: 0; -webkit-font-smoothing: antialiased; }
        body {
            font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
            color: var(--c-text);
            background: #ebdcd0;
            min-height: 100vh;
            -webkit-tap-highlight-color: transparent;
            line-height: 1.4;
        }

        .app-shell {
            max-width: 480px;
            margin: 0 auto;
            background: var(--cream);
            min-height: 100vh;
            box-shadow: 0 0 60px rgba(13,7,5,0.15);
            display: flex;
            flex-direction: column;
            position: relative;
        }

        /* PREMIUM HIGH-CONTRAST HERO DESIGN */
        .hero {
            position: relative;
            height: 250px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 24px;
            overflow: hidden;
            background: var(--c-black);
        }
        .hero-bg {
            position: absolute;
            inset: 0;
            z-index: 0;
        }
        .hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: scale(1.02); }
        /* Parlamayı Sıfırlayan Katı Gradyan Filtre */
        .hero-bg::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(13,7,5,0.85) 0%, rgba(13,7,5,0.5) 45%, rgba(13,7,5,0.95) 100%);
        }
        
        .hero-header {
            position: relative;
            z-index: 2;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .hero-badge {
            background: rgba(255, 255, 255, 0.12);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            border: 1px solid rgba(255,255,255,0.18);
            color: var(--white);
            padding: 6px 14px;
            border-radius: 999px;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.06em;
            text-transform: uppercase;
        }
        
        .header-actions { display: flex; gap: 8px; }
        .circle-btn {
            width: 42px; height: 42px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.12);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            border: 1px solid rgba(255,255,255,0.18);
            color: var(--white);
            display: flex; align-items: center; justify-content: center;
            position: relative;
            cursor: pointer;
            transition: var(--transition);
        }
        .circle-btn:active { transform: scale(0.92); }
        .circle-btn svg { width: 20px; height: 20px; }
        .badge-count {
            position: absolute; top: -3px; right: -3px;
            background: var(--accent); color: white;
            font-size: 10px; font-weight: 600;
            min-width: 18px; height: 18px; padding: 0 4px;
            border-radius: 999px; display: flex; align-items: center; justify-content: center;
            box-shadow: 0 2px 6px rgba(0,0,0,0.3);
        }

        .hero-brand-card {
            position: relative;
            z-index: 2;
            display: flex;
            align-items: center;
            gap: 16px;
        }
        .brand-logo {
            width: 66px; height: 66px;
            border-radius: var(--radius-md);
            object-fit: cover;
            border: 2px solid rgba(255,255,255,0.9);
            box-shadow: 0 8px 20px rgba(0,0,0,0.3);
            background: var(--white);
        }
        .brand-name { 
            font-size: 24px; 
            font-weight: 600; 
            color: var(--white); 
            letter-spacing: -0.02em;
            text-shadow: 0 3px 15px rgba(0,0,0,0.9); /* Kusursuz Kontrast Koruması */
        }
        .brand-tagline { 
            font-size: 13px; 
            color: rgba(255,255,255,0.85); 
            margin-top: 3px; 
            font-weight: 400;
            text-shadow: 0 2px 10px rgba(0,0,0,0.8);
        }

        /* MAIN BODY CONTENT */
        .main-body { padding: 20px 16px 100px 16px; }

        /* CANLI ARAMA BARBARI */
        .search-container { margin-bottom: 20px; }
        .search-box {
            width: 100%;
            height: 50px;
            background: var(--white);
            border: 1px solid rgba(13,7,5,0.06);
            border-radius: var(--radius-md);
            padding: 0 18px;
            font-family: inherit;
            font-size: 14.5px;
            color: var(--c-dark);
            outline: none;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
        }
        .search-box:focus { border-color: var(--c-brand); box-shadow: var(--shadow-md); }

        /* HIZLI AKSİYON PANELİ */
        .action-card {
            background: var(--white);
            border: 1px solid rgba(13,7,5,0.03);
            border-radius: var(--radius-md);
            padding: 16px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-height: 115px;
            box-shadow: var(--shadow-sm);
            cursor: pointer;
            transition: var(--transition);
        }
        .action-card:active { transform: scale(0.96); }
        .action-card h3 { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 8px; color: var(--c-dark); }
        .action-card h3 svg { width: 18px; height: 18px; color: var(--c-brand); }
        .action-card p { font-size: 11.5px; color: var(--c-muted); margin: 6px 0 10px 0; line-height: 1.3; }
        .action-btn {
            background: var(--c-text);
            color: var(--white);
            font-size: 11px;
            font-weight: 700;
            height: 30px;
            border-radius: 8px;
            display: flex; align-items: center; justify-content: center;
            text-transform: uppercase;
            letter-spacing: 0.03em;
        }
        .action-btn.green { background: var(--accent-green); }

        /* AKORDİYON (TIKLAYINCA AÇILAN KATEGORİ) SİSTEMİ */
        .section-title { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--c-brand); margin-bottom: 12px; padding-left: 2px; }
        
        .accordion-group {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        
        .accordion-header {
            width: 100%;
            background: var(--white);
            border: 1px solid rgba(13,7,5,0.04);
            border-radius: var(--radius-md);
            padding: 14px 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            cursor: pointer;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
        }
        .accordion-header:active { transform: scale(0.98); }
        
        .accordion-left { display: flex; align-items: center; gap: 12px; }
        .accordion-icon-thumb { width: 36px; height: 36px; border-radius: var(--radius-sm); object-fit: cover; }
        .accordion-name { font-size: 15px; font-weight: 700; color: var(--c-dark); }
        .accordion-count { font-size: 12px; color: var(--c-muted); margin-left: 4px; font-weight: 500; }
        
        .accordion-arrow {
            color: var(--c-brand);
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        /* Açık Kategori Stili */
        .accordion-item.active .accordion-header {
            border-color: var(--c-brand);
            background: var(--c-light);
        }
        .accordion-item.active .accordion-arrow {
            transform: rotate(180deg);
        }

        /* Gizli Ürün Paneli Alanı */
        .accordion-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            flex-direction: column;
            gap: 10px;
            padding: 0 4px;
        }
        
        /* ÜRÜN KARTLARI */
        .product-card {
            background: var(--white);
            border-radius: var(--radius-md);
            padding: 12px;
            display: flex;
            gap: 12px;
            box-shadow: var(--shadow-sm);
            border: 1px solid rgba(13,7,5,0.02);
            margin-top: 10px;
        }
        .product-img {
            width: 80px; height: 80px;
            border-radius: var(--radius-sm);
            object-fit: cover;
            flex-shrink: 0;
            background: var(--c-light);
        }
        .product-details { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
        .product-name { font-size: 14.5px; font-weight: 700; color: var(--c-dark); }
        .product-desc { font-size: 11.5px; color: var(--c-muted); margin-top: 2px; line-height: 1.3; }
        
        .product-row-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
        .product-price { font-size: 15px; font-weight: 600; color: var(--c-text); }
        
        .add-to-cart-btn {
            background: var(--c-light);
            color: var(--c-brand);
            font-size: 11.5px; font-weight: 700;
            padding: 6px 14px;
            border-radius: 999px;
            border: none; cursor: pointer;
            transition: var(--transition);
        }
        .add-to-cart-btn:active { background: var(--c-brand); color: var(--white); }

        /* MODAL (BOTTOM POPUP) SİSTEMİ */
        .modal-overlay {
            position: fixed; inset: 0; z-index: 999;
            background: rgba(13,7,5,0.6);
            backdrop-filter: blur(5px);
            -webkit-backdrop-filter: blur(5px);
            display: flex; align-items: flex-end; justify-content: center;
            opacity: 0; pointer-events: none; transition: opacity 0.28s ease;
        }
        .modal-overlay.active { opacity: 1; pointer-events: auto; }
        
        .modal-sheet {
            width: 100%; max-width: 480px;
            background: var(--white);
            border-top-left-radius: var(--radius-lg);
            border-top-right-radius: var(--radius-lg);
            padding: 26px 20px;
            transform: translateY(100%);
            transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
            max-height: 85vh; overflow-y: auto;
        }
        .modal-overlay.active .modal-sheet { transform: translateY(0); }
        
        .modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
        .modal-title { font-size: 18px; font-weight: 600; color: var(--c-dark); }
        .modal-close { font-size: 26px; color: var(--c-muted); cursor: pointer; border: none; background: none; line-height: 1; }
        
        /* FORM YAPILARI */
        .form-group { margin-bottom: 16px; }
        .form-group label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 6px; color: var(--c-brand); text-transform: uppercase; }
        .form-control {
            width: 100%; height: 46px; background: var(--c-light);
            border: 1px solid rgba(13,7,5,0.06); border-radius: var(--radius-md);
            padding: 0 14px; font-family: inherit; font-size: 14.5px; color: var(--c-dark); outline: none;
        }
        .form-control:focus { border-color: var(--c-brand); background: var(--white); }
        .form-submit {
            width: 100%; height: 48px; background: var(--c-dark); color: var(--white);
            border-radius: var(--radius-md); font-weight: 700; font-size: 14px; margin-top: 12px;
            cursor: pointer; border: none; text-transform: uppercase; letter-spacing: 0.03em; transition: var(--transition);
        }

        /* SEPET KART ÖĞELERİ */
        .cart-item {
            display: flex; justify-content: space-between; align-items: center;
            padding: 14px 0; border-bottom: 1px solid var(--c-light);
        }
        .cart-item-info h4 { font-size: 14px; font-weight: 700; color: var(--c-dark); }
        .cart-item-info span { font-size: 12.5px; color: var(--accent); font-weight: 600; margin-top: 2px; display: block; }
        .cart-manage { display: flex; align-items: center; gap: 12px; }
        .cart-qty-btn { width: 30px; height: 30px; background: var(--c-light); color: var(--c-dark); border-radius: 50%; font-weight: 700; display: flex; align-items: center; justify-content: center; cursor: pointer; border: none; font-size: 14px; }

/* Faz 8 — corporate normalization */
body.cafe-menu-app {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: #eef2f7;
  color: #334155;
  overflow-x: hidden;
}

body.cafe-menu-app .app-shell {
  background: #fff;
  box-shadow: none;
  border-left: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
}

body.cafe-menu-app .hero {
  background: #1e293b;
  box-shadow: none;
}

body.cafe-menu-app .product-card,
body.cafe-menu-app .menu-item,
body.cafe-menu-app .item-card,
body.cafe-menu-app .category-card,
body.cafe-menu-app .cat-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: none;
  background: #fff;
}

body.cafe-menu-app .product-price,
body.cafe-menu-app .item-price,
body.cafe-menu-app .price-tag {
  color: #b45309;
  font-weight: 600;
}

body.cafe-menu-app .btn-primary,
body.cafe-menu-app .form-submit,
body.cafe-menu-app .btn-add,
body.cafe-menu-app .add-to-cart-btn {
  background: #b45309;
  box-shadow: none;
  font-weight: 600;
  border-radius: 10px;
}

body.cafe-menu-app .btn-secondary,
body.cafe-menu-app .ghost-btn {
  border: 1px solid #e2e8f0;
  background: #fff;
  font-weight: 600;
  border-radius: 10px;
}

body.cafe-menu-app .modal,
body.cafe-menu-app .modal-sheet,
body.cafe-menu-app .overlay .modal {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

body.cafe-menu-app .form-input,
body.cafe-menu-app .form-control,
body.cafe-menu-app .form-textarea,
body.cafe-menu-app .search-input,
body.cafe-menu-app .search-box,
body.cafe-menu-app .filter-input,
body.cafe-menu-app .filter-select {
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  min-height: 44px;
}

@media (max-width: 390px) {
  body.cafe-menu-app .app-shell {
    max-width: 100%;
    border-left: 0;
    border-right: 0;
  }
  body.cafe-menu-app .hero {
    padding-left: 12px;
    padding-right: 12px;
  }
  body.cafe-menu-app .product-card,
  body.cafe-landing-app .product-card {
    flex-direction: column;
  }
  body.cafe-menu-app .product-footer,
  body.cafe-menu-app .product-row-bottom {
    flex-wrap: wrap;
    gap: 8px;
  }
  body.cafe-menu-app .filter-row {
    grid-template-columns: 1fr;
  }
}

/* FAZ 10 — customer-menu.css taban düzen tamamlayıcı */
body.cafe-menu-app .main-content {
  max-width: 100%;
}




/* FAZ 12 — merged from customer-menu-faz6.css */

/* Customer Menu — Faz 8 override layer (loads after customer-menu.css)
   Minimal corporate corrections; no new gradients or effects. */

body.cafe-menu-app {
    background: #eef2f7 !important;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
}

body.cafe-menu-app .app-shell {
    background: #fff !important;
    box-shadow: none !important;
}

body.cafe-menu-app .hero {
    background: #1e293b !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

body.cafe-menu-app .hero-title,
body.cafe-menu-app .hero h1,
body.cafe-menu-app .hero-brand-name,
body.cafe-menu-app .brand-name {
    color: #f8fafc !important;
    font-weight: 600 !important;
}

body.cafe-menu-app .hero-sub,
body.cafe-menu-app .hero-tagline,
body.cafe-menu-app .hero-desc,
body.cafe-menu-app .brand-tagline {
    color: #94a3b8 !important;
}

body.cafe-menu-app .category-grid a,
body.cafe-menu-app .category-card,
body.cafe-menu-app .cat-card,
body.cafe-menu-app .category-tile,
body.cafe-menu-app .accordion-item {
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
}

body.cafe-menu-app .category-grid a:hover,
body.cafe-menu-app .category-card:active,
body.cafe-menu-app .category-tile:hover,
body.cafe-menu-app .product-card:hover {
    transform: none !important;
    box-shadow: none !important;
}

body.cafe-menu-app .product-card,
body.cafe-menu-app .menu-item,
body.cafe-menu-app .item-card {
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    background: #fff !important;
}

body.cafe-menu-app .product-name,
body.cafe-menu-app .product-details h4 {
    font-weight: 600 !important;
    color: #0f172a !important;
}

body.cafe-menu-app .product-desc {
    color: #64748b !important;
    font-size: 13px !important;
}

body.cafe-menu-app .product-price,
body.cafe-menu-app .item-price,
body.cafe-menu-app .price-tag {
    color: #b45309 !important;
    font-weight: 600 !important;
}

body.cafe-menu-app .chip,
body.cafe-menu-app .cat-chip,
body.cafe-menu-app .filter-chip {
    min-height: 40px;
    padding: 8px 14px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    border: 1px solid #e2e8f0 !important;
    background: #fff !important;
}

body.cafe-menu-app .chip.active,
body.cafe-menu-app .cat-chip.active,
body.cafe-menu-app .filter-chip.active {
    background: #b45309 !important;
    color: #fff !important;
    border-color: #b45309 !important;
}

body.cafe-menu-app .btn-primary,
body.cafe-menu-app .sticky-action,
body.cafe-menu-app .fab-order,
body.cafe-menu-app .order-btn,
body.cafe-menu-app .form-submit,
body.cafe-menu-app .btn-add {
    min-height: 44px !important;
    border-radius: 10px !important;
    background: #b45309 !important;
    color: #fff !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    border: none !important;
}

body.cafe-menu-app .btn-secondary,
body.cafe-menu-app .ghost-btn,
body.cafe-menu-app .hero-btn {
    min-height: 40px !important;
    border-radius: 10px !important;
    border: 1px solid #e2e8f0 !important;
    background: #fff !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}

body.cafe-menu-app .sticky-bar,
body.cafe-menu-app .bottom-bar,
body.cafe-menu-app .cart-bar {
    background: #fff !important;
    backdrop-filter: none !important;
    border-top: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
}

body.cafe-menu-app .modal,
body.cafe-menu-app .modal-sheet,
body.cafe-menu-app .overlay .modal {
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1) !important;
}

body.cafe-menu-app .form-input,
body.cafe-menu-app .form-control,
body.cafe-menu-app .form-textarea,
body.cafe-menu-app .search-input,
body.cafe-menu-app .search-box {
    border-radius: 10px !important;
    border: 1px solid #cbd5e1 !important;
}

body.cafe-menu-app .featured-badge,
body.cafe-menu-app .campaign-badge,
body.cafe-menu-app .tag-campaign,
body.cafe-menu-app .tag-featured {
    background: #fef3c7 !important;
    color: #92400e !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
}

body.cafe-landing-app .hero {
    min-height: 220px !important;
}

body.cafe-landing-app .hero-badge {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    color: #e2e8f0 !important;
    font-weight: 600 !important;
}

body.cafe-landing-app .action-card {
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
    border-radius: 12px !important;
}

@media (max-width: 768px) {
    body.cafe-menu-app .app-shell {
        max-width: 100% !important;
        border: 0 !important;
    }
}

@media (max-width: 390px) {
    body.cafe-menu-app .product-list,
    body.cafe-menu-app .main-content {
        padding-left: 12px;
        padding-right: 12px;
    }

    body.cafe-menu-app .product-footer,
    body.cafe-menu-app .product-row-bottom {
        align-items: flex-start;
    }

    body.cafe-menu-app .btn-add,
    body.cafe-menu-app .add-to-cart-btn {
        width: 100%;
    }
}

/* FAZ 9 — QR menü kurumsal tamamlama */
body.cafe-landing-app .hero {
    min-height: 168px !important;
    max-height: 200px;
}

body.cafe-landing-app .hero-badge {
    display: none !important;
}

body.cafe-landing-app .hero-bg::after {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.55), rgba(30, 41, 59, 0.92)) !important;
}

body.cafe-landing-app .hero-brand-card {
    padding: 12px 16px !important;
    margin: 0 12px 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.06) !important;
}

body.cafe-landing-app .brand-logo {
    width: 48px !important;
    height: 48px !important;
    border-radius: 10px !important;
}

body.cafe-landing-app .brand-name {
    font-size: 18px !important;
}

body.cafe-landing-app .brand-tagline {
    font-size: 12px !important;
}

body.cafe-landing-app .search-container {
    padding: 0 12px 8px !important;
}

body.cafe-landing-app .category-grid {
    gap: 8px !important;
    padding: 0 12px 12px !important;
}

body.cafe-menu-app .hero-header,
body.cafe-menu-app .menu-hero {
    min-height: auto !important;
    padding: 12px 14px !important;
    background: #1e293b !important;
}

body.cafe-menu-app .sticky-footer,
body.cafe-menu-app .order-sticky-bar {
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
}

body.cafe-menu-app .waiter-call-btn,
body.cafe-menu-app .btn-waiter {
    min-height: 44px !important;
    border: 1px solid #e2e8f0 !important;
    background: #fff !important;
    color: #0f172a !important;
    font-weight: 600 !important;
}

body.cafe-menu-app .product-card,
body.cafe-menu-app .menu-product {
    padding: 10px !important;
}

body.cafe-menu-app .product-price,
body.cafe-menu-app .price-tag {
    font-size: 15px !important;
}

@media (max-width: 360px) {
    body.cafe-landing-app .hero {
        min-height: 150px !important;
    }

    body.cafe-menu-app .app-shell {
        overflow-x: hidden;
    }
}

/* ===================================================================
   FAZ 10 — QR menü orantı ve profesyonel kart sistemi
   =================================================================== */

body.cafe-menu-app .app-shell,
body.cafe-landing-app .app-shell {
    max-width: var(--pos-max-menu, 920px) !important;
    margin: 0 auto !important;
    width: 100%;
}

body.cafe-menu-app .main-content,
body.cafe-landing-app .main-body {
    padding: 16px 16px calc(80px + env(safe-area-inset-bottom, 0px)) !important;
}

/* Hero — kompakt, kurumsal */
body.cafe-menu-app .hero {
    position: relative;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    background: #1e293b !important;
}

body.cafe-menu-app .hero-bg {
    position: absolute;
    inset: 0;
    height: 132px;
}

body.cafe-menu-app .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

body.cafe-menu-app .hero-bg::after {
    background: rgba(15, 23, 42, 0.72) !important;
}

body.cafe-menu-app .hero-top {
    position: relative;
    z-index: 2;
    padding: 12px 16px 0 !important;
    align-items: center;
    gap: 8px;
}

body.cafe-menu-app .hero-top-left {
    flex-wrap: wrap;
    gap: 6px;
}

body.cafe-menu-app .header-chip {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
}

body.cafe-menu-app .hero-actions {
    gap: 6px;
    flex-shrink: 0;
}

body.cafe-menu-app .hero-btn {
    min-height: 40px;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.1);
    color: #f8fafc;
}

body.cafe-menu-app .hero-btn-icon {
    width: 40px;
    padding: 0;
    justify-content: center;
}

body.cafe-menu-app .hero-card {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 16px 0 !important;
    padding: 12px 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: none !important;
}

body.cafe-menu-app .hero-logo-wrap {
    width: 52px !important;
    height: 52px !important;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

body.cafe-menu-app .hero-logo {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 0 !important;
}

body.cafe-menu-app .hero-title {
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.25;
    color: #f8fafc !important;
}

body.cafe-menu-app .hero-tagline {
    font-size: 12px !important;
    margin-top: 2px;
    color: #94a3b8 !important;
    line-height: 1.35;
}

/* Özet şerit — kompakt */





body.cafe-menu-app .section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
    margin: 16px 0 8px;
}

body.cafe-menu-app .section-label span {
    display: block;
}

/* Kategori grid */
body.cafe-menu-app .category-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
}

body.cafe-menu-app .category-card {
    aspect-ratio: 4 / 3;
    min-height: 120px;
    border-radius: 10px !important;
    overflow: hidden;
    position: relative;
}

body.cafe-menu-app .category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.cafe-menu-app .category-card-name {
    font-size: 13px !important;
    font-weight: 700 !important;
}

body.cafe-menu-app .category-card-count {
    font-size: 10px !important;
}

body.cafe-menu-app .filter-chips,
body.cafe-menu-app .filter-bar .filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

body.cafe-menu-app .filter-chip {
    min-height: 36px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
    border-radius: 999px !important;
}

body.cafe-menu-app .filter-chip.active {
    background: #1e293b !important;
    border-color: #1e293b !important;
    color: #fff !important;
}

/* Ürün grid — 1 / 2 / 3 kolon */
body.cafe-menu-app .product-list {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 0 !important;
}

body.cafe-menu-app .product-card {
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    overflow: hidden;
    border-radius: 10px !important;
    border: 1px solid #e2e8f0 !important;
    background: #fff !important;
    height: 100%;
}

body.cafe-menu-app .product-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #f1f5f9;
    overflow: hidden;
    flex-shrink: 0;
}

body.cafe-menu-app .product-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #f1f5f9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='1.5'%3E%3Cpath d='M3 3h18v18H3z'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E") center / 40px no-repeat;
    z-index: 0;
}

body.cafe-menu-app .product-media .product-img {
    position: relative;
    z-index: 1;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto;
    border-radius: 0 !important;
    object-fit: cover;
    background: transparent;
}

body.cafe-menu-app .product-card > .product-img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3;
    border-radius: 0 !important;
    object-fit: cover;
    background: #f1f5f9;
}

body.cafe-menu-app .product-info {
    padding: 12px 14px 14px !important;
    flex: 1;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px;
}

body.cafe-menu-app .product-name {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.3;
}

body.cafe-menu-app .product-category,
body.cafe-menu-app .product-meta .product-category {
    font-size: 10px !important;
    font-weight: 600 !important;
    padding: 3px 8px !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #64748b !important;
}

body.cafe-menu-app .product-desc {
    font-size: 12px !important;
    color: #64748b !important;
    line-height: 1.45;
    margin-top: 4px;
}

body.cafe-menu-app .product-tags {
    margin-top: 4px !important;
}

body.cafe-menu-app .tag {
    font-size: 10px !important;
    padding: 3px 8px !important;
}

body.cafe-menu-app .product-footer {
    margin-top: auto !important;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
    align-items: center;
}

body.cafe-menu-app .product-price {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #b45309 !important;
}

body.cafe-menu-app .btn-add,
body.cafe-menu-app .add-to-cart {
    min-height: 40px !important;
    padding: 0 14px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    white-space: nowrap;
}

body.cafe-menu-app .fav-btn {
    width: 34px;
    height: 34px;
}

/* Landing (index) — aynı kart dili */
body.cafe-landing-app .hero {
    min-height: 0 !important;
    max-height: none;
    padding-bottom: 0 !important;
}

body.cafe-landing-app .hero-bg {
    height: 128px;
}

body.cafe-landing-app .hero-header {
    padding: 12px 16px 0 !important;
}

body.cafe-landing-app .hero-brand-card {
    margin: 10px 16px 0 !important;
}

body.cafe-landing-app .main-body {
    padding: 16px 16px calc(72px + env(safe-area-inset-bottom, 0px)) !important;
}

body.cafe-landing-app .accordion-content {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px 4px 4px !important;
}

body.cafe-landing-app .accordion-content .product-card {
    flex-direction: column !important;
    padding: 0 !important;
    overflow: hidden;
    margin-top: 0 !important;
}

body.cafe-landing-app .accordion-content .product-img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3;
    border-radius: 0 !important;
}

body.cafe-landing-app .accordion-content .product-details {
    padding: 12px 14px 14px;
}

body.cafe-landing-app .accordion-content .product-name {
    font-size: 15px;
    font-weight: 700;
}

body.cafe-landing-app .accordion-content .product-row-bottom {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
}

body.cafe-landing-app .add-to-cart-btn {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 8px !important;
    background: #b45309 !important;
    color: #fff !important;
}


body.cafe-landing-app .action-card {
    padding: 14px !important;
}

body.cafe-landing-app .action-card h3 {
    font-size: 14px !important;
    font-weight: 700 !important;
}

body.cafe-landing-app .action-card p {
    font-size: 12px !important;
    margin-bottom: 10px !important;
}

/* Sticky alt bar */
.menu-sticky-bar {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    z-index: 90;
    width: 100%;
    max-width: var(--pos-max-menu, 920px);
    display: flex;
    gap: 8px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.06);
}

.menu-sticky-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #334155;
    text-decoration: none;
}

.menu-sticky-btn.menu-sticky-waiter {
    flex: 0 0 auto;
    min-width: 110px;
    border-color: #cbd5e1;
}

.menu-sticky-btn.menu-sticky-cart {
    background: #b45309;
    border-color: #b45309;
    color: #fff;
}

.menu-sticky-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
    font-size: 11px;
    font-weight: 700;
}

.menu-sticky-badge.hidden {
    display: none;
}

body.cafe-menu-app .card .card-body {
    padding: 14px 16px !important;
}

body.cafe-menu-app .toolbar {
    align-items: center;
    gap: 12px;
}

body.cafe-menu-app .toolbar-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

body.cafe-menu-app .toolbar-btn {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

@media (min-width: 640px) {
    body.cafe-menu-app .product-list,
    body.cafe-landing-app .accordion-content {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.cafe-menu-app .category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (min-width: 900px) {
    body.cafe-menu-app .product-list {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 414px) {
    body.cafe-menu-app .hero-top {
        flex-wrap: wrap;
    }

    body.cafe-menu-app .hero-actions {
        width: 100%;
        justify-content: flex-end;
    }


    body.cafe-menu-app .product-footer {
        flex-wrap: wrap;
    }

    body.cafe-menu-app .btn-add {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 360px) {
    body.cafe-menu-app .category-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }

    body.cafe-menu-app .menu-sticky-bar {
        padding-left: 12px;
        padding-right: 12px;
    }

    .menu-sticky-btn.menu-sticky-waiter {
        min-width: 96px;
        font-size: 12px;
    }
}


/* FAZ 12 — merged from faz11-layout.css (customer) */





.cafe-menu-app .menu-topbar.faz11-topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    padding: 8px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    max-width: var(--pos-max-menu, 920px);
    margin: 0 auto;
    width: 100%;
}

.cafe-menu-app .menu-topbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}

.cafe-menu-app .menu-topbar-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.cafe-menu-app .menu-topbar-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cafe-menu-app .menu-topbar-text strong {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cafe-menu-app .menu-topbar-text span {
    font-size: 11px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cafe-menu-app .menu-topbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.cafe-menu-app .menu-topbar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    text-decoration: none;
}

.cafe-menu-app .menu-topbar-btn-waiter {
    background: #f8fafc;
}

.cafe-menu-app .menu-topbar-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: #0f172a;
    flex-shrink: 0;
}

.cafe-menu-app .main-content {
    max-width: var(--pos-max-menu, 920px);
    margin: 0 auto;
    padding: 16px 16px 80px;
}

.cafe-menu-app .section-label {
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
}

.cafe-menu-app .category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.cafe-menu-app .category-card {
    aspect-ratio: 4 / 3;
    min-height: 120px;
    border-radius: 8px;
    overflow: hidden;
}

.cafe-menu-app .product-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.cafe-menu-app .product-list .product-card {
    display: flex;
    flex-direction: column;
    min-height: 280px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #fff;
    overflow: hidden;
}

.cafe-menu-app .product-list .product-media {
    aspect-ratio: 4 / 3;
    background: #f1f5f9;
    overflow: hidden;
}

.cafe-menu-app .product-list .product-media img,
.cafe-menu-app .product-list .product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cafe-menu-app .product-list .product-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 12px;
    gap: 8px;
}

.cafe-menu-app .product-list .product-name {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
}

.cafe-menu-app .product-list .product-meta {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
    min-height: 16px;
}

.cafe-menu-app .product-list .product-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 8px;
}

.cafe-menu-app .product-list .product-price {
    font-size: 16px;
    font-weight: 700;
}

.cafe-menu-app .product-list .btn-add {
    min-height: 44px;
    padding: 0 16px;
    border-radius: 8px;
}

.cafe-menu-app .menu-sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 110;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    min-height: 56px;
    padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid #e2e8f0;
    max-width: var(--pos-max-menu, 920px);
    margin: 0 auto;
}

.cafe-menu-app .menu-sticky-btn {
    min-height: 44px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
}

@media (min-width: 640px) {
    .cafe-menu-app .product-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 960px) {
    .cafe-menu-app .category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cafe-menu-app .product-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cafe-menu-app .menu-sticky-bar {
        display: none;
    }
}


.cafe-menu-app .category-card {
    min-height: 96px;
}

.cafe-menu-app .popular-strip {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.cafe-menu-app .popular-card {
    flex: 0 0 132px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    text-decoration: none;
    color: inherit;
}

.cafe-menu-app .popular-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    background: #f1f5f9;
}

.cafe-menu-app .popular-name {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    color: #0f172a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cafe-menu-app .popular-price {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
}

.cafe-menu-app .product-list .product-card {
    min-height: 240px;
}

.cafe-menu-app .product-list .product-meta {
    min-height: 0;
}

.cafe-menu-app .faz11b-filter-compact .filter-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: end;
}

.cafe-menu-app .faz11b-filter-compact .filter-group label {
    font-size: 11px;
    margin-bottom: 4px;
}

.cafe-menu-app .faz11b-filter-compact .filter-chips {
    margin-top: 8px;
}

.cafe-menu-app .faz11b-filter-compact .card-body {
    padding: 12px;
}

body.waiter-app .table-section-hint {
    display: none;
}

body.waiter-app .header-logout[href*="admin_home"] {
    display: none;
}

@media (max-width: 480px) {
    body.waiter-app .header-user {
        display: none;
    }
}



