:root {
    /* Premium Palette - Dark Slate & Indigo */
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --primary-glow: rgba(99, 102, 241, 0.25);
    --primary-light: rgba(99, 102, 241, 0.1);
    
    --accent-color: #10b981;
    --accent-hover: #059669;
    --danger-color: #ef4444;

    /* Neutral / Dark Nuances */
    --bg-body: #f1f5f9;
    --bg-white: #ffffff;
    --sidebar-bg: #0f172a;
    --card-bg: rgba(255, 255, 255, 0.9);
    
    --text-dark: #0f172a;
    --text-medium: #475569;
    --text-light: #94a3b8;
    --text-muted: #64748b;
    
    --border-color: #e2e8f0;
    --glass-border: rgba(255, 255, 255, 0.2);
    
    /* Elevation & Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-soft: 0 4px 20px -5px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px -15px rgba(0, 0, 0, 0.12);
    
    --radius-md: 0.75rem;
    --radius-lg: 1.25rem;
    --radius-xl: 2rem;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-body);
    color: var(--text-dark);
    overflow: hidden;
    height: 100%;
}

.app-container {
    display: flex;
    height: 100vh;
}

.admin-cikis a {
    color: #000;
    border-color: #000;
    border: 1px solid #000 !important;
    background: #fff !important;
}

@media screen and (min-width: 724px) {
  /* Your CSS rules for larger screens go here */
  .user-info .name, .user-info .role, .brand span {
    color: #ffffff !important; }
    
}

.hamburger-btn,
#close-sidebar-btn {
    display: none;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background: var(--sidebar-bg);
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1rem;
    flex-shrink: 0;
    overflow-y: auto;
    z-index: 50;
    transition: var(--transition);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 0.5rem;
    margin-bottom: 2.5rem;
}

.brand i {
    font-size: 1.5rem;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color), #a855f7);
    padding: 0.6rem;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 15px rgba(99, 102, 241, 0.3);
}

.brand span {
    color: #000;
    font-weight: 800;
    font-size: 1.25rem;
}

.nav-links {
    list-style: none;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.nav-links li {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.nav-links li i {
    font-size: 1.1rem;
}

.nav-links li:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.nav-links li.active {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.3);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    margin-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.user-profile img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bg-body);
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-info .name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #000;
}

.user-info .role {
    font-size: 0.8rem;
    color: rgb(0 0 0 / 50%);
    font-weight: 500;
}

/* Main Content Area */
.main-content {
    flex-grow: 1;
    padding: 2.5rem 3rem;
    overflow-y: auto;
    background-color: var(--bg-body);
    position: relative;
    transition: var(--transition);
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    background: transparent;
}

h1#page-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.03em;
}

/* Dashboard Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-info h3 {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.stat-info .value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-dark);
}

.stat-info .trend {
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.trend.up { color: var(--accent-color); }
.trend.down { color: #ef4444; }

/* Settings Cards Modernization */
.settings-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.settings-card:hover {
    box-shadow: var(--shadow-hover);
}

.settings-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.settings-card h3 i {
    color: var(--primary-color);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 8px -1px rgba(79, 70, 229, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: white;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--bg-body);
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.btn-secondary:active {
    transform: translateY(0);
}

/* Secondary outline button for specific actions */
.btn-secondary-outline {
    background-color: transparent;
    color: var(--text-medium);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.btn-secondary-outline:hover {
    border-color: var(--text-medium);
    color: var(--text-dark);
}

.btn-ai {
    background: linear-gradient(135deg, var(--primary-color) 0%, #a855f7 100%);
    color: white;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.btn-ai:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(79, 70, 229, 0.35);
    filter: brightness(1.1);
}

.btn-ai:active {
    transform: translateY(0);
}

.btn-ai i {
    font-size: 1rem;
}

/* AI Loader Animation */
.ai-loader {
    width: 48px;
    height: 48px;
    border: 5px solid #6366f1;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    margin: 1rem auto;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Tab Contents */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Controls (Search & Filter) */
.controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
    background: white;
    padding: 1rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.search-bar {
    background: var(--bg-body);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid var(--border-color);
    flex-grow: 1;
    max-width: 450px;
    transition: all 0.2s ease;
}

.search-bar:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
    background: white;
}

.search-bar i {
    color: var(--text-light);
    font-size: 1.1rem;
}

.search-bar input {
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.search-bar input::placeholder {
    color: var(--text-light);
}

.filter-dropdown select {
    padding: 0.75rem 2.5rem 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.filter-dropdown select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
    background-color: white;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-glow);
}

.product-card.dragging {
    opacity: 0.5;
    border: 2px dashed var(--primary-color) !important;
}

.product-card.drag-over-prev {
    box-shadow: -6px 0 0 0 var(--primary-color), var(--shadow-sm) !important;
    transform: scale(0.98);
}

.product-card.drag-over-next {
    box-shadow: 6px 0 0 0 var(--primary-color), var(--shadow-sm) !important;
    transform: scale(0.98);
}

.product-image {
    height: 180px;
    width: 100%;
    object-fit: cover;
    background-color: var(--bg-body);
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: white;
    position: relative;
    z-index: 1;
}

.product-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.product-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--primary-color);
    background: var(--primary-light);
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    letter-spacing: 0.05em;
    font-weight: 800;
    margin-bottom: 0.75rem;
    display: inline-flex;
    align-self: flex-start;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px dashed var(--border-color);
}

.price {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-dark);
}

.card-actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: white;
    color: var(--text-medium);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s;
}

.action-btn:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.action-btn.delete:hover {
    background-color: #fee2e2;
    color: var(--danger-color);
    border-color: #fecaca;
}

/* Category Management */
.category-list {
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.category-item:last-child {
    border-bottom: none;
}

.category-item:hover {
    background-color: var(--bg-body);
}

.cat-info {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.cat-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.25rem;
    transition: transform 0.2s;
}

.category-item:hover .cat-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Customer Modern UI Styles */
.btn-comm {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: white;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.btn-comm:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px -1px rgba(0,0,0,0.1);
}

.btn-comm.whatsapp:hover {
    background: #25d366;
    color: white;
    border-color: #25d366;
}

.btn-comm.phone:hover {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.btn-comm.copy:hover {
    background: #64748b;
    color: white;
    border-color: #64748b;
}

span#cart-badge{
    display:none;
}
.status-badge {
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.badge-vip {
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
    color: #db2777;
    border: 1px solid #fbcfe8;
}

.badge-loyal {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    color: #d97706;
    border: 1px solid #fde68a;
}

.badge-new {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.icon-selector-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
    max-height: 250px;
    overflow-y: auto;
    background: #f8fafc;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-top: 0.5rem;
}

.icon-option {
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1.2rem;
    color: var(--text-medium);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-option:hover {
    background: var(--primary-light);
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.icon-option.selected {
    border-color: var(--primary-color);
    background: var(--primary-light);
    color: var(--primary-color);
    box-shadow: 0 4px 12px var(--primary-glow);
    transform: scale(1.05);
}

/* Prices Table */
.prices-table-container {
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    overflow: hidden;
    overflow-x: auto;
    box-shadow: var(--shadow-sm);
}

.prices-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.prices-table th,
.prices-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.prices-table th {
    background-color: var(--bg-body);
    font-weight: 800;
    font-size: 0.75rem;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.prices-table td {
    font-size: 0.95rem;
    color: var(--text-dark);
    vertical-align: middle;
}

.prices-table tbody tr:last-child td {
    border-bottom: none;
}

.prices-table tbody tr:hover {
    background-color: #f8fafc;
}

.prices-table .price-input {
    width: 120px;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s;
}

.prices-table .price-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Settings & Design Grid */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.settings-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.settings-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.settings-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
}

.color-input-group {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: var(--bg-body);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.color-input-group input[type="color"] {
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    background: none;
    padding: 0;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.qr-preview {
    text-align: center;
    background: var(--bg-body);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    margin-bottom: 1.5rem;
    border: 1px dashed var(--border-color);
}

.qr-preview i {
    font-size: 8rem;
    color: var(--text-light);
}

/* Nested Settings Tabs */
.settings-tabs-nav {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: none;
    /* Firefox */
}

.settings-tabs-nav::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.settings-tab-btn {
    background: transparent;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    color: var(--text-medium);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.settings-tab-btn:hover {
    background: var(--bg-body);
    color: var(--text-dark);
}

.settings-tab-btn.active {
    background: var(--primary-light);
    color: var(--primary-color);
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.1);
}

.settings-tab-pane {
    display: none;
    animation: fadeIn 0.3s ease;
}

.settings-tab-pane.active {
    display: block;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: white;
    width: 100%;
    max-width: 550px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    transform: scale(0.95) translateY(20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-overlay.open .modal {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 1.75rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
}

.modal-header h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.close-modal {
    background: var(--bg-body);
    border: none;
    font-size: 1.25rem;
    color: var(--text-medium);
    cursor: pointer;
    transition: all 0.2s;
    width: 80px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    color: var(--danger-color);
    background: #fee2e2;
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1.25rem;
}

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

input[type="text"],
input[type="number"],
input[type="url"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="time"],
select,
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s;
    background: var(--bg-body);
    font-weight: 500;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--primary-light);
    background: white;
}

/* Image Upload Styling */
.image-preview {
    width: 100%;
    height: 200px;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: all 0.2s;
}

.image-preview:hover {
    border-color: var(--primary-color);
    background-color: var(--secondary-color);
}

.image-preview input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}

.image-preview i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.image-preview.has-image i,
.image-preview.has-image p {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    color: white;
    z-index: 2;
}

.image-preview.has-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    background-color: var(--secondary-color);
}

/* =========================================
   CUSTOMER MENU STYLES (Mobile First)
   ========================================= */

.menu-body {
    background-color: var(--m-canvas);
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-y: auto;
    min-height: 100vh;

    /* ===== SOFT MODERN — müşteri menüsü tasarım token'ları ===== */
    --m-canvas: #f6f5f2;
    --m-surface: #ffffff;
    --m-surface-2: #f3f2ef;
    --m-ink: #17161c;
    --m-ink-soft: #6c6b76;
    --m-ink-faint: #9a99a3;
    --m-line: #ecebe8;
    --m-radius: 24px;
    --m-radius-sm: 16px;
    --m-radius-xs: 12px;
    --m-pill: 999px;
    --m-shadow-sm: 0 1px 2px rgba(20, 19, 26, 0.04), 0 4px 10px -4px rgba(20, 19, 26, 0.08);
    --m-shadow: 0 8px 24px -10px rgba(20, 19, 26, 0.16), 0 2px 6px -2px rgba(20, 19, 26, 0.06);
    --m-shadow-lg: 0 30px 60px -24px rgba(20, 19, 26, 0.28);
    --m-focus: 0 0 0 4px color-mix(in srgb, var(--primary-color) 20%, transparent);
    --m-accent-soft: color-mix(in srgb, var(--primary-color) 12%, #ffffff);
}

/* Header / Hero */
.menu-header {
    height: 240px;
    position: relative;
    color: white;
    border-radius: 0 0 28px 28px;
    overflow: hidden;
}

.menu-cover {
    background-color: var(--primary-color, #1e293b);
    /* Varsayılan arka plan (eğer admin görsel yüklemezse bu görünür) */
    background-image: url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80');
    background-size: cover;
    background-position: center;
    height: 100%;
    width: 100%;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.menu-cover .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 14, 20, 0.82) 0%, rgba(15, 14, 20, 0.28) 45%, rgba(15, 14, 20, 0.04) 100%);
}

.restaurant-info {
    position: relative;
    z-index: 2;
    padding: 1.5rem 1.5rem 1.75rem;
    width: 100%;
}

.logo-circle {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--m-ink);
    font-size: 1.5rem;
    box-shadow: 0 12px 26px -10px rgba(0, 0, 0, 0.5);
    margin-bottom: 0.9rem;
    border: 3px solid rgba(255, 255, 255, 0.7);
}

.restaurant-info h1 {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.3rem;
    color: white;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.28);
}

.tagline {
    font-size: 0.9rem;
    opacity: 0.92;
    margin-bottom: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
}

.info-badges {
    display: flex;
    gap: 0.6rem;
    font-size: 0.8rem;
}

.info-badges span {
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.35rem 0.75rem;
    border-radius: var(--m-pill);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

/* Sticky Category Nav */
.category-nav-wrapper {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--m-canvas);
    background: color-mix(in srgb, var(--m-canvas) 82%, transparent);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 0.55rem 0;
    box-shadow: 0 1px 0 var(--m-line);
    height: 62px;
    /* Sabit yükseklik kitlemek için en garantisidir */
    display: flex;
    align-items: center;
}

.category-scroll {
    display: flex;
    align-items: center;
    /* Elemanları tam ortaya mühürle */
    overflow-x: auto;
    gap: 0.75rem;
    padding: 0 1.5rem;
    list-style: none;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    white-space: nowrap;
    width: 100%;
}

.category-scroll::-webkit-scrollbar {
    display: none;
    /* Chrome */
}

.cat-tab {
    padding: 0.55rem 1.1rem;
    background: var(--m-surface);
    color: var(--m-ink-soft);
    border-radius: var(--m-pill);
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s, color 0.25s, box-shadow 0.25s, border-color 0.25s;
    border: 1px solid var(--m-line);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    /* Dikey oynamayı bitiren kritik satır */
    line-height: 1.2;
}

.cat-tab i {
    font-size: 1rem;
}

.cat-tab.active {
    background: var(--primary-color);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--primary-color) 60%, transparent);
    transform: none;
}

/* Menu Content */
.menu-content {
    padding: 1.5rem;
    background: transparent;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.section-title h2 {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--m-ink);
}

.section-title .count {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--m-ink-soft);
    background: var(--m-surface);
    border: 1px solid var(--m-line);
    padding: 0.2rem 0.65rem;
    border-radius: var(--m-pill);
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Default mobile 1 column */
    gap: 1.25rem;
    margin-bottom: 50px;
}

/* Landscape/Tablet */
@media (min-width: 600px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.menu-item-card {
    background: var(--m-surface);
    border-radius: var(--m-radius);
    overflow: hidden;
    box-shadow: var(--m-shadow-sm);
    display: flex;
    flex-direction: row;
    height: auto;
    align-items: stretch;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    border: 1px solid var(--m-line);
}

.menu-item-card:hover {
    box-shadow: var(--m-shadow);
    transform: translateY(-2px);
}

.menu-item-card:active {
    transform: scale(0.985);
}

.menu-item-img {
    width: 116px;
    height: 116px;
    object-fit: cover;
    flex-shrink: 0;
    cursor: zoom-in;
    /* Indicate clickable */
    border-radius: var(--m-radius-sm);
    margin: 12px 0 12px 12px;
    align-self: center;
}

.product-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    border-radius: 4px;
    z-index: 10;
    box-shadow: var(--shadow-sm);
    animation: flashBadge 2s infinite;
}

@keyframes flashBadge {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.badge-discount {
    background-color: #ef4444;
}

/* Red */
.badge-special {
    background-color: #f59e0b;
}

/* Orange */
.badge-new {
    background-color: #3b82f6;
}

/* Blue */
.badge-popular {
    background-color: #10b981;
}

/* Green */

.menu-item-info {
    padding: 0.95rem 1.1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.35rem;
    min-width: 0;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.1rem;
}

.item-header h3 {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--m-ink);
    line-height: 1.25;
    margin: 0;
}

.item-desc {
    font-size: 0.85rem;
    color: var(--m-ink-soft);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.45;
    margin-bottom: 0.4rem;
}

.item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.item-price {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--m-ink);
}

.btn-add {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: var(--primary-color);
    color: white;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 8px 16px -6px color-mix(in srgb, var(--primary-color) 55%, transparent);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-add:hover {
    transform: translateY(-1px) scale(1.04);
    box-shadow: 0 12px 22px -8px color-mix(in srgb, var(--primary-color) 65%, transparent);
}

.btn-add:active {
    transform: scale(0.94);
}

/* Lightbox Styles - CENTER POPUP MODAL */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 14, 20, 0.55);
    /* Dark backdrop */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 6000;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Center horizontally and vertically */
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s cubic-bezier(0.32, 0.72, 0, 1);
    padding: 1.5rem;
}

/* Ensure SweetAlert2 is above our lightbox modals */
.swal2-container {
    z-index: 10000 !important;
}

/* Modal Konteynırı */
.swal2-popup {
    border-radius: 20px !important;
    padding: 2rem !important;
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    box-shadow: var(--shadow) !important;
}

/* Başlık Modernizasyonu */
.swal2-title {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: var(--text-main) !important;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem !important;
}

/* Form Elemanları (Input, Select, Textarea) */
.swal2-input,
.swal2-select,
.swal2-textarea {
    border: 1.5px solid var(--border-color) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
    font-size: 0.95rem !important;
    color: var(--text-main) !important;
    background-color: white !important;
}

.swal2-input:focus,
.swal2-select:focus,
.swal2-textarea:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1) !important;
}



/* Puan Kartı Alanı */
#swal2-html-container div[style*="background: #f8fafc"] {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 14px !important;
    padding: 1.25rem !important;
}

/* Butonlar */
.swal2-actions {
    margin-top: 2rem !important;
    gap: 12px;
}

.swal2-confirm {
    background-color: var(--primary-color) !important;
    border-radius: 12px !important;
    padding: 12px 30px !important;
    font-weight: 600 !important;
    transition: transform 0.1s active !important;
}

.swal2-confirm:hover {
    background-color: var(--primary-hover) !important;
}

.swal2-cancel {
    border-radius: 12px !important;
    padding: 12px 30px !important;
    font-weight: 600 !important;
    background-color: #fee2e2 !important;
    color: #ef4444 !important;
}

/* PWA Yükleme Butonu */
#pwa-install-container button {
    transition: all 0.3s ease;
    border-radius: 12px !important;
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.2);
}

#pwa-install-container button:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}


/*  */


/* */
.lightbox.open {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    background: var(--m-surface);
    width: 100%;
    max-width: 420px;
    /* Limit width */
    border-radius: 28px;
    /* Full rounding */
    overflow: hidden;
    position: relative;
    transform: scale(0.92) translateY(8px);
    transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
    display: flex;
    flex-direction: column;
    box-shadow: var(--m-shadow-lg);
}

.lightbox.open .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--m-ink);
    border-radius: 50%;
    border: 1px solid var(--m-line);
    z-index: 10;
    cursor: pointer;
    box-shadow: 0 4px 12px -2px rgba(20, 19, 26, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.05rem;
    transition: background 0.15s ease, transform 0.15s ease;
}

.lightbox-close:hover {
    background: #fff;
    transform: scale(1.05);
}

#lightbox-img {
    width: 100%;
    height: 300px;
    /* Square-ish aspect for popup */
    object-fit: cover;
    display: block;
}

.lightbox-calorie-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
    background: rgba(20, 19, 26, 0.85);
    color: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.lightbox-details {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    /* Center text for popup style */
    align-items: center;
}

#lightbox-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--m-ink);
    margin-bottom: 0.25rem;
}

#lightbox-desc {
    font-size: 0.95rem;
    color: var(--m-ink-soft);
    line-height: 1.55;
}

.lightbox-price {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--m-ink);
    margin: 0.5rem 0;
}

.btn-add-large {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    box-shadow: 0 12px 24px -8px color-mix(in srgb, var(--primary-color) 55%, transparent);
    transition: transform 0.12s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn-add-large:hover {
    filter: brightness(1.03);
    box-shadow: 0 16px 30px -10px color-mix(in srgb, var(--primary-color) 65%, transparent);
}

.btn-add-large:active {
    transform: scale(0.98);
}


/* Bottom Bar */
.bottom-bar {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    width: calc(100% - 2rem);
    background: var(--m-surface);
    background: color-mix(in srgb, var(--m-surface) 88%, transparent);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    padding: 0.5rem 0.6rem;
    border-radius: var(--m-pill);
    box-shadow: var(--m-shadow-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    z-index: 1000;
    box-sizing: border-box;
    border: 1px solid var(--m-line);
    overflow-x: auto;
}

/* Floating Profile Button */
.btn-floating-profile {
    position: fixed;
    bottom: 9.5rem;
    right: 1.5rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: var(--m-surface);
    color: var(--primary-color);
    font-size: 1.4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--m-shadow);
    border: 1px solid var(--m-line);
    z-index: 2000;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s;
}

.btn-floating-profile:active {
    transform: scale(0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.bottom-bar::-webkit-scrollbar {
    display: none;
}

.btn-track-bottom {
    background: var(--m-surface-2);
    color: var(--m-ink);
    border: 1px solid var(--m-line);
    box-shadow: none;
    padding: 0.55rem 0.85rem;
    border-radius: var(--m-pill);
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: background 0.2s, transform 0.1s;
    white-space: nowrap;
}

.btn-track-bottom:active {
    transform: scale(0.98);
}

.cart-preview {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-icon {
    position: relative;
    font-size: 1.25rem;
    color: var(--m-ink);
}

.badge {
    top: -4px;
    right: -6px;
    background: var(--danger-color);
    color: white;
    font-size: 0.7rem;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    background: #ffffff00 !important;
}

.cart-text {
    font-weight: 700;
    color: var(--m-ink);
    font-size: 0.9rem;
}

.btn-checkout {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.65rem 1.1rem;
    border-radius: var(--m-pill);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: 0 8px 18px -6px color-mix(in srgb, var(--primary-color) 55%, transparent);
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
    white-space: nowrap;
}

.btn-checkout:hover {
    filter: brightness(1.03);
}

.btn-checkout:active {
    transform: scale(0.96);
}

/* Floating Waiter Button */
.btn-floating-waiter {
    position: fixed;
    bottom: 5.5rem;
    right: 1.5rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: var(--m-surface);
    color: var(--danger-color);
    font-size: 1.4rem;
    display: none;
    /* Hide by default, show via JS if table present */
    justify-content: center;
    align-items: center;
    box-shadow: var(--m-shadow);
    border: 1px solid var(--m-line);
    z-index: 2000;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s;
}

.btn-floating-waiter:active {
    transform: scale(0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-floating-waiter i {
    position: relative;
    top: -1px;
}

/* =========================================
   RESPONSIVE ADMIN PANEL STYLES
   ========================================= */

@media (max-width: 768px) {
    .app-container {
        flex-direction: column;
        height: 100vh;
        overflow: hidden;
    }

    /* Transform Sidebar to Slide-in for Mobile */
    .app-container .sidebar {
        width: 280px;
        height: 100vh;
        position: fixed;
        bottom: auto;
        top: 0;
        left: -280px;
        /* Hidden by default */
        z-index: 1001;
        flex-direction: column;
        padding: 2rem 1.5rem;
        border-right: 1px solid var(--border-color);
        border-top: none;
        background: white;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.1);
        justify-content: flex-start;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
    }

    .app-container .sidebar.open {
        left: 0;
    }

    /* Sidebar Overlay */
    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(15, 23, 42, 0.5);
        backdrop-filter: blur(4px);
        z-index: 1000;
        display: none;
        opacity: 0;
        transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .sidebar-overlay.show {
        display: block;
        opacity: 1;
    }

    .app-container .brand,
    .app-container .user-profile {
        display: flex;
        /* Show brand on mobile sidebar */
        margin-bottom: 2rem;
    }

    .app-container .nav-links {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        width: 100%;
        margin-top: 1rem;
    }

    .app-container .nav-links li {
        flex-direction: row;
        gap: 0.875rem;
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
        border-radius: var(--radius-md);
        color: var(--text-medium);
        margin-bottom: 0.25rem;
        width: 100%;
    }

    .app-container .nav-links li i {
        font-size: 1.1rem;
        margin-bottom: 0;
        width: 20px;
        text-align: center;
    }

    .app-container .nav-links li.active {
        background: var(--primary-light) !important;
        color: var(--primary-color) !important;
        box-shadow: none;
    }

    .app-container .nav-links li.active i {
        color: var(--primary-color) !important;
    }

    /* Adjust Main Content */
    .app-container .main-content {
        padding: 1.5rem 1rem;
        padding-bottom: 90px;
        /* Space for bottom nav */
        width: 100%;
    }

    .app-container .top-bar {
        flex-direction: row;
        gap: 0.8rem;
        margin-bottom: 1.5rem;
        align-items: center;
        padding: 0.5rem 0;
    }

    /* Hamburger Menu Button */
    .hamburger-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: white;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        color: var(--text-dark);
        font-size: 1.25rem;
        cursor: pointer;
        z-index: 100;
        box-shadow: var(--shadow-sm);
        transition: all 0.2s;
    }

    .hamburger-btn:active {
        transform: scale(0.95);
        background: var(--bg-body);
    }

    #close-sidebar-btn {
        display: block !important;
    }

    .app-container .top-bar h1#page-title {
        font-size: 1.25rem;
        flex: 1;
        margin: 0;
    }

    /* Controls */
    .app-container .controls {
        flex-direction: column;
        gap: 0.75rem;
    }

    .app-container .search-bar,
    .app-container .filter-dropdown,
    .app-container .filter-dropdown select {
        max-width: 100%;
        width: 100%;
    }

    /* Grid */
    .app-container .products-grid {
        grid-template-columns: 1fr;
        /* Single column */
        gap: 1rem;
    }

    .app-container .settings-grid {
        grid-template-columns: 1fr;
    }

    /* Modal responsive */
    .modal {
        width: 95%;
        max-height: 85vh;
        margin: 0 auto;
    }

    .modal-body {
        padding: 1.5rem;
    }
}

/* Language Switcher */
.lang-switcher {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    display: flex;
    gap: 0.2rem;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.25rem;
    border-radius: var(--m-pill);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.lang-switcher button {
    background: transparent;
    border: none;
    color: white;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.28rem 0.65rem;
    border-radius: var(--m-pill);
    cursor: pointer;
    transition: all 0.2s;
}

.lang-switcher button.active {
    background: white;
    color: var(--m-ink);
}

/* Print Mode Styles */
@media print {
    body {
        background: #fff;
        color: #000;
        margin: 0;
        padding: 0;
    }

    .menu-header,
    .category-nav-wrapper {
        display: none !important;
    }

    .menu-content {
        padding: 0 !important;
        background: #fff !important;
    }

    .menu-grid {
        display: block !important;
    }

    .print-card {
        page-break-inside: avoid;
        box-shadow: none !important;
        border: none !important;
        border-bottom: 1px dotted #ccc !important;
        border-radius: 0 !important;
        height: auto !important;
        padding: 1rem 0;
        margin-bottom: 0 !important;
    }

    .print-img {
        width: 80px !important;
        height: 80px !important;
        border-radius: 8px !important;
    }

    .print-info {
        padding: 0 0 0 1rem !important;
    }

    .print-desc {
        color: #555 !important;
        -webkit-line-clamp: 4 !important;
        line-clamp: 4 !important;
    }
}

/* =========================================
   FLY TO CART ANIMATION
   ========================================= */
.fly-to-cart-elem {
    position: fixed;
    z-index: 9999;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.6s cubic-bezier(0.2, 1, 0.3, 1);
    /* easeOutExpo */
}

/* =========================================
   DELIVERY TABS
   ========================================= */
.delivery-type-tabs {
    display: flex;
    gap: 0.35rem;
    margin-bottom: 1.5rem;
    background: var(--m-surface-2);
    padding: 0.35rem;
    border-radius: 14px;
    border: 1px solid var(--m-line);
}

.delivery-tab {
    flex: 1;
    padding: 0.6rem;
    border: none;
    border-radius: 10px;
    background: transparent;
    font-weight: 700;
    cursor: pointer;
    color: var(--m-ink-soft);
    transition: all 0.2s ease;
}

.delivery-tab.active {
    background: var(--m-surface);
    box-shadow: var(--m-shadow-sm);
    color: var(--m-ink);
}

/* =========================================
   MODERN CUSTOMER — modal & form yardımcıları
   (index.php içindeki inline stillerin yerini alır)
   ========================================= */
.mt-input {
    width: 100%;
    border: 1px solid var(--m-line);
    background: var(--m-surface);
    padding: 0.8rem 0.9rem;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--m-ink);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mt-input::placeholder {
    color: var(--m-ink-faint);
}

.mt-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: var(--m-focus);
}

textarea.mt-input {
    resize: vertical;
    min-height: 64px;
}

select.mt-input {
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill=%22%239a99a3%22 height=%2224%22 viewBox=%220 0 24 24%22 width=%2224%22 xmlns=%22http://www.w3.org/2000/svg%22><path d=%22M7 10l5 5 5-5z%22/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.mt-modal-head {
    padding: 1.4rem 1.6rem;
    border-bottom: 1px solid var(--m-line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--m-surface);
}

.mt-modal-head h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--m-ink);
}

.mt-section {
    background: var(--m-surface-2) !important;
    border-top: 1px solid var(--m-line) !important;
}

.mt-close {
    position: static !important;
    box-shadow: none !important;
    border: 1px solid var(--m-line) !important;
    background: var(--m-surface-2) !important;
    color: var(--m-ink) !important;
}

.mt-primary {
    background: var(--primary-color) !important;
    color: #fff !important;
    box-shadow: 0 12px 24px -8px color-mix(in srgb, var(--primary-color) 55%, transparent) !important;
}

.mt-success {
    background: var(--accent-color) !important;
    color: #fff !important;
    box-shadow: 0 12px 24px -8px color-mix(in srgb, var(--accent-color) 55%, transparent) !important;
}

.mt-chip {
    flex: 1;
    padding: 0.6rem;
    border: 1px solid var(--m-line);
    border-radius: 10px;
    background: var(--m-surface);
    cursor: pointer;
    font-weight: 700;
    color: var(--m-ink);
    transition: all 0.15s ease;
}

input#swal2-input {
    width: 83%;
}

/* =========================================
   SETTINGS & QR MANAGEMENT PREMIUM UI
   ========================================= */

.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.settings-card {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.settings-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.card-header-icon {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card-header-icon i {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.25rem;
}

.card-header-icon h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.settings-divider {
    display: flex;
    align-items: center;
    margin: 2rem 0 1.5rem;
    color: var(--text-medium);
    font-size: 0.85rem;
    font-weight: 600;
}

.settings-divider::before,
.settings-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.settings-divider span {
    padding: 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* QR Management Specifics */
.qr-result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
    min-height: 200px;
}

.qr-placeholder {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    height: 200px;
    border: 2px dashed var(--border-color);
    border-radius: 12px;
}

.qr-placeholder i {
    margin-bottom: 1rem;
    opacity: 0.3;
}

.qr-item-card {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.qr-code-src canvas,
.qr-code-src img {
    max-width: 150px;
    height: auto !important;
    border-radius: 8px;
    background: white;
    padding: 5px;
}

.qr-item-info strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.qr-item-info span {
    font-size: 0.75rem;
    color: var(--text-medium);
}

.qr-item-actions {
    margin-top: auto;
    width: 100%;
}

.qr-item-actions button {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    color: var(--primary-color);
    transition: all 0.2s;
}

.qr-item-actions button:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
}

/* Payment Methods Grid */
.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.payment-item {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.payment-item i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.payment-item label {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.payment-item select {
    width: 100%;
    padding: 0.4rem;
    font-size: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
}

.whatsapp-notify-box {
    background: #ecfdf5;
    border: 1px solid #10b981;
    padding: 1rem;
    border-radius: 12px;
    margin-top: 1rem;
}

.whatsapp-notify-box i {
    color: #10b981;
}

/* Design Tab Specifics */
.color-input-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
}

.color-input-group input[type="color"] {
    width: 45px;
    height: 45px;
    border: none;
    padding: 0;
    background: none;
    cursor: pointer;
    border-radius: 50%;
    overflow: hidden;
}

.color-input-group label {
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
}

/* Modal Overlay Update */
.modal-overlay {
    backdrop-filter: blur(8px);
    background: rgba(15, 23, 42, 0.4);
}

/* Prices Table Update */
.prices-table th {
    background: #f8fafc;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.prices-table td {
    padding: 1.2rem 1rem;
}

.price-input {
    width: 100px;
    padding: 0.6rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-weight: 600;
    text-align: right;
}

.price-input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-light);
}

/* Mobile Overrides for New Grid */
@media (max-width: 768px) {
    .settings-grid {
        grid-template-columns: 1fr;
    }

    .payment-methods-grid {
        grid-template-columns: 1fr;
    }

    .qr-result-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================
   PROGRESS BAR ANIMATION
   ========================================= */
.progress-bar-animated {
    background: linear-gradient(90deg,
            #10b981 0%,
            #34d399 50%,
            #10b981 100%);
    background-size: 200% 100%;
    animation: progress-shine 2s infinite linear;
    position: relative;
}

@keyframes progress-shine {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@keyframes progress-fill {
    from {
        width: 0;
    }
}

/* =========================================
   REVIEWS & ORDER HISTORY STYLES
   ========================================= */

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.badge-status {
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.badge-status.status-NEW {
    background: #dcfce7;
    color: #166534;
}

.badge-status.status-PREPARING {
    background: #fef9c3;
    color: #854d0e;
}

.badge-status.status-COMPLETED {
    background: #dbeafe;
    color: #1e40af;
}

.badge-status.status-CANCELLED {
    background: #fee2e2;
    color: #991b1b;
}

.modal-overlay.open {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* =========================================
   THEME 2: ELEGANT (CLASSIC & CLEAN)
   ========================================= */
body.theme-elegant {
    background-color: #ffffff !important;
    --primary-color: #1a1a1a;
    --bg-body: #ffffff;
}

.theme-elegant .menu-header {
    height: 180px;
    background: #fdfdfd;
}

.theme-elegant .menu-cover {
    background-image: none !important;
    background: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #eee;
}

.theme-elegant .menu-cover .overlay {
    background: transparent !important;
}

.theme-elegant .restaurant-info {
    text-align: center;
    padding: 2rem;
}

.theme-elegant .logo-circle {
    margin: 0 auto 1rem auto;
    border: 1px solid #ddd;
    box-shadow: none;
}

.theme-elegant .restaurant-info h1 {
    color: #1a1a1a;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    letter-spacing: 1px;
}

.theme-elegant .tagline {
    color: #666;
}

.theme-elegant .info-badges span {
    background: #f5f5f5;
    color: #444;
    border: 1px solid #eee;
    backdrop-filter: none;
}

.theme-elegant .lang-switcher {
    background: rgba(0, 0, 0, 0.05);
}

.theme-elegant .lang-switcher button {
    color: #1a1a1a;
}

.theme-elegant .lang-switcher button.active {
    background: #1a1a1a;
    color: #fff;
}

.theme-elegant .category-nav-wrapper {
    background: #fff;
    border-bottom: 2px solid #1a1a1a;
}

.theme-elegant .category-item,
.theme-elegant .cat-tab {
    border-radius: 0;
    border-bottom: 2px solid transparent;
    background: transparent !important;
    color: #999 !important;
    padding: 0.5rem 0.2rem;
}

.theme-elegant .category-item.active,
.theme-elegant .cat-tab.active {
    color: #1a1a1a !important;
    border-bottom: 2px solid #1a1a1a;
    box-shadow: none !important;
}

.theme-elegant .menu-item-card {
    border-radius: 0;
    box-shadow: none;
    border: none;
    border-bottom: 1px solid #eee;
    background: #fff;
    margin-bottom: 0;
    height: auto;
    padding: 1rem 0;
}

.theme-elegant .menu-item-img {
    border-radius: 0;
    width: 100px;
    height: 100px;
}

.theme-elegant .btn-add {
    border-radius: 0;
    background: #1a1a1a;
}

/* =========================================
   THEME 3: VIBRANT DARK (NEON)
   ========================================= */
body.theme-vibrant {
    background-color: #050505 !important;
    color: #000;
    --bg-body: #050505;
}

.theme-vibrant .menu-body {
    background-color: #050505;
}

.theme-vibrant .menu-header {
    height: 250px;
}

.theme-vibrant .menu-cover .overlay {
    background: linear-gradient(to top, #050505 0%, rgba(5, 5, 5, 0.4) 100%);
}

body.theme-vibrant .menu-body {
    background-color: #050505 !important;
}

.theme-vibrant .restaurant-info h1 {
    font-size: 2rem;
    text-shadow: 0 0 10px var(--primary-color);
    letter-spacing: -1px;
}

.theme-vibrant .tagline {
    color: #ccc;
}

.theme-vibrant .info-badges span {
    background: rgba(255, 255, 255, 0.1);
    color: #eee;
}

.theme-vibrant .category-nav-wrapper {
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-vibrant .category-item,
.theme-vibrant .cat-tab {
    background: #111 !important;
    color: #888 !important;
    border: 1px solid #222;
}

.theme-vibrant .category-item.active,
.theme-vibrant .cat-tab.active {
    background: var(--primary-color) !important;
    color: #fff !important;
    box-shadow: 0 0 15px var(--primary-color);
    border-color: var(--primary-color);
}

.theme-vibrant .menu-item-card {
    background: #111;
    border: 1px solid #222;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
}

.theme-vibrant .menu-item-info h3 {
    color: #fff;
}

.theme-vibrant .item-desc {
    color: #aaa;
}

.theme-vibrant .item-price {
    color: #fff;
    text-shadow: 0 0 5px var(--primary-color);
}

.theme-vibrant .btn-add {
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

.theme-vibrant .bottom-bar {
    background: rgba(20, 20, 20, 0.95) !important;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.theme-vibrant .bottom-bar .cart-icon,
.theme-vibrant .bottom-bar .cart-text {
    color: #fff;
}

.theme-vibrant .bottom-bar .total-amount {
    color: var(--primary-color);
    text-shadow: 0 0 8px var(--primary-color);
}

/* Admin Suggestion Search UI */
.suggestion-search-container {
    position: relative;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem;
    background: #fff;
}

.selected-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.tag {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.tag i {
    cursor: pointer;
    opacity: 0.8;
}

.tag i:hover {
    opacity: 1;
}

#suggestion-search-input {
    border: none !important;
    padding: 0.5rem !important;
    width: 100% !important;
    outline: none !important;
    box-shadow: none !important;
}

.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.search-result-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
}

.search-result-item:hover {
    background: #f8fafc;
}

.search-result-item .category-badge {
    font-size: 0.7rem;
    background: #e2e8f0;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    color: #64748b;
}

.theme-vibrant .btn-checkout {
    background: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color);
}

.theme-vibrant .btn-floating-waiter,
.theme-vibrant .btn-floating-profile {
    background: #222;
    color: #fff;
    border: 1px solid #333;
}

.theme-vibrant .section-title h2 {
    color: #fff;
}

.theme-vibrant .section-title .count {
    color: #888;
}

/* Modal Dark Mode for Vibrant */
.theme-vibrant .modal {
    background: #0a0a0a !important;
    color: #eee !important;
    border: 1px solid #222;
}

.theme-vibrant .modal-header {
    border-bottom: 1px solid #222;
}

.theme-vibrant .modal-header h2,
.theme-vibrant .modal-header h3 {
    color: #fff !important;
}

.theme-vibrant .cart-item {
    border-bottom: 1px solid #222;
}

.theme-vibrant .cart-item-info h4 {
    color: #fff !important;
}

.theme-vibrant .quantity-control {
    background: #1a1a1a !important;
    border: 1px solid #333;
}

.theme-vibrant .quantity-control button {
    color: #fff !important;
}

.theme-vibrant .quantity-control span {
    color: #fff !important;
}

.theme-vibrant .tip-option {
    background: #1a1a1a !important;
    border: 1px solid #333 !important;
    color: #ccc !important;
}

.theme-vibrant .tip-option.active {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}

.theme-vibrant .summary-row {
    color: #aaa !important;
}

.theme-vibrant .summary-row.total {
    color: #fff !important;
    border-top: 1px solid #222;
}

.theme-vibrant .close-modal {
    background: #222 !important;
    color: #fff !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* =========================================
   THEME 4: MINIMAL (SADE & FERAH)
   ========================================= */
body.theme-minimal {
    background-color: #fcfcfc !important;
    --bg-body: #fcfcfc;
}

.theme-minimal .menu-header {
    height: 150px;
    color: #111;
}

.theme-minimal .menu-cover {
    background-image: none !important;
    background: #fcfcfc !important;
    border-bottom: 1px solid #ececec;
}

.theme-minimal .menu-cover .overlay {
    background: transparent !important;
}

.theme-minimal .logo-circle {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f4f4f4;
    border: 1px solid #e8e8e8;
    box-shadow: none;
    color: #111;
    font-size: 1.1rem;
}

.theme-minimal .restaurant-info h1 {
    color: #111;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.theme-minimal .tagline {
    color: #777;
}

.theme-minimal .info-badges span {
    background: transparent;
    color: #555;
    border: 1px solid #e4e4e4;
    backdrop-filter: none;
}

.theme-minimal .lang-switcher {
    background: #f1f1f1;
}

.theme-minimal .lang-switcher button {
    color: #333;
}

.theme-minimal .lang-switcher button.active {
    background: #111;
    color: #fff;
}

.theme-minimal .category-nav-wrapper {
    background: #fcfcfc;
    box-shadow: none;
    border-bottom: 1px solid #ececec;
}

.theme-minimal .cat-tab {
    background: transparent;
    color: #888;
    box-shadow: none;
    padding: 0.5rem 0.9rem;
}

.theme-minimal .cat-tab.active {
    background: #111;
    color: #fff;
    box-shadow: none;
}

.theme-minimal .section-title h2 {
    color: #111;
    font-weight: 600;
}

.theme-minimal .menu-item-card {
    background: transparent;
    border: none;
    border-bottom: 1px solid #ececec;
    border-radius: 0;
    box-shadow: none;
    padding: 1rem 0;
    margin-bottom: 0;
    height: auto;
}

.theme-minimal .menu-item-img {
    width: 76px;
    height: 76px;
    border-radius: 10px;
    align-self: center;
}

.theme-minimal .item-price {
    color: #111;
    font-weight: 600;
}

.theme-minimal .btn-add {
    background: transparent;
    color: #111;
    border: 1.5px solid #111;
    box-shadow: none;
}

.theme-minimal .btn-add:hover {
    background: #111;
    color: #fff;
}

.theme-minimal .bottom-bar {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    backdrop-filter: none;
}

.theme-minimal .btn-checkout {
    background: #111;
    box-shadow: none;
}

.theme-minimal .btn-floating-waiter,
.theme-minimal .btn-floating-profile,
.theme-minimal .btn-floating-bill {
    background: #fff;
    color: #111;
    border: 1px solid #e4e4e4;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* =========================================
   THEME 5: LUXURY (ALTIN & SİYAH)
   ========================================= */
body.theme-luxury {
    background-color: #0f0e0c !important;
    --bg-body: #0f0e0c;
    --primary-color: #d4af37;
    --primary-hover: #c9a227;
}

.theme-luxury .menu-header {
    height: 250px;
}

.theme-luxury .menu-cover .overlay {
    background: linear-gradient(to top, #0f0e0c 0%, rgba(15, 14, 12, 0.35) 100%);
}

.theme-luxury .logo-circle {
    background: #1a1814;
    border: 1px solid #d4af37;
    color: #d4af37;
}

.theme-luxury .restaurant-info h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.9rem;
    letter-spacing: 1.5px;
    color: #f5efdf;
}

.theme-luxury .tagline {
    color: #b8ae97;
}

.theme-luxury .info-badges span {
    background: rgba(212, 175, 55, 0.12);
    color: #d4af37;
    border: 1px solid rgba(212, 175, 55, 0.35);
    backdrop-filter: none;
}

.theme-luxury .lang-switcher {
    background: rgba(0, 0, 0, 0.4);
}

.theme-luxury .lang-switcher button {
    color: #d4af37;
}

.theme-luxury .lang-switcher button.active {
    background: #d4af37;
    color: #0f0e0c;
}

.theme-luxury .category-nav-wrapper {
    background: rgba(15, 14, 12, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: none;
    border-bottom: 1px solid #2c281f;
}

.theme-luxury .cat-tab {
    background: transparent;
    color: #9a917b;
    border: 1px solid #3a342a;
    box-shadow: none;
}

.theme-luxury .cat-tab.active {
    background: #d4af37;
    color: #0f0e0c;
    border-color: #d4af37;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
}

.theme-luxury .section-title h2 {
    color: #f5efdf;
    font-family: 'Playfair Display', Georgia, serif;
    letter-spacing: 0.5px;
}

.theme-luxury .section-title .count {
    color: #7a7159;
}

.theme-luxury .menu-item-card {
    background: #1a1814;
    border: 1px solid #2c281f;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
    border-radius: 0.75rem;
}

.theme-luxury .menu-item-info h3 {
    color: #f5efdf;
    font-family: 'Playfair Display', Georgia, serif;
    letter-spacing: 0.3px;
}

.theme-luxury .item-desc {
    color: #9a917b;
}

.theme-luxury .item-price {
    color: #d4af37;
    font-family: 'Playfair Display', Georgia, serif;
}

.theme-luxury .btn-add {
    background: #d4af37;
    color: #0f0e0c;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
}

.theme-luxury .btn-add:hover {
    background: #e5c964;
}

.theme-luxury .bottom-bar {
    background: rgba(26, 24, 20, 0.95) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #f5efdf;
}

.theme-luxury .bottom-bar .cart-icon,
.theme-luxury .bottom-bar .cart-text {
    color: #f5efdf;
}

.theme-luxury .bottom-bar .total-amount {
    color: #d4af37;
}

.theme-luxury .btn-track-bottom {
    background: #2c281f;
    color: #d4af37;
    box-shadow: none;
}

.theme-luxury .btn-checkout {
    background: #d4af37;
    color: #0f0e0c;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
}

.theme-luxury .btn-floating-waiter,
.theme-luxury .btn-floating-profile,
.theme-luxury .btn-floating-bill {
    background: #1a1814;
    color: #d4af37;
    border: 1px solid rgba(212, 175, 55, 0.4);
}

/* Modal Dark Mode for Luxury */
.theme-luxury .modal {
    background: #16140f !important;
    color: #e8e0cc !important;
    border: 1px solid #2c281f;
}

.theme-luxury .modal-header {
    border-bottom: 1px solid #2c281f;
}

.theme-luxury .modal-header h2,
.theme-luxury .modal-header h3 {
    color: #f5efdf !important;
}

.theme-luxury .cart-item {
    border-bottom: 1px solid #2c281f;
}

.theme-luxury .cart-item-info h4 {
    color: #f5efdf !important;
}

.theme-luxury .quantity-control {
    background: #221f18 !important;
    border: 1px solid #3a342a;
}

.theme-luxury .quantity-control button,
.theme-luxury .quantity-control span {
    color: #f5efdf !important;
}

.theme-luxury .tip-option {
    background: #221f18 !important;
    border: 1px solid #3a342a !important;
    color: #b8ae97 !important;
}

.theme-luxury .tip-option.active {
    background: #d4af37 !important;
    border-color: #d4af37 !important;
    color: #0f0e0c !important;
}

.theme-luxury .summary-row {
    color: #9a917b !important;
}

.theme-luxury .summary-row.total {
    color: #d4af37 !important;
    border-top: 1px solid #2c281f;
}

.theme-luxury .close-modal {
    background: #2c281f !important;
    color: #d4af37 !important;
}

/* =========================================
   THEME 6: RETRO (VINTAGE & SICAK)
   ========================================= */
body.theme-retro {
    background-color: #f6efe3 !important;
    --bg-body: #f6efe3;
    --primary-color: #8b5e34;
    --primary-hover: #6f4a27;
}

.theme-retro .menu-header {
    height: 190px;
    color: #4a3320;
}

.theme-retro .menu-cover {
    background-image: none !important;
    background: #f6efe3 !important;
    border-bottom: 4px double #8b5e34;
}

.theme-retro .menu-cover .overlay {
    background: transparent !important;
}

.theme-retro .restaurant-info {
    text-align: center;
}

.theme-retro .logo-circle {
    margin: 0 auto 0.75rem auto;
    background: #fffaf0;
    border: 2px solid #8b5e34;
    color: #8b5e34;
    box-shadow: 3px 3px 0 rgba(139, 94, 52, 0.25);
}

.theme-retro .restaurant-info h1 {
    color: #4a3320;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.theme-retro .tagline {
    color: #7d6647;
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
}

.theme-retro .info-badges {
    justify-content: center;
}

.theme-retro .info-badges span {
    background: transparent;
    color: #6f4a27;
    border: 1px dashed #b08968;
    border-radius: 4px;
    backdrop-filter: none;
}

.theme-retro .lang-switcher {
    background: rgba(139, 94, 52, 0.1);
}

.theme-retro .lang-switcher button {
    color: #6f4a27;
}

.theme-retro .lang-switcher button.active {
    background: #8b5e34;
    color: #fffaf0;
}

.theme-retro .category-nav-wrapper {
    background: #f6efe3;
    box-shadow: none;
    border-bottom: 1px solid #e0cfae;
}

.theme-retro .cat-tab {
    background: transparent;
    color: #8a7355;
    border: 1px dashed #b08968;
    border-radius: 4px;
    font-family: Georgia, 'Times New Roman', serif;
    box-shadow: none;
}

.theme-retro .cat-tab.active {
    background: #8b5e34;
    color: #fffaf0;
    border: 1px solid #8b5e34;
    box-shadow: 3px 3px 0 rgba(139, 94, 52, 0.25);
}

.theme-retro .section-title h2 {
    color: #4a3320;
    font-family: Georgia, 'Times New Roman', serif;
    letter-spacing: 1px;
}

.theme-retro .section-title .count {
    color: #a08a68;
}

.theme-retro .menu-item-card {
    background: #fffaf0;
    border: 1px solid #e0cfae;
    border-radius: 6px;
    box-shadow: 4px 4px 0 rgba(139, 94, 52, 0.12);
}

.theme-retro .menu-item-img {
    border-radius: 0;
    filter: sepia(0.2);
}

.theme-retro .menu-item-info h3 {
    color: #4a3320;
    font-family: Georgia, 'Times New Roman', serif;
}

.theme-retro .item-desc {
    color: #8a7355;
}

.theme-retro .item-price {
    color: #8b5e34;
    font-family: Georgia, 'Times New Roman', serif;
}

.theme-retro .btn-add {
    background: #8b5e34;
    border-radius: 4px;
    box-shadow: 2px 2px 0 rgba(74, 51, 32, 0.3);
}

.theme-retro .bottom-bar {
    background: #fffaf0;
    border: 1px solid #d9c39a;
    border-radius: 10px;
    box-shadow: 4px 4px 0 rgba(139, 94, 52, 0.15);
    backdrop-filter: none;
}

.theme-retro .btn-track-bottom {
    background: #f6efe3;
    color: #6f4a27;
    box-shadow: none;
}

.theme-retro .btn-checkout {
    background: #8b5e34;
    border-radius: 6px;
    box-shadow: 3px 3px 0 rgba(74, 51, 32, 0.25);
}

.theme-retro .btn-floating-waiter,
.theme-retro .btn-floating-profile,
.theme-retro .btn-floating-bill {
    background: #fffaf0;
    color: #8b5e34;
    border: 1px solid #d9c39a;
}

/* =========================================
   THEME 7: NATURE (YEŞİL & ORGANİK)
   ========================================= */
body.theme-nature {
    background-color: #f1f4ec !important;
    --bg-body: #f1f4ec;
    --primary-color: #3f7a4e;
    --primary-hover: #326340;
}

.theme-nature .menu-cover .overlay {
    background: linear-gradient(to top, rgba(27, 50, 35, 0.88) 0%, rgba(27, 50, 35, 0.15) 60%);
}

.theme-nature .logo-circle {
    background: #f1f4ec;
    color: #3f7a4e;
    border: 2px solid #a7c4a0;
}

.theme-nature .tagline {
    color: #d7e4d0;
}

.theme-nature .info-badges span {
    background: rgba(63, 122, 78, 0.55);
    color: #eaf2e6;
}

.theme-nature .category-nav-wrapper {
    background: #f1f4ec;
    box-shadow: none;
    border-bottom: 1px solid #dde5d4;
}

.theme-nature .cat-tab {
    background: #ffffff;
    color: #5c7261;
    border-radius: 2rem;
    box-shadow: inset 0 0 0 1px #dde5d4;
}

.theme-nature .cat-tab.active {
    background: #3f7a4e;
    color: #fff;
    box-shadow: 0 6px 14px rgba(63, 122, 78, 0.3);
}

.theme-nature .section-title h2 {
    color: #2c4a35;
}

.theme-nature .section-title .count {
    color: #8ba38f;
}

.theme-nature .menu-item-card {
    background: #ffffff;
    border: 1px solid #e3e8da;
    border-radius: 1.5rem;
    box-shadow: 0 8px 24px rgba(63, 94, 67, 0.08);
}

.theme-nature .menu-item-img {
    border-radius: 1.25rem;
    margin: 0.5rem 0 0.5rem 0.5rem;
    height: calc(100% - 1rem);
}

.theme-nature .menu-item-info h3 {
    color: #2c4a35;
}

.theme-nature .item-desc {
    color: #74856f;
}

.theme-nature .item-price {
    color: #3f7a4e;
}

.theme-nature .btn-add {
    background: #3f7a4e;
    box-shadow: 0 4px 12px rgba(63, 122, 78, 0.35);
}

.theme-nature .btn-add:hover {
    background: #a97d4f;
}

.theme-nature .bottom-bar {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #dde5d4;
}

.theme-nature .btn-checkout {
    background: #3f7a4e;
    box-shadow: 0 4px 15px rgba(63, 122, 78, 0.35);
}

.theme-nature .btn-floating-waiter,
.theme-nature .btn-floating-profile,
.theme-nature .btn-floating-bill {
    background: #ffffff;
    color: #3f7a4e;
    border: 1px solid #dde5d4;
}

/* =========================================
   THEME 8: GRADIENT (RENKLİ & MODERN)
   ========================================= */
body.theme-gradient {
    background-color: #ffffff !important;
    --bg-body: #ffffff;
}

.theme-gradient .menu-header {
    height: 230px;
}

.theme-gradient .menu-cover .overlay {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.88) 0%, rgba(217, 70, 239, 0.72) 50%, rgba(249, 115, 22, 0.65) 100%);
}

.theme-gradient .logo-circle {
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(109, 40, 217, 0.3);
}

.theme-gradient .restaurant-info h1 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.theme-gradient .info-badges span {
    background: rgba(255, 255, 255, 0.25);
}

.theme-gradient .category-nav-wrapper {
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(109, 40, 217, 0.06);
}

.theme-gradient .cat-tab {
    background: #f4f4f7;
    color: #6b7280;
}

.theme-gradient .cat-tab.active {
    background: linear-gradient(135deg, #6366f1 0%, #d946ef 100%);
    color: #fff;
    box-shadow: 0 6px 16px rgba(155, 81, 224, 0.35);
}

.theme-gradient .section-title h2 {
    background: linear-gradient(135deg, #6366f1 0%, #d946ef 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #6366f1;
}

.theme-gradient .menu-item-card {
    border: 1px solid #f0edf7;
    border-radius: 1.25rem;
    box-shadow: 0 8px 24px rgba(109, 40, 217, 0.08);
}

.theme-gradient .item-price {
    background: linear-gradient(135deg, #6366f1 0%, #d946ef 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #6366f1;
    font-weight: 800;
}

.theme-gradient .btn-add {
    background: linear-gradient(135deg, #6366f1 0%, #d946ef 100%);
    box-shadow: 0 4px 14px rgba(155, 81, 224, 0.4);
}

.theme-gradient .bottom-bar {
    border: 1px solid rgba(155, 81, 224, 0.2);
    box-shadow: 0 10px 40px rgba(109, 40, 217, 0.15);
}

.theme-gradient .btn-checkout {
    background: linear-gradient(135deg, #6366f1 0%, #d946ef 100%);
    box-shadow: 0 4px 15px rgba(155, 81, 224, 0.4);
}

.theme-gradient .btn-floating-waiter,
.theme-gradient .btn-floating-profile,
.theme-gradient .btn-floating-bill {
    background: linear-gradient(135deg, #6366f1 0%, #d946ef 100%);
    color: #fff;
    border: none;
}

/* =========================================
   THEME 9: BRUTAL (POSTER & BLOK)
   Neo-brutalist: dikey kartlar, kalın siyah
   çerçeveler, sert ofset gölgeler, sıfır
   radius, degrade/blur yok.
   ========================================= */
body.theme-brutal {
    background-color: #ffe600 !important;
    --bg-body: #ffe600;
    --primary-color: #000000;
    --primary-hover: #1a1a1a;
}

.theme-brutal .menu-header {
    height: 185px;
    color: #000;
}

.theme-brutal .menu-cover {
    background-image: none !important;
    background: #ffe600 !important;
    border-bottom: 4px solid #000;
}

.theme-brutal .menu-cover .overlay {
    background: transparent !important;
}

.theme-brutal .logo-circle {
    border-radius: 0;
    background: #fff;
    border: 3px solid #000;
    box-shadow: 5px 5px 0 #000;
    color: #000;
}

.theme-brutal .restaurant-info h1 {
    color: #000;
    font-family: 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.theme-brutal .tagline {
    color: #000;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    opacity: 1;
}

.theme-brutal .info-badges span {
    background: #fff;
    color: #000;
    border: 2px solid #000;
    border-radius: 0;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    backdrop-filter: none;
}

.theme-brutal .lang-switcher {
    background: #fff;
    border: 2px solid #000;
    border-radius: 0;
}

.theme-brutal .lang-switcher button {
    color: #000;
    border-radius: 0;
    font-family: 'Courier New', monospace;
    font-weight: 700;
}

.theme-brutal .lang-switcher button.active {
    background: #000;
    color: #ffe600;
}

.theme-brutal .category-nav-wrapper {
    background: #ffe600;
    box-shadow: none;
    border-bottom: 4px solid #000;
}

.theme-brutal .cat-tab {
    background: #fff;
    color: #000;
    border: 2px solid #000;
    border-radius: 0;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: none;
}

.theme-brutal .cat-tab.active {
    background: #000;
    color: #ffe600;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35);
}

.theme-brutal .section-title h2 {
    color: #000;
    font-family: 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
    text-transform: uppercase;
}

.theme-brutal .section-title .count {
    color: #000;
    font-family: 'Courier New', monospace;
    font-weight: 700;
}

.theme-brutal .menu-grid {
    gap: 1.75rem;
}

/* Dikey poster kart: görsel üstte, içerik altta */
.theme-brutal .menu-item-card {
    flex-direction: column;
    height: auto;
    background: #fff;
    border: 3px solid #000;
    border-radius: 0;
    box-shadow: 8px 8px 0 #000;
}

.theme-brutal .menu-item-card:active {
    transform: translate(4px, 4px);
    box-shadow: 4px 4px 0 #000;
}

.theme-brutal .menu-item-img {
    width: 100%;
    height: 170px;
    border-radius: 0;
    border-bottom: 3px solid #000;
}

.theme-brutal .menu-item-info h3 {
    color: #000;
    font-family: 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
    text-transform: uppercase;
    font-size: 1rem;
}

.theme-brutal .item-desc {
    color: #333;
    font-family: 'Courier New', monospace;
}

.theme-brutal .item-price {
    background: #000;
    color: #ffe600;
    padding: 0.15rem 0.5rem;
    font-family: 'Courier New', monospace;
    font-weight: 700;
}

.theme-brutal .product-badge {
    border-radius: 0;
    border: 2px solid #000;
}

.theme-brutal .btn-add {
    background: #000;
    color: #ffe600;
    border: 2px solid #000;
    border-radius: 0;
    box-shadow: 4px 4px 0 #ffe600;
}

.theme-brutal .btn-add:hover {
    background: #ffe600;
    color: #000;
    transform: none;
}

.theme-brutal .bottom-bar {
    background: #ffe600 !important;
    border: 3px solid #000;
    border-radius: 0;
    box-shadow: 6px 6px 0 #000;
    backdrop-filter: none;
}

.theme-brutal .bottom-bar .cart-icon,
.theme-brutal .bottom-bar .cart-text {
    color: #000;
}

.theme-brutal .bottom-bar .total-amount {
    color: #000;
    font-family: 'Courier New', monospace;
    font-weight: 700;
}

.theme-brutal .btn-track-bottom {
    background: #fff;
    color: #000;
    border: 2px solid #000;
    border-radius: 0;
    box-shadow: none;
    font-family: 'Courier New', monospace;
}

.theme-brutal .btn-checkout {
    background: #000;
    color: #ffe600;
    border: 2px solid #000;
    border-radius: 0;
    box-shadow: none;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    text-transform: uppercase;
}

.theme-brutal .btn-floating-waiter,
.theme-brutal .btn-floating-profile,
.theme-brutal .btn-floating-bill {
    background: #ffe600;
    color: #000;
    border: 3px solid #000;
    border-radius: 0;
    box-shadow: 5px 5px 0 #000;
}

/* Brutal modal & sepet */
.theme-brutal .modal {
    background: #fff !important;
    border: 3px solid #000;
    border-radius: 0 !important;
    box-shadow: 10px 10px 0 #000;
}

.theme-brutal .modal-header {
    border-bottom: 3px solid #000;
}

.theme-brutal .modal-header h2,
.theme-brutal .modal-header h3 {
    font-family: 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
    text-transform: uppercase;
}

.theme-brutal .cart-item {
    border-bottom: 2px solid #000;
}

.theme-brutal .quantity-control {
    background: #fff !important;
    border: 2px solid #000;
    border-radius: 0 !important;
}

.theme-brutal .quantity-control button {
    color: #000 !important;
}

.theme-brutal .tip-option {
    background: #fff !important;
    border: 2px solid #000 !important;
    border-radius: 0 !important;
    color: #000 !important;
    font-family: 'Courier New', monospace;
}

.theme-brutal .tip-option.active {
    background: #000 !important;
    color: #ffe600 !important;
}

.theme-brutal .summary-row.total {
    border-top: 3px solid #000;
    font-family: 'Courier New', monospace;
}

.theme-brutal .close-modal {
    background: #000 !important;
    color: #ffe600 !important;
    border-radius: 0 !important;
}

/* Suggestion Modal Styles */
.suggestion-content {
    background: white;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.suggestion-item:hover {
    transform: translateY(-2px);
}

.suggestion-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.suggestion-item-info {
    flex-grow: 1;
}

.suggestion-item-info h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

.suggestion-item-info .price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 0.2rem;
}

/* Theme Overrides for Suggestions */
.theme-elegant .suggestion-content {
    border-radius: 0 !important;
}

.theme-elegant .suggestion-item {
    border-radius: 0;
    border-bottom: 1px solid #eee;
    box-shadow: none;
}

.theme-elegant .suggestion-header h3 {
    font-family: 'Playfair Display', serif;
}

.theme-vibrant .suggestion-content {
    background: #0a0a0a !important;
    border: 1px solid #222;
}

.theme-vibrant .suggestion-header {
    border-bottom-color: #222 !important;
}

.theme-vibrant .suggestion-header h3 {
    color: #fff !important;
}

.theme-vibrant .suggestion-item {
    background: #111 !important;
    border: 1px solid #222;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.theme-vibrant .suggestion-item-info h4 {
    color: #fff !important;
}

.theme-vibrant .suggestion-item-info .price {
    text-shadow: 0 0 5px var(--primary-color);
}

.suggestion-content {
    max-height: 80vh;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.suggestion-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.suggestion-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.suggestion-grid {
    padding: 1rem;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.suggestion-footer {
    padding: 1rem;
    border-top: 1px solid #eee;
    text-align: center;
}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .menu-header .lang-switcher {
    left: 1.5rem;
    right: auto;
}

[dir="rtl"] .info-badges {
    justify-content: flex-start;
}

[dir="rtl"] .category-scroll {
    flex-direction: row-reverse;
}

[dir="rtl"] .product-card .price {
    flex-direction: row-reverse;
}

[dir="rtl"] .fa-arrow-right {
    transform: scaleX(-1);
}

[dir="rtl"] .fa-chevron-right {
    transform: scaleX(-1);
}

[dir="rtl"] .lightbox-details {
    text-align: right;
}

[dir="rtl"] .cart-preview {
    flex-direction: row-reverse;
}

[dir="rtl"] .btn-checkout i {
    margin-left: 0;
    margin-right: 0.5rem;
    transform: scaleX(-1);
}

[dir="rtl"] .order-step-num {
    margin-right: 0;
    margin-left: 1rem;
}

[dir="rtl"] .form-group input,
[dir="rtl"] .form-group select,
[dir="rtl"] .form-group textarea {
    text-align: right;
}

[dir="rtl"] .lightbox-close {
    left: 1.5rem;
    right: auto;
}

[dir="rtl"] .btn-floating-profile,
[dir="rtl"] .btn-floating-waiter {
    left: 1.5rem;
    right: auto;
}

[dir="rtl"] .suggestion-footer {
    flex-direction: row-reverse;
}

/* Theme specific RTL fixes */
.rtl.theme-vibrant .product-card {
    border-left: none !important;
    border-right: 3px solid var(--primary-color) !important;
}

/* Customer Redesign Extra Styles */
.badge {
    padding: 1.25rem 1.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

#customers .admin-table tbody tr:hover {
    background-color: #f8fafc !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.modal-overlay.open {
    display: flex !important;
    backdrop-filter: blur(8px);
    background: rgba(15, 23, 42, 0.6);
}

#customer-detail-modal .modal {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#customer-detail-modal.open .modal {
    transform: translateY(0);
    opacity: 1;
}

/* Scrollbar for detail modal */
#detail-recent-orders {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

#detail-recent-orders::-webkit-scrollbar {
    width: 6px;
}

#detail-recent-orders::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}

/* Cart Upsell Styles */
#cart-upsell-items::-webkit-scrollbar {
    height: 4px;
}

#cart-upsell-items::-webkit-scrollbar-track {
    background: #f8fafc;
}

#cart-upsell-items::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.cart-upsell-container {
    display: none;
    padding: 0.75rem 1rem;
    border-top: 1px solid #f1f5f9;
    background: #fff;
    flex-shrink: 0;
}

.upsell-title {
    margin: 0 0 0.6rem 0;
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.cart-upsell-items {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.75rem !important;
    overflow-x: auto !important;
    padding-bottom: 0.5rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.upsell-card {
    flex: 0 0 200px !important;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.4rem;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.6rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.upsell-card:hover {
    border-color: var(--primary-color);
    background: #fff;
    transform: translateY(-1px);
}

.upsell-card img {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    object-fit: cover !important;
    border-radius: 8px;
    flex-shrink: 0 !important;
}

.upsell-card .info {
    flex-grow: 1;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px;
    overflow: hidden;
}

.upsell-card h6 {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.upsell-card .price {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--primary-color);
}

.upsell-card button {
    padding: 0.3rem 0.6rem;
    border: none;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.2rem;
    transition: all 0.2s;
}

.upsell-card button:active {
    transform: scale(0.95);
}

/* Waiter/Admin Table Grid Styles */
.table-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
}

/* Dietary Filters */
.dietary-filters-bar {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.dietary-filters-bar::-webkit-scrollbar {
    display: none;
}

.diet-filter-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.diet-filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px var(--border-color);
}

.diet-filter-btn.active {
    box-shadow: 0 4px 12px -2px rgba(99, 102, 241, 0.4) !important;
}

.allergen-icons span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform 0.2s;
}

.allergen-icons span:hover {
    transform: scale(1.2);
    z-index: 5;
    cursor: pointer;
}

.diet-info-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    background: #f1f5f9;
    color: #475569;
}

/* Thermal Printer (80mm/58mm) Print Styles */
@media print {
    body * {
        visibility: hidden;
    }

    #print-section,
    #print-section * {
        visibility: visible;
        display: block !important;
    }

    #print-section {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        max-width: 80mm;
        /* Standard Thermal Size */
        margin: 0;
        padding: 5px;
        background: white;
        color: black;
        font-family: 'Courier New', Courier, monospace;
        /* Monospaced for alignment */
        font-size: 12px;
    }

    .receipt-header {
        text-align: center;
        margin-bottom: 5px;
    }

    .receipt-header h2 {
        margin: 0;
        font-size: 16px;
    }

    .receipt-divider {
        border-top: 1px dashed black;
        margin: 5px 0;
    }

    .receipt-item {
        display: flex;
        justify-content: space-between;
        margin-bottom: 2px;
    }

    .receipt-total {
        text-align: right;
        font-weight: bold;
        margin-top: 5px;
        font-size: 14px;
    }

    .receipt-footer {
        text-align: center;
        margin-top: 10px;
        font-size: 10px;
    }
}

/* Hidden by default in UI */
#print-section {
    display: none;
}

.btn-floating-bill {
    position: fixed;
    bottom: 230px;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #10b981;
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-floating-bill:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.6);
}

.bill-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px dashed #eee;
}

.bill-item:last-child {
    border-bottom: none;
}

.bill-total-row {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
}

/* Settings Tabs */
.settings-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.settings-tabs::-webkit-scrollbar {
    display: none;
}

.settings-tab-btn {
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    border: none;
    background: transparent;
    color: var(--text-medium);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.settings-tab-btn i {
    font-size: 1.1rem;
}

.settings-tab-btn:hover {
    color: var(--primary-color);
    background: var(--secondary-color);
}

.settings-tab-btn.active {
    background: var(--primary-color);
    color: white;
}

.settings-pane {
    display: none;
    animation: fadeIn 0.3s ease;
}

.settings-pane.active {
    display: block;
}

.settings-grid.single-col {
    grid-template-columns: 1fr;
    max-width: 800px;
}

/* Reporting Quick Filters */
.quick-filters button.active {
    background: #6366f1 !important;
    color: white !important;
    border-color: #6366f1 !important;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.2);
}

.report-controls .btn-secondary {
    transition: all 0.2s;
    cursor: pointer;
}

.report-controls .btn-secondary:hover:not(.active) {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.header-actions {
    display: flex;
}

/* Chrome, Edge ve Safari için */
::-webkit-scrollbar {
  width: 6px; /* Dikey scroll çubuğunun genişliği */
  height: 6px; /* Yatay scroll çubuğunun kalınlığı */
}

::-webkit-scrollbar-track {
  background: #f1f1f1; /* Arka plan rengi */
}

::-webkit-scrollbar-thumb {
  background: #888; /* Kayan kısmın rengi */
  border-radius: 10px; /* Kenarları ovalleştirir */
}

::-webkit-scrollbar-thumb:hover {
  background: #555; /* Üzerine gelince rengi koyulaşır */
}

/* Firefox için */
.scroll-alani {
  scrollbar-width: thin; /* Çubuğu inceltir */
  scrollbar-color: #888 #f1f1f1; /* Kayan kısım ve arka plan rengi */
}




/* --- Apple (iOS) Style Switch --- */

/* Ana Taşıyıcı */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 30px;
}

/* Orijinal Checkbox'ı Gizle */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* Arka Plan (Kapalı Durum) */
.switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #e9e9ea; /* iOS kapalı gri rengi */
  transition: background-color 0.3s ease;
}

/* Yuvarlak Yuva (Pill Shape) */
.switch .slider.round {
  border-radius: 30px;
}

/* Beyaz Buton (Knob) */
.switch .slider::before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  border-radius: 50%;
  /* Apple tarzı yumuşak 3D gölge efekti */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 0 1px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

/* Açık (Aktif) Durum Arka Planı */
.switch input:checked + .slider {
  background-color: #34c759; /* Orijinal iOS yeşili */
}

/* Açık (Aktif) Durum Buton Hareketi */
.switch input:checked + .slider::before {
  transform: translateX(20px); /* Butonu sağa kaydır */
}

/* Tıklanırken (Active) Butonun Hafif Basılma Efekti (İsteğe bağlı ekstra iOS detayı) */
.switch input:active + .slider::before {
  width: 30px; /* Basılı tutarken hafif uzar */
}
.switch input:checked:active + .slider::before {
  transform: translateX(16px); /* Uzağında taşmasını engellemek için */
}


.form-group input[type="file"]::file-selector-button {
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

/* === PLAN TABANLI ÖZELLİK KİLİDİ === */
.nav-links li.plan-locked,
.settings-tab-btn.plan-locked {
  position: relative;
  opacity: 0.6;
}
.nav-links li.plan-locked:hover,
.settings-tab-btn.plan-locked:hover {
  opacity: 0.85;
}
.plan-lock-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  color: #f58220;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.settings-tab-btn.plan-locked .plan-lock-badge {
  margin-left: 6px;
}

/* Kilitli bölüm üzerine yükseltme kaplaması */
.plan-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: inherit;
  cursor: pointer;
}
.plan-overlay-inner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #f58220, #1e4d5b);
  color: #fff;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 8px 20px rgba(245, 130, 32, 0.25);
}

/* =========================================
   ADMIN: THEME PICKER (Tasarım Teması)
   ========================================= */
.theme-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.theme-card {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    text-align: center;
    padding-bottom: 0.6rem;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.theme-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.theme-card.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.theme-card-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 0.5rem;
}

.theme-card.active .theme-card-name {
    color: var(--primary-color);
}

.theme-card-desc {
    font-size: 0.7rem;
    color: var(--text-medium);
}

/* Mini thumbnail: header band + 2 card bars + accent dot */
.theme-thumb {
    height: 72px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 8px 6px 8px;
    border-bottom: 1px solid var(--border-color);
}

.tt-head {
    height: 24px;
    margin: 0 -8px 2px -8px;
    flex-shrink: 0;
}

.tt-bar {
    height: 12px;
    border-radius: 4px;
    width: 100%;
}

.tt-bar.short {
    width: 70%;
}

.tt-dot {
    position: absolute;
    bottom: 8px;
    right: 10px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

/* Modern (mevcut varsayılan) */
.tt-modern { background: #f8f9fa; }
.tt-modern .tt-head { background: linear-gradient(135deg, #334155, #1e293b); }
.tt-modern .tt-bar { background: #ffffff; border: 1px solid #e5e7eb; }
.tt-modern .tt-dot { background: #6366f1; }

/* Elegant */
.tt-elegant { background: #ffffff; }
.tt-elegant .tt-head { background: #ffffff; border-bottom: 1px solid #e5e5e5; }
.tt-elegant .tt-bar { background: #ffffff; border-bottom: 1px solid #e5e5e5; border-radius: 0; }
.tt-elegant .tt-dot { background: #1a1a1a; border-radius: 0; }

/* Vibrant */
.tt-vibrant { background: #050505; }
.tt-vibrant .tt-head { background: linear-gradient(135deg, #1a1a2e, #050505); }
.tt-vibrant .tt-bar { background: #161616; border: 1px solid #262626; }
.tt-vibrant .tt-dot { background: #6366f1; box-shadow: 0 0 6px #6366f1; }

/* Minimal */
.tt-minimal { background: #fcfcfc; }
.tt-minimal .tt-head { background: #fcfcfc; border-bottom: 1px solid #ececec; }
.tt-minimal .tt-bar { background: transparent; border-bottom: 1px solid #e4e4e4; border-radius: 0; }
.tt-minimal .tt-dot { background: transparent; border: 1.5px solid #111; }

/* Luxury */
.tt-luxury { background: #0f0e0c; }
.tt-luxury .tt-head { background: linear-gradient(135deg, #2c281f, #0f0e0c); }
.tt-luxury .tt-bar { background: #1a1814; border: 1px solid #3a342a; }
.tt-luxury .tt-dot { background: #d4af37; }

/* Retro */
.tt-retro { background: #f6efe3; }
.tt-retro .tt-head { background: #f6efe3; border-bottom: 2px double #8b5e34; }
.tt-retro .tt-bar { background: #fffaf0; border: 1px dashed #b08968; border-radius: 2px; }
.tt-retro .tt-dot { background: #8b5e34; border-radius: 2px; }

/* Nature */
.tt-nature { background: #f1f4ec; }
.tt-nature .tt-head { background: linear-gradient(135deg, #3f7a4e, #1b3223); }
.tt-nature .tt-bar { background: #ffffff; border: 1px solid #dde5d4; border-radius: 6px; }
.tt-nature .tt-dot { background: #3f7a4e; }

/* Gradient */
.tt-gradient { background: #ffffff; }
.tt-gradient .tt-head { background: linear-gradient(135deg, #6366f1, #d946ef, #f97316); }
.tt-gradient .tt-bar { background: #ffffff; border: 1px solid #f0edf7; box-shadow: 0 1px 3px rgba(109, 40, 217, 0.12); }
.tt-gradient .tt-dot { background: linear-gradient(135deg, #6366f1, #d946ef); }

/* Brutal */
.tt-brutal { background: #ffe600; }
.tt-brutal .tt-head { background: #ffe600; border-bottom: 3px solid #000; }
.tt-brutal .tt-bar { background: #fff; border: 2px solid #000; border-radius: 0; box-shadow: 2px 2px 0 #000; }
.tt-brutal .tt-dot { background: #000; border-radius: 0; }

/* =========================================
   MODERN BASE SONRASI — tema uyum düzeltmeleri
   (yeni base'in radius/surface/count token'larıyla
   çakışan tema noktalarını giderir)
   ========================================= */

/* Brutal: keskin köşe kimliğini koru */
.theme-brutal .menu-header {
    border-radius: 0;
}

.theme-brutal .menu-item-img {
    margin: 0;
}

.theme-brutal .section-title .count {
    background: #fff;
    border: 2px solid #000;
    border-radius: 0;
    color: #000;
}

/* Koyu temalarda sayaç hapı açık kalmasın */
.theme-vibrant .section-title .count {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
    color: #9a9a9a;
}

.theme-luxury .section-title .count {
    background: rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.28);
    color: #b8ae97;
}

/* Elegant liste görünümünde görsel kenara yaslansın */
.theme-elegant .menu-item-img {
    margin: 0;
}

/* ============================================================
   INFO / ABOUT PANEL — floating button + bottom sheet
   Yalnız --m-* ve --primary-color token'ları kullanır (her temada uyumlu)
   ============================================================ */

/* Sol alt yüzen bilgi butonu (sağdaki butonlarla simetrik) */
.btn-floating-info {
    position: fixed;
    bottom: 5.5rem;
    left: 1.5rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: var(--m-surface);
    color: var(--primary-color);
    font-size: 1.4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--m-shadow);
    border: 1px solid var(--m-line);
    z-index: 2000;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s;
}

.btn-floating-info:active {
    transform: scale(0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Sheet'i alta yasla, kenar boşluğunu kaldır */
.info-sheet-lightbox {
    align-items: flex-end;
    justify-content: center;
    padding: 0;
}

/* .lightbox-content override: alttan kayan tam genişlik panel */
.info-sheet-lightbox .lightbox-content.info-sheet {
    max-width: 480px;
    width: 100%;
    max-height: 88vh;
    border-radius: var(--m-radius) var(--m-radius) 0 0;
    background: var(--m-canvas);
    overflow: hidden;
    padding: 0;
    position: relative;
    transform: translateY(100%);
    transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1), min-height 0.3s ease;
    display: block;
}

.info-sheet-lightbox.open .lightbox-content.info-sheet {
    transform: translateY(0);
}

/* Alt sayfa açıkken panele rahat bir yükseklik ver (ana ekran sade kalsın) */
.info-sheet-lightbox .lightbox-content.info-sheet.sub-open {
    min-height: min(78vh, 620px);
}

.info-sheet-close {
    top: 1.1rem;
    right: 1.1rem;
    z-index: 4;
}

/* ---------- Pane yığını (ana ekran + alt sayfalar) ---------- */
/* Ana ekran normal akışta: panelin yüksekliğini o belirler */
#info-pane-root {
    display: block;
    max-height: 88vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 3.25rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
}

/* Alt sayfalar panelin üstünü kaplar, sağdan kayarak gelir */
.info-pane:not(#info-pane-root) {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    background: var(--m-canvas);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1), visibility 0.3s;
    z-index: 3;
}

.info-pane:not(#info-pane-root).info-pane-active {
    transform: translateX(0);
    visibility: visible;
}

[dir="rtl"] .info-pane:not(#info-pane-root) {
    transform: translateX(-100%);
}

[dir="rtl"] .info-pane:not(#info-pane-root).info-pane-active {
    transform: translateX(0);
}

/* Alt sayfa başlığı */
.info-subhead {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
    padding: 1.05rem 3.25rem 1.05rem 0.75rem;
    border-bottom: 1px solid var(--m-line);
    background: var(--m-canvas);
}

.info-subhead h4 {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--m-ink);
    line-height: 1.2;
}

.info-subhead-stack {
    min-width: 0;
}

.info-subhead-stack span {
    display: block;
    font-size: 0.8rem;
    color: var(--m-ink-soft);
    margin-top: 0.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.info-back {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--m-ink);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.info-back:active {
    background: var(--m-surface-2);
}

[dir="rtl"] .info-back i {
    transform: scaleX(-1);
}

.info-pane-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1.15rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
}

/* ---------- Aksiyon butonları (Instagram / Ara / Yol Tarifi / WhatsApp) ---------- */
.info-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.55rem;
    margin-bottom: 1.6rem;
}

.info-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    padding: 0.85rem 0.3rem 0.75rem;
    background: var(--m-surface);
    border: 1px solid var(--m-line);
    border-radius: var(--m-radius-sm);
    text-decoration: none;
    box-shadow: var(--m-shadow-sm);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.info-action:active {
    transform: scale(0.96);
}

.info-action-ic {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: var(--m-radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 6px 14px -4px rgba(20, 19, 26, 0.35);
}

.info-action-ic.ig {
    background: radial-gradient(circle at 30% 110%, #fdc468 0%, #e1306c 45%, #a333c8 80%);
}

.info-action-ic.call {
    background: #22a565;
}

.info-action-ic.maps {
    background: #3b82f6;
}

.info-action-ic.wa {
    background: #25d366;
}

.info-action-lbl {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--m-ink);
    text-align: center;
    line-height: 1.15;
}

.info-action-sub {
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--m-ink-faint);
    text-align: center;
    line-height: 1.2;
}

/* ---------- Bölümler ---------- */
.info-section {
    margin-bottom: 1.4rem;
}

.info-section:last-child {
    margin-bottom: 0;
}

.info-section-title {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--m-ink-faint);
    margin: 0 0 0.7rem 0.15rem;
}

/* ---------- Kart satırı (ikon + başlık + alt metin + chevron) ---------- */
.info-card-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    background: var(--m-surface);
    border: 1px solid var(--m-line);
    border-radius: var(--m-radius-sm);
    margin-bottom: 0.55rem;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s ease;
}

.info-card-row:last-child {
    margin-bottom: 0;
}

.info-card-row:active {
    background: var(--m-surface-2);
}

.info-card-row.info-card-static {
    cursor: default;
}

.info-card-row.info-card-static:active {
    background: var(--m-surface);
}

.info-card-ic {
    width: 2.7rem;
    height: 2.7rem;
    flex-shrink: 0;
    border-radius: var(--m-radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

/* İkon rozetleri: temadan bağımsız sabit pastel tonlar */
.ic-blue {
    background: rgba(59, 130, 246, 0.12);
    color: #3b82f6;
}

.ic-indigo {
    background: rgba(99, 102, 241, 0.12);
    color: #6366f1;
}

.ic-amber {
    background: rgba(245, 158, 11, 0.14);
    color: #d98a06;
}

.ic-orange {
    background: rgba(249, 115, 22, 0.13);
    color: #f97316;
}

.ic-rose {
    background: rgba(244, 63, 94, 0.12);
    color: #f43f5e;
}

.ic-green {
    background: rgba(34, 197, 94, 0.13);
    color: #16a34a;
}

.ic-slate {
    background: rgba(100, 116, 139, 0.13);
    color: #64748b;
}

.info-card-text {
    min-width: 0;
    flex: 1;
}

.info-card-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--m-ink-faint);
    margin-bottom: 0.05rem;
}

.info-card-head {
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--m-ink);
    line-height: 1.25;
}

.info-card-sub {
    font-size: 0.83rem;
    color: var(--m-ink-soft);
    line-height: 1.3;
    margin-top: 0.1rem;
}

.info-card-chevron {
    flex-shrink: 0;
    color: var(--m-ink-faint);
    font-size: 0.8rem;
}

[dir="rtl"] .info-card-chevron i {
    transform: scaleX(-1);
}

/* Açık / Kapalı rozeti */
.info-status-badge {
    flex-shrink: 0;
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
}

.info-status-badge.is-open {
    color: #16a34a;
}

.info-status-badge.is-closed {
    color: #dc2626;
}

/* Adres satırındaki "Haritada gör" linki ve harita önizlemesi */
.info-map-link {
    flex-shrink: 0;
    font-size: 0.83rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    white-space: nowrap;
}

.info-map-thumb {
    flex-shrink: 0;
    width: 2.7rem;
    height: 2.7rem;
    border-radius: var(--m-radius-xs);
    border: 1px solid var(--m-line);
    background: var(--m-surface-2);
    color: var(--m-ink-soft);
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease;
}

.info-map-thumb:active {
    transform: scale(0.94);
}

/* Wi-Fi kopyala butonu */
.info-wifi-copy {
    flex-shrink: 0;
    padding: 0.55rem 1rem;
    border-radius: var(--m-pill);
    border: none;
    background: var(--m-ink);
    color: var(--m-canvas);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.info-wifi-copy:active {
    transform: scale(0.94);
}

/* HİKAYEMİZ */
.info-story {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--m-ink-soft);
}

/* ---------- Alt sayfa: ortak parçalar ---------- */
.info-hero-card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1.1rem;
    border-radius: var(--m-radius-sm);
    background: rgba(245, 158, 11, 0.09);
    border: 1px solid rgba(245, 158, 11, 0.25);
    margin-bottom: 1.25rem;
}

.info-hero-ic {
    width: 2.9rem;
    height: 2.9rem;
    flex-shrink: 0;
    border-radius: var(--m-radius-xs);
    background: rgba(245, 158, 11, 0.16);
    color: #d98a06;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.info-hero-text {
    min-width: 0;
}

.info-hero-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--m-ink-soft);
}

.info-hero-value {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--m-ink);
    line-height: 1.15;
    margin: 0.05rem 0 0.1rem;
}

.info-hero-note {
    font-size: 0.78rem;
    color: var(--m-ink-faint);
    line-height: 1.3;
}

.info-list-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--m-ink-soft);
    margin: 0 0 0.6rem 0.15rem;
}

.info-pane-note {
    margin: 1rem 0.15rem 0;
    font-size: 0.78rem;
    line-height: 1.4;
    color: var(--m-ink-faint);
}

/* ---------- Teslimat bölgeleri listesi ---------- */
.info-zone-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-zone-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--m-surface);
    border: 1px solid var(--m-line);
    border-radius: var(--m-radius-sm);
}

.info-zone-check {
    flex-shrink: 0;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.15);
    color: #16a34a;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-zone-text {
    min-width: 0;
    flex: 1;
}

.info-zone-name {
    font-size: 0.93rem;
    font-weight: 700;
    color: var(--m-ink);
    line-height: 1.25;
}

.info-zone-min {
    font-size: 0.8rem;
    color: var(--m-ink-soft);
    margin-top: 0.08rem;
}

/* ---------- Çalışma saatleri ---------- */
.info-status-card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1.1rem;
    background: var(--m-surface);
    border: 1px solid var(--m-line);
    border-radius: var(--m-radius-sm);
    margin-bottom: 1.15rem;
}

.info-status-ic {
    width: 2.6rem;
    height: 2.6rem;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background: rgba(34, 197, 94, 0.15);
    color: #16a34a;
}

.info-status-card.is-closed .info-status-ic {
    background: rgba(220, 38, 38, 0.13);
    color: #dc2626;
}

.info-status-text {
    min-width: 0;
}

.info-status-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #16a34a;
    line-height: 1.2;
}

.info-status-card.is-closed .info-status-title {
    color: #dc2626;
}

.info-status-sub {
    font-size: 0.85rem;
    color: var(--m-ink-soft);
    margin-top: 0.1rem;
}

.info-hours-table {
    background: var(--m-surface);
    border: 1px solid var(--m-line);
    border-radius: var(--m-radius-sm);
    overflow: hidden;
}

.info-hours-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 1.1rem;
    border-bottom: 1px solid var(--m-line);
}

.info-hours-row:last-child {
    border-bottom: none;
}

.info-hours-day {
    font-size: 0.92rem;
    color: var(--m-ink-soft);
}

.info-hours-val {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--m-ink);
    white-space: nowrap;
}

.info-hours-row.is-today {
    background: var(--m-surface-2);
}

.info-hours-row.is-today .info-hours-day,
.info-hours-row.is-today .info-hours-val {
    font-weight: 800;
    color: var(--m-ink);
}

.info-hours-row.is-closed .info-hours-val {
    color: var(--m-ink-faint);
    font-weight: 500;
}

/* ---------- Nasıl çalışır? adımları ---------- */
.info-steps {
    position: relative;
    background: var(--m-surface);
    border: 1px solid var(--m-line);
    border-radius: var(--m-radius-sm);
    padding: 1.25rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.info-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

/* Adımları birbirine bağlayan dikey çizgi */
.info-step:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 3rem;
    left: 1.45rem;
    width: 2px;
    height: calc(100% + 1.35rem - 3rem);
    background: var(--m-line);
}

[dir="rtl"] .info-step:not(:last-child)::before {
    left: auto;
    right: 1.45rem;
}

.info-step-ic {
    width: 2.9rem;
    height: 2.9rem;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 1;
}

.info-step-no {
    flex-shrink: 0;
    width: 1.1rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--m-ink-faint);
    line-height: 1.6;
    text-align: center;
}

.info-step-text {
    min-width: 0;
    flex: 1;
    padding-top: 0.15rem;
}

.info-step-head {
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--m-ink);
    line-height: 1.25;
}

.info-step-sub {
    font-size: 0.85rem;
    color: var(--m-ink-soft);
    line-height: 1.35;
    margin-top: 0.15rem;
}

/* Güvenli paketleme notu */
.info-note-card {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-top: 1.15rem;
    padding: 1rem 1.1rem;
    border-radius: var(--m-radius-sm);
    background: rgba(245, 158, 11, 0.09);
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.info-note-ic {
    flex-shrink: 0;
    color: #d98a06;
    font-size: 1.15rem;
    line-height: 1.2;
}

.info-note-text {
    min-width: 0;
}

.info-note-head {
    font-size: 0.93rem;
    font-weight: 800;
    color: #b8770a;
    line-height: 1.25;
}

.info-note-sub {
    font-size: 0.83rem;
    color: var(--m-ink-soft);
    line-height: 1.4;
    margin-top: 0.15rem;
}

/* ---------- Harita alt sayfası ---------- */
.info-map-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-map-frame {
    position: relative;
    flex: 1;
    min-height: 15rem;
    border-radius: var(--m-radius-sm);
    overflow: hidden;
    border: 1px solid var(--m-line);
    background: var(--m-surface-2);
}

.info-map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Sol UST kose: OSM'in alt kenardaki telif metnini ve sag ustteki zoom
   butonlarini kapatmasin (attribution gorunur kalmali) */
.info-map-cover {
    position: absolute;
    left: 0.75rem;
    top: 0.75rem;
    width: 4.25rem;
    height: 3.25rem;
    object-fit: cover;
    border-radius: var(--m-radius-xs);
    border: 2px solid var(--m-canvas);
    box-shadow: var(--m-shadow-sm);
}

[dir="rtl"] .info-map-cover {
    left: auto;
    right: 0.75rem;
}

.info-cta-pill {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 1.25rem;
    border-radius: var(--m-pill);
    background: var(--m-ink);
    color: var(--m-canvas);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s ease;
}

.info-cta-pill:active {
    transform: scale(0.97);
}

/* ---------- RTL / erişilebilirlik / dar ekran ---------- */
[dir="rtl"] .btn-floating-info {
    left: auto;
    right: 1.5rem;
}

[dir="rtl"] .info-subhead {
    padding: 1.05rem 0.75rem 1.05rem 3.25rem;
}

/* "30 dk" ve "09:00 - 22:00" gibi sayi+metin karisik degerler RTL'de ters
   siralanmasin (Arapca'da "dk 30" olarak okunuyordu) */
[dir="rtl"] .info-hero-value,
[dir="rtl"] .info-hours-val {
    direction: ltr;
    unicode-bidi: isolate;
}

@media (prefers-reduced-motion: reduce) {

    .info-sheet-lightbox .lightbox-content.info-sheet,
    .info-pane:not(#info-pane-root) {
        transition: none;
    }
}

@media (max-width: 360px) {
    .info-actions {
        gap: 0.35rem;
    }

    .info-action {
        padding: 0.7rem 0.2rem 0.6rem;
    }

    .info-action-lbl {
        font-size: 0.7rem;
    }

    .info-action-sub {
        font-size: 0.6rem;
    }

    #info-pane-root,
    .info-pane-body {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }

    .info-card-row {
        padding: 0.75rem 0.8rem;
        gap: 0.65rem;
    }
}

/* ============================================================
   CHECKOUT SIHIRBAZI
   ============================================================ */

.wiz-progress {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 1rem 1.5rem 0.5rem;
    flex-shrink: 0;
}

.wiz-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--m-border, #e2e8f0);
    flex-shrink: 0;
    transition: background .2s, transform .2s;
}

.wiz-dot.done { background: var(--primary-color); }

.wiz-dot.active {
    background: var(--primary-color);
    transform: scale(1.5);
}

.wiz-line {
    height: 2px;
    flex: 1;
    background: var(--m-border, #e2e8f0);
    transition: background .2s;
}

.wiz-line.done { background: var(--primary-color); }

/* Kaydirma bu kapsayicida. Paneller normal akista duruyor, boylece kendi
   yuksekliklerini kapsayiciya veriyorlar. Daha once paneller position:absolute
   idi; sepet modali (.lightbox-content) kesin yukseklik degil max-height
   kullandigi icin flex-grow dagitacak bos alan bulamiyor ve panel alani 0
   pikselde kaliyordu. */
.wiz-panes {
    position: relative;
    flex-grow: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.wiz-pane {
    padding: 0.5rem 1.5rem 1.5rem;
    display: none;
    flex-direction: column;
}

.wiz-pane.active {
    display: flex;
    animation: wizIn .22s ease;
}

@keyframes wizIn {
    from { opacity: 0; transform: translateX(12px); }
    to   { opacity: 1; transform: translateX(0); }
}

.wiz-tabs { margin: 0 1.5rem 0.5rem; display: flex; gap: .5rem; }

.wiz-h {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 .25rem;
    color: var(--m-text, #1e293b);
}

.wiz-sub {
    font-size: .85rem;
    color: var(--m-muted, #64748b);
    margin: 0 0 1.1rem;
}

.wiz-pane label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    margin: .9rem 0 .4rem;
    color: var(--m-text, #1e293b);
}

.wiz-pane label:first-of-type { margin-top: 0; }

.wiz-err {
    display: none;
    font-size: .78rem;
    color: #dc2626;
    margin-top: .35rem;
}

.wiz-err.show { display: block; }

.mt-input.wiz-invalid { border-color: #dc2626 !important; }

/* --- Bolge karti --- */

.wiz-zone-card {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    margin-top: 1rem;
    padding: .85rem 1rem;
    border-radius: 12px;
    background: var(--m-soft, #f8fafc);
    border: 1px solid var(--m-border, #e2e8f0);
}

.wiz-zone-card > i {
    color: var(--primary-color);
    font-size: 1.15rem;
    margin-top: .1rem;
}

.wiz-zone-lbl {
    display: block;
    font-size: .72rem;
    color: var(--m-muted, #64748b);
}

.wiz-zone-card strong {
    display: block;
    font-size: .95rem;
    color: var(--m-text, #1e293b);
}

.wiz-zone-min {
    display: block;
    font-size: .78rem;
    color: var(--m-muted, #64748b);
    margin-top: .15rem;
    direction: ltr;
    unicode-bidi: isolate;
}

.wiz-warn {
    margin-top: .6rem;
    padding: .6rem .8rem;
    border-radius: 10px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: .8rem;
    direction: ltr;
    unicode-bidi: isolate;
}

[dir="rtl"] .wiz-warn { text-align: right; }

/* --- Odeme kartlari --- */

.wiz-pay-list { display: flex; flex-direction: column; gap: .6rem; }

.wiz-pay {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .85rem 1rem;
    border-radius: 12px;
    border: 2px solid var(--m-border, #e2e8f0);
    background: #fff;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}

.wiz-pay i { font-size: 1.1rem; color: var(--m-muted, #64748b); width: 1.4rem; text-align: center; }

/* :not(.wiz-radio) sart: radyo da bir span, bu kural onu da yakalayinca
   flex:1 ile yatayda esneyip elipse donusuyordu. */
.wiz-pay > span:not(.wiz-radio) { flex: 1; font-weight: 600; font-size: .9rem; color: var(--m-text, #1e293b); }

.wiz-pay .wiz-radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--m-border, #cbd5e1);
    flex: 0 0 auto;
}

.wiz-pay.active { border-color: var(--primary-color); background: var(--m-soft, #f8fafc); }
.wiz-pay.active i { color: var(--primary-color); }

.wiz-pay.active .wiz-radio {
    border-color: var(--primary-color);
    background: radial-gradient(circle, var(--primary-color) 0 45%, transparent 46%);
}

/* --- Ozet --- */

.wiz-sum {
    border: 1px solid var(--m-border, #e2e8f0);
    border-radius: 12px;
    overflow: hidden;
}

.wiz-sum-row {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .8rem 1rem;
    border-bottom: 1px solid var(--m-border, #e2e8f0);
    background: none;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    width: 100%;
    text-align: start;
    cursor: pointer;
    font: inherit;
}

.wiz-sum-row:last-child { border-bottom: none; }

.wiz-sum-row .k {
    font-size: .8rem;
    color: var(--m-muted, #64748b);
    width: 32%;
    flex-shrink: 0;
}

.wiz-sum-row .v {
    flex: 1;
    font-size: .87rem;
    color: var(--m-text, #1e293b);
    word-break: break-word;
    direction: ltr;
    unicode-bidi: isolate;
}

.wiz-sum-row .c { color: var(--m-muted, #94a3b8); font-size: .8rem; }
[dir="rtl"] .wiz-sum-row .c { transform: scaleX(-1); }

.wiz-sum-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.wiz-sum-total strong {
    color: var(--primary-color);
    direction: ltr;
    unicode-bidi: isolate;
}

/* --- Alt butonlar --- */

.wiz-foot {
    display: flex;
    gap: .7rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--m-border, #e2e8f0);
    flex-shrink: 0;
}

.wiz-btn-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .95rem 1rem;
    border: none;
    border-radius: 12px;
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    cursor: pointer;
}

.wiz-btn-main:disabled { opacity: .5; cursor: not-allowed; }
[dir="rtl"] .wiz-btn-main .fa-arrow-right { transform: scaleX(-1); }

.wiz-btn-ghost {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .95rem 1.4rem;
    border: 1px solid var(--m-border, #e2e8f0);
    border-radius: 12px;
    background: var(--m-soft, #f8fafc);
    color: var(--m-text, #1e293b);
    font-weight: 600;
    font-size: .9rem;
    cursor: pointer;
}

.wiz-foot-back { flex-shrink: 0; }
.wiz-foot.hide-back .wiz-foot-back { display: none; }
.wiz-foot.hidden { display: none; }

/* --- Sonuc ekrani --- */

.wiz-pane-done { align-items: center; justify-content: center; text-align: center; gap: .6rem; }

.wiz-done-tick {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    margin-bottom: .6rem;
    animation: wizPop .35s ease;
}

@keyframes wizPop {
    from { transform: scale(.5); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.wiz-done-h { font-size: 1.35rem; font-weight: 700; margin: 0; color: var(--m-text, #1e293b); }
.wiz-done-sub { font-size: .88rem; color: var(--m-muted, #64748b); margin: 0 0 .6rem; max-width: 30ch; }

.wiz-eta {
    width: 100%;
    padding: .9rem 1rem;
    border-radius: 12px;
    background: var(--m-soft, #f8fafc);
    border: 1px solid var(--m-border, #e2e8f0);
    margin-bottom: .4rem;
}

.wiz-eta > span { display: block; font-size: .78rem; color: var(--m-muted, #64748b); }

.wiz-eta strong {
    display: block;
    margin-top: .25rem;
    font-size: 1.05rem;
    color: var(--primary-color);
    direction: ltr;
    unicode-bidi: isolate;
}

.wiz-pane-done .wiz-btn-ghost,
.wiz-pane-done .wiz-btn-main { width: 100%; }

.wiz-check {
    display: flex !important;
    align-items: center;
    gap: .6rem;
    margin-top: 1.1rem !important;
    font-weight: 500 !important;
    font-size: .85rem !important;
    cursor: pointer;
}

.wiz-check input { width: 18px; height: 18px; accent-color: var(--primary-color); flex-shrink: 0; }
.wiz-check .fa-whatsapp { color: #25d366; font-size: 1.1rem; }

@media (max-width: 360px) {
    .wiz-pane { padding-left: 1rem; padding-right: 1rem; }
    .wiz-foot { padding-left: 1rem; padding-right: 1rem; }
    .wiz-h { font-size: 1rem; }
    .wiz-pay { padding: .7rem .8rem; gap: .6rem; }
    .wiz-sum-row .k { width: 36%; font-size: .75rem; }
    .wiz-tabs { margin-left: 1rem; margin-right: 1rem; }
}

/* ============================================================
   SEPET BAHSIS BUTONLARI (.tip-btn)
   Not: cart-step-1 icindeki bahsis butonlarina ait. Onceden
   cart-step-2 blogunun satir ici <style> etiketinde tanimliydi;
   o blok sihirbaza cevrilirken bu kural yanlislikla silinmisti.
   Buraya, kaybolan .active gorunumunu geri getirmek icin tasindi.
   ============================================================ */

.tip-btn.active {
    background: #10b981 !important;
    color: white !important;
    border-color: #10b981 !important;
}
