/* premium.css - Premium Elegant Minimalist Snappy Edition */
:root {
    --minimal-dark: #111111;
    --minimal-gray: #f9f9fb;
    --minimal-border: #f0f0f4;
    --minimal-text: #2d2d2d;
    --minimal-muted: #88888f;
    --white: #ffffff;
}

/* Ultra-Clean Native Mobile Experience: Zero Desktop Scrollbars */
html, body, main, .viewport, .scroller, .horizontal-category-scroll, .category-grid-dual, .subCategoryHorizontalList, .productHorizontalList, * {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}
*::-webkit-scrollbar {
    display: none !important;
    width: 0px !important;
    height: 0px !important;
    background: transparent !important;
}
*::-webkit-scrollbar-track, *::-webkit-scrollbar-thumb, *::-webkit-scrollbar-button, *::-webkit-scrollbar-corner {
    display: none !important;
    width: 0px !important;
    height: 0px !important;
    background: transparent !important;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--white);
    color: var(--minimal-text);
    margin: 0; padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Animations */
.reveal-item { opacity: 0; transform: translateY(12px); transition: 0.35s cubic-bezier(0.23, 1, 0.32, 1); }
.reveal-item.revealed { opacity: 1; transform: translateY(0); }

/* --- Navbar --- */
.navbar-minimal {
    height: 78px; background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--minimal-border);
    position: sticky; top: 0; z-index: 1000;
}
.navbar-branding {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: calc(100% - 130px);
    height: 64px;
    cursor: pointer;
    z-index: 5;
}
.nav-logo { 
    max-height: 62px; 
    max-width: 200px; 
    width: auto; 
    height: auto; 
    object-fit: contain; 
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.06));
    transform: scale(1.15);
    transition: transform 0.2s ease;
}
.nav-logo:hover {
    transform: scale(1.2);
}
.nav-action-btn { background: var(--minimal-gray); border: none; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--minimal-dark); transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease; }

/* --- Category Grid (Center Fix) --- */
.category-grid-dual { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.category-dual-card { background: #fff; border-radius: 24px; border: 1px solid var(--minimal-border); overflow: hidden; cursor: pointer; display: flex; flex-direction: column; }
.category-dual-card .img-box { aspect-ratio: 1.1; overflow: hidden; }
.category-dual-card .img-box img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.category-dual-card .label-box { padding: 14px 10px; display: flex; align-items: center; justify-content: center; } /* Centering fixed */
/* --- Product Cards & Badges --- */
.product-card-simple {
    display: flex;
    align-items: center;
    position: relative !important;
    background: #ffffff;
    border-radius: 20px;
    padding: 12px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: visible !important;
    max-width: 100%;
    box-sizing: border-box;
    gap: 14px;
    margin-bottom: 12px;
}
.product-card-simple:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    border-color: #cbd5e1;
}

.product-img-wrapper {
    position: relative;
    flex-shrink: 0;
    width: 86px;
    height: 86px;
    border-radius: 16px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
}
.product-img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.35s ease;
}
.product-card-simple:hover .product-img {
    transform: scale(1.06);
}

.product-body { 
    flex: 1; 
    min-width: 0; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 2px 0;
    overflow: hidden;
}

.product-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
    margin: 0;
}
.product-title { 
    margin: 0; 
    font-size: 1.02rem; 
    font-weight: 700; 
    color: #0f172a; 
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex: 1;
}
.product-price-min { 
    font-size: 1.05rem; 
    font-weight: 800; 
    color: #0f172a; 
    white-space: nowrap; 
    flex-shrink: 0;
    margin-left: auto;
    letter-spacing: -0.02em;
    background: #f8fafc;
    padding: 3px 8px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.card-meta-row {
    display: none !important;
}

.card-badges-row {
    display: none !important;
}

/* Product Card Floating Badges & Icons */
.product-img-badges {
    position: absolute !important;
    top: -10px !important;
    right: 12px !important;
    left: auto !important;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 4px !important;
    z-index: 20 !important;
    pointer-events: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}
.diet-badge-icon {
    width: 21px;
    height: 21px;
    min-width: 21px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}
.diet-badge-icon:hover {
    transform: scale(1.2);
}
.diet-badge-icon.tag-success {
    background: rgba(16, 185, 129, 0.92);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.6);
}
.diet-badge-icon.tag-warning {
    background: rgba(245, 158, 11, 0.92);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.6);
}
.diet-badge-icon.tag-danger {
    background: rgba(239, 68, 68, 0.92);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.6);
}
.diet-badge-icon.tag-info {
    background: rgba(14, 165, 233, 0.92);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.6);
}
.diet-badge-icon.tag-primary {
    background: rgba(99, 102, 241, 0.92);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.6);
}
.diet-badge-icon.tag-purple {
    background: rgba(168, 85, 247, 0.92);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.product-tags-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin: 1px 0 2px 0;
    max-width: 100%;
}
.product-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.2;
    border-radius: 6px;
    letter-spacing: 0.01em;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}
.product-tag-pill i {
    font-size: 0.65rem;
}
.product-tag-pill.tag-secondary, .product-tag-pill.tag-dark {
    background: rgba(100, 116, 139, 0.09);
    color: #475569;
    border: 1px solid rgba(100, 116, 139, 0.22);
}

[data-theme="dark"] .product-tag-pill.tag-primary {
    background: rgba(99, 102, 241, 0.18);
    color: #a5b4fc;
    border-color: rgba(99, 102, 241, 0.35);
}
[data-theme="dark"] .product-tag-pill.tag-success {
    background: rgba(16, 185, 129, 0.18);
    color: #6ee7b7;
    border-color: rgba(16, 185, 129, 0.35);
}
[data-theme="dark"] .product-tag-pill.tag-warning {
    background: rgba(245, 158, 11, 0.18);
    color: #fcd34d;
    border-color: rgba(245, 158, 11, 0.35);
}
[data-theme="dark"] .product-tag-pill.tag-danger {
    background: rgba(239, 68, 68, 0.18);
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.35);
}
[data-theme="dark"] .product-tag-pill.tag-info {
    background: rgba(14, 165, 233, 0.18);
    color: #7dd3fc;
    border-color: rgba(14, 165, 233, 0.35);
}
[data-theme="dark"] .product-tag-pill.tag-purple {
    background: rgba(168, 85, 247, 0.18);
    color: #d8b4fe;
    border-color: rgba(168, 85, 247, 0.35);
}
[data-theme="dark"] .product-tag-pill.tag-secondary, [data-theme="dark"] .product-tag-pill.tag-dark {
    background: rgba(148, 163, 184, 0.18);
    color: #cbd5e1;
    border-color: rgba(148, 163, 184, 0.35);
}

/* Micro Badges (Cards) */
.card-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    line-height: 1.2;
    white-space: nowrap;
    max-width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
}
.chip-spicy { background: #fff1f2; color: #e11d48; border: 1px solid #ffe4e6; }
.chip-veg { background: #f0fdf4; color: #16a34a; border: 1px solid #dcfce7; }
.chip-vegan { background: #ecfdf5; color: #059669; border: 1px solid #d1fae5; }
.chip-gluten { background: #fffbeb; color: #d97706; border: 1px solid #fef3c7; }
.chip-chef { background: #fefce8; color: #ca8a04; border: 1px solid #fef08a; }
.chip-portion { background: #eef2ff; color: #4f46e5; border: 1px solid #e0e7ff; font-weight: 800; }
.chip-custom { background: #f8fafc; color: #475569; border: 1px solid #e2e8f0; }
.chip-allergen { background: #fff7ed; color: #c2410c; border: 1px solid #ffedd5; }

/* Allergen & Diet Compact Icon Pills */
.card-allergen-icons, .card-diet-icons {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    vertical-align: middle;
    flex-shrink: 0;
}
.allergen-icon-pill, .diet-icon-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    font-size: 0.65rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
    padding: 0;
}
.allergen-icon-pill svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2.2;
    display: block;
}
.allergen-icon-pill.allergen-more-pill,
.diet-icon-pill.diet-more-pill {
    font-size: 0.62rem;
    font-weight: 800;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    letter-spacing: -0.5px;
    line-height: 1;
}
.allergen-icon-pill:hover, .diet-icon-pill:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: scale(1.12);
}
.card-meta-calories {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.74rem;
    font-weight: 700;
    color: #64748b;
    white-space: nowrap;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    padding: 2px 6px;
    border-radius: 6px;
    flex-shrink: 0;
}

.product-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 8px;
    margin-top: 0;
    min-width: 0;
}
.product-meta-left {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    overflow: hidden;
    min-width: 0;
}
.product-actions-right {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    flex-shrink: 0;
}
.product-action-btn {
    font-size: 0.76rem;
    font-weight: 700;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    padding: 3px 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: 0.2s;
    text-decoration: none !important;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
    min-height: 24px;
}
.product-action-comment {
    min-width: 28px;
    padding: 3px 6px;
}
.product-action-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
}

/* --- Alerjen Filtresi UI Stilleri --- */
.allergen-active-dot {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 9px;
    height: 9px;
    background: #f59e0b;
    border: 2px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.8);
    animation: allergenPulse 2s infinite;
}
@keyframes allergenPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

.allergen-banner {
    background: #fffbeb;
    border: 1.5px solid #fef3c7;
    border-radius: 16px;
    padding: 10px 14px;
    margin: 12px 14px 4px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.08);
}
.allergen-banner-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}
.allergen-banner-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #f59e0b;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}
.allergen-banner-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: #92400e;
    line-height: 1.3;
    min-width: 0;
}
.allergen-banner-btn {
    background: #ffffff;
    border: 1.5px solid #fde68a;
    color: #92400e;
    font-size: 0.74rem;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 10px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.allergen-banner-btn:hover {
    background: #92400e;
    color: #ffffff;
    border-color: #92400e;
}

.allergen-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
@media (max-width: 480px) {
    .allergen-grid {
        grid-template-columns: 1fr;
    }
}
.allergen-item-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: #f8fafc;
    border: 2px solid #eef2f6;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.allergen-item-card:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}
.allergen-item-card.selected {
    background: #fffbeb;
    border-color: #f59e0b;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.15);
}
.allergen-item-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}
.allergen-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.allergen-item-card.selected .allergen-item-icon {
    background: #f59e0b;
    color: #ffffff;
}
.allergen-item-name {
    font-size: 0.88rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    white-space: normal;
}
.allergen-item-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: transparent;
    flex-shrink: 0;
    transition: all 0.2s ease;
    margin-left: 8px;
}
.allergen-item-card.selected .allergen-item-check {
    background: #f59e0b;
    border-color: #f59e0b;
    color: #ffffff;
}

/* --- Out of Stock --- */
.product-card-simple.out-of-stock {
    filter: grayscale(100%);
    opacity: 0.6;
}

.out-of-stock-stamp {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    background-color: rgba(220, 53, 69, 0.9);
    color: white;
    font-weight: 900;
    padding: 2px 8px;
    border: 2px solid white;
    border-radius: 6px;
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
    letter-spacing: 1px;
    pointer-events: none;
}

/* --- Product & Feature Detail Modals (High-End Instant Blur + Smooth Card UX) --- */
.centered-modal { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    z-index: 5000; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 16px; 
    pointer-events: none;
}
.centered-modal:not(.d-none) { 
    pointer-events: auto;
}

.modal-blur-bg { 
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%; 
    background: rgba(15, 23, 42, 0.55); 
    backdrop-filter: blur(16px) saturate(180%); 
    -webkit-backdrop-filter: blur(16px) saturate(180%); 
    opacity: 0; 
    transition: opacity 0.12s ease-out;
}
.centered-modal:not(.d-none) .modal-blur-bg,
.centered-modal.modal-open .modal-blur-bg { 
    opacity: 1; 
}

.modal-wrapper { 
    position: relative; 
    width: 100%; 
    max-width: 480px; 
    pointer-events: none; 
    transform: scale(0.9) translateY(24px); 
    opacity: 0; 
    z-index: 10;
    transition: transform 0.32s cubic-bezier(0.34, 1.35, 0.64, 1), opacity 0.22s ease; 
}

/* Modal Open Active State */
.centered-modal.modal-open .modal-wrapper { 
    transform: scale(1) translateY(0); 
    opacity: 1; 
    pointer-events: auto; 
}

/* Modal Closing Exit State */
.centered-modal.modal-closing .modal-blur-bg {
    opacity: 0;
    transition: opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}
.centered-modal.modal-closing .modal-wrapper {
    transform: scale(0.92) translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.18s ease;
}

.modal-main-card { 
    background: #ffffff; 
    border-radius: 28px; 
    overflow: hidden; 
    box-shadow: 0 30px 80px -15px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,255,255,0.8); 
    border: 1px solid #edf0f5; 
    display: flex; 
    flex-direction: column; 
    max-height: 88vh; 
    width: 100%;
}

/* Modal Hero Header */
.modal-hero-header {
    position: relative;
    width: 100%;
    height: 250px;
    min-height: 180px;
    background: #f8fafc;
    flex-shrink: 0;
    overflow: hidden;
}
.modal-img-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}
.modal-img-container img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.modal-close-icon-btn { 
    position: absolute; 
    top: 16px; 
    right: 16px; 
    z-index: 20; 
    width: 38px; 
    height: 38px; 
    border-radius: 50%; 
    background: rgba(255, 255, 255, 0.92); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.06); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.12); 
    color: #0f172a;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}
.modal-close-icon-btn:hover {
    background: #ffffff;
    transform: scale(1.08);
    color: #000;
}

/* Modal Body Content */
.modal-body-content { 
    flex-grow: 1; 
    overflow-y: auto; 
    scrollbar-width: none; 
    padding: 20px 22px;
    -webkit-overflow-scrolling: touch;
}
.modal-body-content::-webkit-scrollbar { display: none; }

.modal-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}
.modal-product-heading {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.25;
}
.modal-price-pill {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    background: #f1f5f9;
    padding: 6px 14px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: -0.02em;
}

/* Modal Stats & Tags */
.modal-meta-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 16px;
    width: 100%;
}
.modal-meta-strip:has(.d-none) {
    grid-template-columns: repeat(3, 1fr);
}
.modal-meta-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #334155;
    background: #f8fafc;
    padding: 7px 4px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    white-space: nowrap;
    box-sizing: border-box;
    min-height: 36px;
    text-align: center;
    width: 100%;
}
.modal-meta-tag.clickable {
    cursor: pointer;
}
.modal-meta-tag.clickable:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.modal-meta-tag.clickable:active {
    transform: translateY(0);
}

@media (max-width: 360px) {
    .modal-meta-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    .modal-meta-strip:has(.d-none) {
        grid-template-columns: repeat(2, 1fr);
    }
}

.modal-section-block {
    margin-bottom: 16px;
}
.modal-section-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    margin-bottom: 8px;
    display: block;
}
.modal-badges-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}
.modal-badge-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 10px;
    line-height: 1;
    height: 32px;
    box-sizing: border-box;
    transition: transform 0.15s;
}

/* Modal Description (Immediately under product title) */
.modal-description-box {
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 14px;
}
.modal-desc-text {
    color: #475569;
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
}

/* ==========================================================================
   Nutrition Facts Card (Besin Değerleri Kartı - Referans Tasarım)
   ========================================================================== */
.nutrition-facts-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 14px 18px;
    margin-bottom: 14px;
    transition: all 0.2s ease;
}
.nutrition-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
}
.nutrition-header .nutrition-dot {
    color: #64748b;
    font-weight: 900;
}
.nutrition-header .nutrition-portion {
    color: #0f172a;
    font-weight: 800;
}
.nutrition-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
}
.nutrition-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.nutrition-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.86rem;
    line-height: 1.35;
}
.nutrition-item-label {
    color: #64748b;
    font-weight: 500;
}
.nutrition-item-value {
    color: #0f172a;
    font-weight: 800;
    white-space: nowrap;
    margin-left: 8px;
}

/* Portions Grid */
.modal-portions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}
.portion-radio-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}
.portion-radio-card:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}
.portion-radio-card.active {
    border-color: #0f172a;
    background: #f8fafc;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.portion-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: #0f172a;
}
.portion-price {
    font-weight: 800;
    font-size: 0.92rem;
    color: #0f172a;
}

/* Extras Grid */
.modal-extras-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.modal-extra-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}
.modal-extra-item:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}
.modal-extra-item.active {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}
.modal-extra-item.active .modal-extra-name {
    color: #ffffff;
}
.modal-extra-item.active .modal-extra-kcal {
    color: rgba(255, 255, 255, 0.7) !important;
}
.modal-extra-item.active .modal-extra-price {
    color: #38bdf8;
}
.modal-extra-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: #0f172a;
}
.modal-extra-price {
    font-weight: 800;
    font-size: 0.88rem;
    color: #0f172a;
}
.extra-check-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: transparent;
    transition: all 0.2s;
    flex-shrink: 0;
}
.modal-extra-item.active .extra-check-circle {
    background: #ffffff;
    color: #0f172a;
    border-color: #ffffff;
}

.modal-calorie-live {
    font-size: 0.72rem;
    font-weight: 800;
    color: #0f172a;
}

/* Modal Footer Bar */
.modal-footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 22px;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.02);
    flex-shrink: 0;
}
.modal-footer-info {
    display: flex;
    flex-direction: column;
}
.modal-footer-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}
.modal-footer-total {
    font-size: 1.25rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.02em;
}
.btn-modal-done {
    background: #0f172a;
    color: #ffffff;
    border: none;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    transition: all 0.2s;
    cursor: pointer;
}
.btn-modal-done:hover {
    background: #1e293b;
    transform: scale(1.02);
}

/* --- Search View --- */
.search-field-minimal { background: var(--minimal-gray); border-radius: 14px; display: flex; align-items: center; padding: 2px 12px; }
.search-field-minimal input { flex: 1; border: none !important; background: transparent; padding: 10px; outline: none !important; font-weight: 600; font-size: 1.05rem; }
.btn-close-search-minimal { border: none; background: transparent; font-weight: 800; font-size: 0.8rem; color: #444; letter-spacing: 0.5px; }

/* --- Components --- */
.lang-list-v-stack, .extras-v-stack { display: flex; flex-direction: column; gap: 12px; }
.lang-option, .extra-item { display: flex; align-items: center; gap: 15px; padding: 16px 20px; border-radius: 20px; background: var(--minimal-gray); cursor: pointer; transition: 0.2s; border: 1.5px solid var(--minimal-border); }
.lang-option.active, .extra-item.active { background: #111; color: #fff; border-color: #111; box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.back-pill { position: fixed; bottom: 35px; left: 50%; transform: translateX(-50%); background: #111; color: #fff; border: none; padding: 14px 28px; border-radius: 50px; font-weight: 800; font-size: 1rem; box-shadow: 0 15px 35px rgba(0,0,0,0.25); z-index: 1000; }
.price-bubble-solid { font-weight: 800; background: #fdfdfd; border: 1px solid var(--minimal-border); padding: 5px 12px; border-radius: 12px; font-size: 1rem; }
.tag-chip { padding: 4px 10px; border-radius: 20px; background: var(--minimal-gray); font-size: 0.75rem; font-weight: 700; color: #555; }
.indicator-bar { width: 5px; height: 20px; background: #111; border-radius: 10px; }

/* Splash Tweaks */
.splash-pill { padding: 8px 16px; border-radius: 50px; border: 1.5px solid #eee; color: #444; font-size: 0.8rem; font-weight: 800; background: #fff; transition: 0.3s; }
.splash-pill.active { background: #111; color: #fff; border-color: #111; }
.btn-start-premium { width: 110px; height: 110px; border-radius: 50%; background: #111; color: #fff; border: none; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 30px auto; font-weight: 800; text-transform: uppercase; font-size: 0.75rem; box-shadow: 0 20px 40px rgba(0,0,0,0.15); transition: 0.2s; }
.branded-logo-frame { width: 130px; height: 130px; margin: 0 auto; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.05); overflow: hidden; padding: 15px; }
.splash-social-link { font-weight: 700; color: #111 !important; text-decoration: none !important; font-size: 0.85rem; }
/* --- Language Picker (Premium Modal) --- */
.picker-blur-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 6000;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    will-change: opacity, visibility;
    transform: translateZ(0);
}
.picker-blur-overlay.active {
    opacity: 1;
    visibility: visible;
}

.picker-container {
    width: 100%;
    max-width: 380px;
    background: #fff;
    border-radius: 32px;
    box-shadow: 0 25px 70px rgba(0,0,0,0.18);
    border: 1px solid rgba(0,0,0,0.06);
    transform: translateY(-40px) scale(0.96);
    opacity: 0;
    transition: 0.35s cubic-bezier(0.34, 1.3, 0.64, 1);
    direction: ltr !important;
}
.picker-blur-overlay.active .picker-container {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.btn-picker-close-minimal {
    width: 36px;
    height: 36px;
    border: none;
    background: #f1f3f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #495057;
    transition: 0.2s;
    cursor: pointer;
}
.btn-picker-close-minimal:hover {
    background: #e9ecef;
    color: #111;
    transform: rotate(90deg);
}

.lang-list-v-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lang-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 22px;
    background: #f8f9fa;
    border-radius: 22px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    direction: ltr !important;
    user-select: none;
}

.lang-option:hover {
    background: #ebeef2;
}

.lang-option img, .lang-option .lang-flag {
    width: 28px;
    height: 20px;
    object-fit: cover;
    border-radius: 4px;
    margin: 0 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.lang-option span, .lang-option .lang-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1d20;
    letter-spacing: -0.2px;
}

.lang-option.active {
    background: #111827;
    color: #fff;
    border-color: #111827;
    transform: scale(1.01);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.lang-option.active span, .lang-option.active .lang-name {
    color: #fff;
}

.lang-option:active {
    transform: scale(0.98);
}

/* --- Premium Promo Slider --- */
#promoSliderSection {
    margin-bottom: 10px;
}

#promoCarousel {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    background: #fff;
}

.promo-slide-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

.promo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    -webkit-user-drag: none;
}

.carousel-item.active .promo-img {
    transform: scale(1.05);
}

.promo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: #fff;
}

.promo-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 4px 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    letter-spacing: -0.5px;
    transform: translateY(10px);
    opacity: 0;
    transition: 0.5s 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-item.active .promo-title {
    transform: translateY(0);
    opacity: 1;
}

.promo-desc {
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0;
    opacity: 0;
    transform: translateY(10px);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 5px rgba(0,0,0,0.2);
    transition: 0.5s 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-item.active .promo-desc {
    transform: translateY(0);
    opacity: 0.9;
}

/* --- Horizontal Category Scroll (Direct Full Bleed Edge-to-Edge) --- */
.horizontal-category-scroll {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding-bottom: 14px;
    padding-top: 4px;
    padding-left: 16px;
    padding-right: 16px;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
}
.horizontal-category-scroll.active-drag {
    cursor: grabbing;
}
.horizontal-category-scroll::-webkit-scrollbar { display: none; }

.horizontal-category-scroll .category-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-width: 105px;
    max-width: 125px;
    opacity: 0.55;
    transition: opacity 0.25s ease, transform 0.25s ease;
    cursor: pointer;
    user-select: none;
}
.horizontal-category-scroll .category-pill:active { 
    transform: scale(0.95); 
}

.horizontal-category-scroll .category-pill .pill-img-wrapper {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    padding: 3px;
    background: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 8px;
    transition: all 0.25s ease;
}

/* Elegant & Minimalist Active State */
.horizontal-category-scroll .category-pill.active {
    opacity: 1;
    transform: scale(1.03);
}
.horizontal-category-scroll .category-pill.active .pill-img-wrapper {
    border-color: #111111;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.horizontal-category-scroll .category-pill img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    pointer-events: none;
}

.horizontal-category-scroll .category-pill span {
    font-size: 0.88rem;
    font-weight: 600;
    color: #333333;
    text-align: center;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s, font-weight 0.2s;
    padding: 0 4px;
}

.horizontal-category-scroll .category-pill.active span {
    color: #111111;
    font-weight: 800;
}

@keyframes heartPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.5); }
  100% { transform: scale(1); }
}
.heart-animate {
  animation: heartPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.carousel-indicators {
    bottom: 5px;
    margin-bottom: 0;
}
.carousel-indicators button {
    width: 25px !important;
    height: 4px !important;
    border-radius: 4px !important;
    background-color: rgba(255, 255, 255, 0.4) !important;
    border: none !important;
    transition: 0.3s;
}
.carousel-indicators button.active {
    background-color: #fff !important;
    width: 35px !important;
}

.carousel-indicators {
    bottom: -40px;
}

.carousel-indicators [data-bs-target] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #fff;
    opacity: 0.4;
    border: none;
    margin: 0 4px;
    transition: 0.3s;
}

.carousel-indicators .active {
    width: 20px;
    border-radius: 10px;
    opacity: 1;
}

/* --- Responsive Mobile Viewport Frame for PC / Desktop Screens --- */
@media (min-width: 576px) {
    html {
        background-color: var(--theme-drawer-bg, #ffffff) !important;
        background-image: none !important;
        min-height: 100vh !important;
    }
    html[data-theme="dark"] {
        background-color: #060911 !important;
        background-image: none !important;
    }
    body {
        background: var(--theme-page-bg, #ffffff) !important;
        background-color: var(--theme-page-bg, #ffffff) !important;
        background-image: none !important;
        margin: 0 auto !important;
        max-width: 480px !important;
        min-height: 100vh !important;
        position: relative !important;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
    }
    html[data-theme="dark"] body,
    [data-theme="dark"] body,
    body[data-theme="dark"] {
        background: var(--theme-bg-dark, #0b0f19) !important;
        background-color: var(--theme-bg-dark, #0b0f19) !important;
        color: #f8fafc !important;
        box-shadow: 0 0 60px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.12) !important;
    }
    .navbar-minimal {
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        transform: none !important;
    }
    /* --- Synchronized Desktop Splash Curtain --- */
    .desktop-splash-curtain {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: 9990;
        pointer-events: none;
        background-color: var(--theme-icon-color, #3b82f6);
        transition: transform 0.6s cubic-bezier(0.85, 0, 0.15, 1);
        will-change: transform;
        display: block;
    }
    .desktop-splash-curtain.hidden {
        transform: translateY(-100%) !important;
    }

    .viewport, 
    main.viewport {
        background-color: var(--theme-page-bg, #ffffff);
    }
    [data-theme="dark"] .viewport,
    [data-theme="dark"] main.viewport {
        background-color: var(--theme-bg-dark, #09090b) !important;
    }

    .mobile-drawer, 
    #searchOverlay {
        max-width: 480px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 100% !important;
    }
    #introSplash {
        max-width: 480px !important;
        width: 100% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
        transition: transform 0.6s cubic-bezier(0.85, 0, 0.15, 1) !important;
        will-change: transform;
    }
    #introSplash.hidden {
        transform: translate(-50%, -100%) !important;
    }
    .intro-ui-overlay {
        max-width: 480px !important;
        margin: 0 auto !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    #topTickerBar,
    .bottom-nav-bar,
    #cartBar,
    .quick-checkout-bar {
        max-width: 480px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 100% !important;
    }
    .category-grid-dual {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }
    .vertical-scroll-list {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}

/* --- HIDE ALL BROWSER / NATIVE VIDEO CONTROLS & SKIP/PIP BUTTONS --- */
video::-webkit-media-controls,
video::-webkit-media-controls-enclosure,
video::-webkit-media-controls-panel,
video::-webkit-media-controls-play-button,
video::-webkit-media-controls-start-playback-button,
video::-webkit-media-controls-overlay-play-button,
video::-webkit-media-controls-timeline,
video::-webkit-media-controls-current-time-display,
video::-webkit-media-controls-time-remaining-display,
video::-webkit-media-controls-mute-button,
video::-webkit-media-controls-toggle-closed-captions-button,
video::-webkit-media-controls-volume-slider,
video::-webkit-media-controls-fullscreen-button,
video::-webkit-media-controls-picture-in-picture-button,
video::-webkit-media-controls-seek-back-button,
video::-webkit-media-controls-seek-forward-button,
video::-internal-media-controls-overlay-cast-button,
video::-internal-media-controls-download-button {
    display: none !important;
    -webkit-appearance: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
}

video {
    pointer-events: none !important;
}

.promo-img.video-slide,
.video-background {
    pointer-events: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
}

/* ==========================================================================
   🌙 ULTRA-LUXURY CIRCULAR REVEAL DARK THEME ENGINE
   ========================================================================== */
::view-transition-old(root),
::view-transition-new(root) {
    animation: none;
    mix-blend-mode: normal;
}
::view-transition-old(root) {
    z-index: 1;
}
::view-transition-new(root) {
    z-index: 2147483647;
}

[data-theme="dark"],
[data-theme="dark"] body {
    background-color: #0b0f19 !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .bg-white,
[data-theme="dark"] .bg-light,
[data-theme="dark"] .main-viewport,
[data-theme="dark"] #menuView,
[data-theme="dark"] #app,
[data-theme="dark"] .viewport,
[data-theme="dark"] #categoriesContainer,
[data-theme="dark"] #productsContainer {
    background-color: #0b0f19 !important;
    color: #f8fafc !important;
}

/* Headings and High-Contrast Typography */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6,
[data-theme="dark"] .text-dark,
[data-theme="dark"] .dark-text,
[data-theme="dark"] .fw-900,
[data-theme="dark"] .fw-800,
[data-theme="dark"] .fw-700 {
    color: #f8fafc !important;
}

[data-theme="dark"] p,
[data-theme="dark"] span:not(.badge):not(.product-price):not(.item-price):not(.price-tag):not(.product-card-price):not(.modal-price):not(.extra-price):not(.portion-price):not(.modal-footer-total):not(.product-price-min) {
    color: inherit;
}

[data-theme="dark"] .text-muted,
[data-theme="dark"] .text-secondary,
[data-theme="dark"] .product-desc,
[data-theme="dark"] .item-description,
[data-theme="dark"] .product-card-desc,
[data-theme="dark"] .drawer-card-desc {
    color: #94a3b8 !important;
}

/* Prices */
[data-theme="dark"] .product-price,
[data-theme="dark"] .item-price,
[data-theme="dark"] .price-tag,
[data-theme="dark"] .product-card-price,
[data-theme="dark"] .modal-price,
[data-theme="dark"] .modal-price-pill,
[data-theme="dark"] .price-bubble-solid,
[data-theme="dark"] .modal-footer-total,
[data-theme="dark"] .extra-price,
[data-theme="dark"] .portion-price,
[data-theme="dark"] .product-price-min {
    color: var(--theme-price-dark, #34d399) !important;
    border: 1px solid rgba(52, 211, 153, 0.35) !important;
    background: rgba(52, 211, 153, 0.12) !important;
    padding: 5px 12px !important;
    border-radius: 10px !important;
    line-height: 1.25 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ==========================================
   🌓 DARK MODE SYSTEM FALLBACKS & VARIABLES
   ========================================== */
[data-theme="dark"] {
    --bg: var(--theme-bg-dark, #09090b);
    --bg-page: var(--theme-bg-dark, #09090b);
    --card-bg: var(--theme-card-dark, #131316);
    --input-bg: var(--theme-input-dark, #1c1c22);
    --text-main: #f8fafc;
    --text-dark: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: var(--theme-border-dark, rgba(255, 255, 255, 0.08));
    --primary-color: var(--theme-primary, #ffffff);
    --primary-accent: var(--theme-primary, #ffffff);
}

[data-theme="dark"] body,
[data-theme="dark"] .main-viewport,
[data-theme="dark"] #menuView,
[data-theme="dark"] #app,
[data-theme="dark"] .viewport,
[data-theme="dark"] #categoriesContainer,
[data-theme="dark"] #productsContainer,
[data-theme="dark"] .categoryViewHeader,
[data-theme="dark"] #searchOverlay,
[data-theme="dark"] #searchOverlay .search-reveal-content,
[data-theme="dark"] .search-view-top,
[data-theme="dark"] #searchResultsArea,
[data-theme="dark"] .mobile-drawer-content,
[data-theme="dark"] .mobile-drawer .reveal-content-box {
    background-color: var(--theme-bg-dark, #09090b) !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .navbar-minimal,
[data-theme="dark"] .fixed-top-nav,
[data-theme="dark"] .nav-blur-bar,
[data-theme="dark"] .sticky-top-nav,
[data-theme="dark"] .minimal-nav,
[data-theme="dark"] .res-topbar {
    background-color: var(--theme-bg-dark, #09090b) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid var(--theme-border-dark, rgba(255, 255, 255, 0.08)) !important;
}

[data-theme="dark"] .nav-action-btn,
[data-theme="dark"] .icon-circle-btn,
[data-theme="dark"] .btn-back-to-home,
[data-theme="dark"] .header-back-btn,
[data-theme="dark"] .btn-nav-icon,
[data-theme="dark"] .nav-btn,
[data-theme="dark"] .res-nav-btn {
    background-color: var(--theme-input-dark, #1c1c22) !important;
    color: var(--theme-primary, #ffffff) !important;
    border: 1px solid var(--theme-border-dark, rgba(255, 255, 255, 0.08)) !important;
}
[data-theme="dark"] .nav-action-btn i,
[data-theme="dark"] .icon-circle-btn i,
[data-theme="dark"] .btn-nav-icon i,
[data-theme="dark"] .nav-btn i,
[data-theme="dark"] .res-nav-btn i {
    color: var(--theme-primary, #ffffff) !important;
}

[data-theme="dark"] .category-dual-card,
[data-theme="dark"] .product-card-simple,
[data-theme="dark"] .menu-item-row,
[data-theme="dark"] .drawer-menu-card,
[data-theme="dark"] .modal-main-card,
[data-theme="dark"] .picker-container,
[data-theme="dark"] .review-card,
[data-theme="dark"] .res-card,
[data-theme="dark"] .minimal-card,
[data-theme="dark"] .card,
[data-theme="dark"] .product-modal-content,
[data-theme="dark"] .modal-content,
[data-theme="dark"] .cart-drawer-content,
[data-theme="dark"] .summary-card,
[data-theme="dark"] .res-hero-card,
[data-theme="dark"] .feedback-hero-box,
[data-theme="dark"] .comment-card,
[data-theme="dark"] .success-card-box {
    background-color: var(--theme-card-dark, #131316) !important;
    border: 1px solid var(--theme-border-dark, rgba(255, 255, 255, 0.08)) !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .category-dual-card .label-box span {
    color: #ffffff !important;
}

[data-theme="dark"] .card-meta-calories,
[data-theme="dark"] .allergen-icon-pill,
[data-theme="dark"] .diet-icon-pill,
[data-theme="dark"] .product-action-btn,
[data-theme="dark"] .lang-option,
[data-theme="dark"] .input-minimal,
[data-theme="dark"] .input-custom,
[data-theme="dark"] .res-input,
[data-theme="dark"] .res-select,
[data-theme="dark"] .counter-pill,
[data-theme="dark"] .lead-time-notice-box,
[data-theme="dark"] .wifi-modal-box,
[data-theme="dark"] .search-field-minimal,
[data-theme="dark"] .portion-pill,
[data-theme="dark"] .extra-item-row,
[data-theme="dark"] .chip-portion,
[data-theme="dark"] .chip-custom,
[data-theme="dark"] .drawer-close-btn,
[data-theme="dark"] .drawer-social-btn,
[data-theme="dark"] .category-chip-btn,
[data-theme="dark"] .subcat-pill,
[data-theme="dark"] .htab-nav-btn,
[data-theme="dark"] .modal-meta-tag,
[data-theme="dark"] .nutrition-facts-card,
[data-theme="dark"] .portion-radio-card,
[data-theme="dark"] .modal-extra-item,
[data-theme="dark"] .cat-label,
[data-theme="dark"] .counter-btn {
    background-color: var(--theme-input-dark, #1c1c22) !important;
    border: 1px solid var(--theme-border-dark, rgba(255, 255, 255, 0.08)) !important;
    color: #f8fafc !important;
}

/* Modal Specific Components in Dark Mode */
[data-theme="dark"] .modal-description-box,
[data-theme="dark"] .modal-desc-text,
[data-theme="dark"] #modalProductDesc {
    color: #cbd5e1 !important;
    background: transparent !important;
}
[data-theme="dark"] .nutrition-header,
[data-theme="dark"] .nutrition-title,
[data-theme="dark"] .nutrition-portion,
[data-theme="dark"] #modalNutritionTitle,
[data-theme="dark"] #modalNutritionPortion {
    color: #f8fafc !important;
}
[data-theme="dark"] .nutrition-item-label {
    color: #94a3b8 !important;
}
[data-theme="dark"] .nutrition-item-value {
    color: #f8fafc !important;
}
[data-theme="dark"] .modal-extra-name,
[data-theme="dark"] .portion-name {
    color: #f8fafc !important;
}
[data-theme="dark"] .modal-footer-bar {
    background-color: var(--theme-card-dark, #131316) !important;
    border-top: 1px solid var(--theme-border-dark, rgba(255, 255, 255, 0.08)) !important;
}
[data-theme="dark"] .modal-footer-label {
    color: #94a3b8 !important;
}
[data-theme="dark"] .label-minimal,
[data-theme="dark"] .res-label,
[data-theme="dark"] .section-header-title,
[data-theme="dark"] .res-section-title {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .drawer-icon-box {
    background-color: var(--theme-input-dark, #1c1c22) !important;
    color: var(--theme-primary, #ffffff) !important;
}
[data-theme="dark"] .drawer-card-title {
    color: #f8fafc !important;
}
[data-theme="dark"] .drawer-card-desc {
    color: #94a3b8 !important;
}
[data-theme="dark"] .drawer-card-arrow {
    color: #71717a !important;
}

[data-theme="dark"] .category-chip-btn.active,
[data-theme="dark"] .subcat-pill.active,
[data-theme="dark"] .htab-nav-btn.active,
[data-theme="dark"] .lang-option.active,
[data-theme="dark"] .btn-modal-done,
[data-theme="dark"] .btn-submit-main,
[data-theme="dark"] .btn-minimal,
[data-theme="dark"] .wifi-copy-btn,
[data-theme="dark"] .floating-cart-btn,
[data-theme="dark"] .quick-checkout-bar,
[data-theme="dark"] .portion-pill.active,
[data-theme="dark"] .portion-radio-card.active,
[data-theme="dark"] .modal-extra-item.active,
[data-theme="dark"] .cat-item input:checked + .cat-label,
[data-theme="dark"] .btn-submit-minimal,
[data-theme="dark"] .res-submit-btn,
[data-theme="dark"] .btn-primary {
    background: var(--theme-primary, #ffffff) !important;
    background-color: var(--theme-primary, #ffffff) !important;
    border-color: var(--theme-primary, #ffffff) !important;
    color: #000000 !important;
}

[data-theme="dark"] .product-title,
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3,
[data-theme="dark"] h4, [data-theme="dark"] h5, [data-theme="dark"] h6 {
    color: #ffffff !important;
}
[data-theme="dark"] .product-desc,
[data-theme="dark"] .text-muted,
[data-theme="dark"] .page-header p {
    color: #94a3b8 !important;
}

/* ==========================================================================
   📶 ULTRA-PREMIUM THEME-ADAPTIVE WIFI MODAL & BACKDROP BLUR
   ========================================================================== */
.wifi-modal-backdrop.swal2-container,
.swal2-container.wifi-modal-backdrop {
    backdrop-filter: blur(14px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(180%) !important;
    background: rgba(15, 23, 42, 0.6) !important;
    z-index: 100000 !important;
    transition: all 0.3s ease !important;
}

[data-theme="dark"] .wifi-modal-backdrop.swal2-container,
html[data-theme="dark"] .wifi-modal-backdrop.swal2-container,
html[data-theme="dark"] .swal2-container {
    backdrop-filter: blur(16px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
    background: rgba(0, 0, 0, 0.75) !important;
}

.swal2-popup.wifi-modal-popup {
    background: #ffffff !important;
    border-radius: 24px !important;
    padding: 26px 20px 22px 20px !important;
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.25) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    width: 90% !important;
    max-width: 400px !important;
    font-family: inherit !important;
    overflow: hidden !important;
}

[data-theme="dark"] .swal2-popup.wifi-modal-popup,
html[data-theme="dark"] .swal2-popup.wifi-modal-popup {
    background: var(--theme-card-dark, #131316) !important;
    border: 1px solid var(--theme-border-dark, rgba(255, 255, 255, 0.12)) !important;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8) !important;
    color: #f8fafc !important;
}

.wifi-html-container {
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

.wifi-modal-content-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.wifi-icon-badge {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: var(--theme-icon-bg, #f1f5f9);
    color: var(--theme-icon-color, var(--theme-primary, #0f172a));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    margin-bottom: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

[data-theme="dark"] .wifi-icon-badge,
html[data-theme="dark"] .wifi-icon-badge {
    background: var(--theme-input-dark, #1c1c22) !important;
    color: var(--theme-icon-dark, var(--theme-primary, #ffffff)) !important;
    border: 1px solid var(--theme-border-dark, rgba(255, 255, 255, 0.1)) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

.wifi-modal-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px 0;
    letter-spacing: -0.3px;
}

[data-theme="dark"] .wifi-modal-title,
html[data-theme="dark"] .wifi-modal-title {
    color: #ffffff !important;
}

.wifi-modal-subtitle {
    font-size: 0.82rem;
    font-weight: 500;
    color: #64748b;
    margin: 0 0 16px 0;
    line-height: 1.4;
}

[data-theme="dark"] .wifi-modal-subtitle,
html[data-theme="dark"] .wifi-modal-subtitle {
    color: #94a3b8 !important;
}

.wifi-modal-box {
    width: 100%;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 18px;
    padding: 16px;
    text-align: left;
    box-sizing: border-box;
}

[data-theme="dark"] .wifi-modal-box,
html[data-theme="dark"] .wifi-modal-box {
    background: var(--theme-input-dark, #1c1c22) !important;
    border: 1px solid var(--theme-border-dark, rgba(255, 255, 255, 0.09)) !important;
}

.wifi-modal-row {
    display: flex;
    flex-direction: column;
}

.wifi-field-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #64748b;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
}

[data-theme="dark"] .wifi-field-label,
html[data-theme="dark"] .wifi-field-label {
    color: #94a3b8 !important;
}

.wifi-field-value {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.2px;
    word-break: break-all;
}

[data-theme="dark"] .wifi-field-value,
html[data-theme="dark"] .wifi-field-value {
    color: #ffffff !important;
}

.wifi-pass-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.wifi-copy-btn {
    background: var(--theme-primary, #0f172a);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 7px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wifi-copy-btn:hover,
.wifi-copy-btn:active {
    transform: scale(0.97);
    opacity: 0.92;
}

.wifi-copy-btn.copied {
    background: #10b981 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3) !important;
}

[data-theme="dark"] .wifi-copy-btn,
html[data-theme="dark"] .wifi-copy-btn {
    background: var(--theme-primary, #ffffff) !important;
    color: #000000 !important;
    font-weight: 800 !important;
}

[data-theme="dark"] .wifi-copy-btn.copied,
html[data-theme="dark"] .wifi-copy-btn.copied {
    background: #10b981 !important;
    color: #ffffff !important;
}

.wifi-confirm-btn {
    width: 100%;
    margin-top: 18px;
    background: var(--theme-primary, #0f172a) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 14px !important;
    padding: 12px 20px !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
    transition: all 0.2s ease !important;
}

.wifi-confirm-btn:hover,
.wifi-confirm-btn:active {
    transform: translateY(-1px) !important;
    opacity: 0.92 !important;
}

[data-theme="dark"] .wifi-confirm-btn,
html[data-theme="dark"] .wifi-confirm-btn {
    background: var(--theme-primary, #ffffff) !important;
    color: #000000 !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 18px var(--theme-primary-glow, rgba(255, 255, 255, 0.15)) !important;
}

/* ==========================================================================
   📌 ŞABLON 3: YATAY KATEGORİ SEKME ÇUBUĞU (HORIZONTAL TAB BAR)
   ========================================================================== */
.htab-sticky-container {
    position: sticky;
    top: 78px;
    z-index: 990;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 10px 0;
    margin: 0 -16px 18px -16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: background-color 0.3s ease, border-color 0.3s ease, top 0.3s ease;
}

[data-theme="dark"] .htab-sticky-container,
html[data-theme="dark"] .htab-sticky-container {
    background: rgba(11, 15, 25, 0.90) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35) !important;
}

.htab-pills-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 16px;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.htab-pills-scroll::-webkit-scrollbar {
    display: none;
}

.htab-nav-btn {
    background: rgba(0, 0, 0, 0.05);
    color: #475569;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50px;
    padding: 7px 16px;
    white-space: nowrap;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.84rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.htab-nav-btn:hover {
    color: #0f172a;
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.12);
}

.htab-nav-btn.active {
    background: var(--theme-primary, #0f172a) !important;
    color: #ffffff !important;
    border-color: var(--theme-primary, #0f172a) !important;
    box-shadow: 0 4px 14px var(--theme-primary-glow, rgba(15, 23, 42, 0.25)) !important;
    transform: translateY(-1px);
}

[data-theme="dark"] .htab-nav-btn,
html[data-theme="dark"] .htab-nav-btn {
    background: rgba(255, 255, 255, 0.07) !important;
    color: #cbd5e1 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: none !important;
}

[data-theme="dark"] .htab-nav-btn:hover,
html[data-theme="dark"] .htab-nav-btn:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.13) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

[data-theme="dark"] .htab-nav-btn.active,
html[data-theme="dark"] .htab-nav-btn.active {
    background: var(--theme-primary, #ffffff) !important;
    color: #ffffff !important;
    border-color: var(--theme-primary, #ffffff) !important;
    box-shadow: 0 4px 16px var(--theme-primary-glow, rgba(255, 255, 255, 0.25)) !important;
    transform: translateY(-1px);
}

.htab-cat-section .category-section-title {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    transition: color 0.2s ease;
}

[data-theme="dark"] .htab-cat-section .category-section-title {
    color: #f8fafc !important;
}

/* ==========================================================================
   🌓 TEMA VE FORM SWITCH BUTONLARI (THEME TOGGLE SWITCH)
   ========================================================================== */
#drawerThemeSwitch {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    width: 46px !important;
    height: 26px !important;
    min-width: 46px !important;
    border-radius: 26px !important;
    background-color: #cbd5e1 !important;
    border: 1.5px solid #94a3b8 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='7.5' fill='%23ffffff' filter='drop-shadow(0px 1px 2px rgba(0,0,0,0.2))'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: 2px center !important;
    background-size: 20px 20px !important;
    transition: background-position 0.25s ease-in-out, background-color 0.25s ease-in-out, border-color 0.25s ease-in-out, box-shadow 0.25s ease !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.15) !important;
    cursor: pointer !important;
    margin: 0 !important;
    padding: 0 !important;
    outline: none !important;
    display: inline-block !important;
}

#drawerThemeSwitch:checked {
    background-color: var(--theme-primary, #0f172a) !important;
    border-color: var(--theme-primary, #0f172a) !important;
    background-position: calc(100% - 2px) center !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='7.5' fill='%23ffffff' filter='drop-shadow(0px 1px 2px rgba(0,0,0,0.2))'/%3E%3C/svg%3E") !important;
    box-shadow: 0 2px 10px var(--theme-primary-glow, rgba(15, 23, 42, 0.2)) !important;
}

[data-theme="dark"] #drawerThemeSwitch,
html[data-theme="dark"] #drawerThemeSwitch {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    background-position: 2px center !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='7.5' fill='%23e2e8f0' filter='drop-shadow(0px 1px 2px rgba(0,0,0,0.3))'/%3E%3C/svg%3E") !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] #drawerThemeSwitch:checked,
html[data-theme="dark"] #drawerThemeSwitch:checked {
    background-color: #f59e0b !important;
    border-color: #f59e0b !important;
    background-position: calc(100% - 2px) center !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='7.5' fill='%23ffffff' filter='drop-shadow(0px 1px 2px rgba(0,0,0,0.25))'/%3E%3C/svg%3E") !important;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.4) !important;
}

[data-theme="dark"] #drawerThemeToggleCard {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
}

[data-theme="dark"] #drawerThemeToggleCard:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
}

.form-switch .form-check-input:focus {
    border-color: var(--theme-primary, #0f172a) !important;
    box-shadow: 0 0 0 0.25rem var(--theme-primary-glow, rgba(15, 23, 42, 0.15)) !important;
}

/* ==========================================================================
   🌟 GİRİŞ EKRANI (INTRO SPLASH) BUTON VE TİPOGRAFİ İYİLEŞTİRMELERİ
   ========================================================================== */
.splash-tap-hint {
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 1px 3px rgba(0, 0, 0, 0.95) !important;
    opacity: 0.95 !important;
    margin: 0 !important;
    cursor: pointer !important;
    transition: transform 0.2s ease, opacity 0.2s ease !important;
}
.splash-tap-hint:hover {
    transform: scale(1.05) !important;
    opacity: 1 !important;
}

.splash-scroll-cue {
    margin: 20px auto 10px auto;
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s, opacity 0.2s;
    animation: bounceCue 2.2s infinite ease-in-out;
    user-select: none;
    z-index: 10;
}
.splash-scroll-cue:hover { transform: scale(1.04); }
.splash-scroll-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff !important;
    padding: 7px 18px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}
.splash-scroll-pill i {
    font-size: 0.8rem;
    color: #ffffff !important;
}

.splash-social-link { 
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    font-weight: 800;
    color: #0f172a !important;
    text-decoration: none !important;
    font-size: 0.82rem;
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.splash-social-link i {
    color: #0f172a !important;
    font-size: 0.95rem;
}
.splash-social-link span {
    color: #0f172a !important;
    font-weight: 800 !important;
}
.splash-social-link:hover, .splash-social-link:active {
    background: #ffffff;
    color: #000000 !important;
    border-color: #ffffff;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.ig-follow-btn {
    background: var(--theme-primary, #0f172a) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 0.82rem !important;
    border-radius: 50px !important;
    padding: 8px 18px !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.ig-follow-btn span, .ig-follow-btn i {
    color: #ffffff !important;
}
.ig-follow-btn:hover {
    transform: scale(1.04);
    filter: brightness(1.1);
}

.splash-keska-footer {
    display: block;
    text-align: center;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #ffffff !important;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.9);
    opacity: 0.95;
    margin-top: 16px;
    margin-bottom: 6px;
    user-select: none;
}

/* ==========================================================================
   📅 REZERVASYON & GERİ BİLDİRİM SAYFALARI TEMA UYUMLULUĞU
   ========================================================================== */
.res-topbar, .minimal-nav {
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
.res-nav-btn, .nav-btn {
    transition: all 0.2s ease;
}
.res-nav-btn:hover, .nav-btn:hover {
    transform: scale(1.05);
}
.res-submit-btn, .btn-submit-minimal, .btn-verify-otp, .btn-home-minimal {
    background: var(--theme-primary, #0f172a);
    color: #ffffff;
    border: none;
    font-weight: 800;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.res-submit-btn:hover, .btn-submit-minimal:hover, .btn-verify-otp:hover, .btn-home-minimal:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--theme-primary-glow, rgba(0, 0, 0, 0.2));
    filter: brightness(1.08);
}
.lead-time-icon {
    background: var(--theme-primary, #0f172a);
    color: #ffffff;
}

[data-theme="dark"] .lead-time-icon {
    background: var(--theme-primary, #ffffff) !important;
    color: #000000 !important;
}

[data-theme="dark"] .res-submit-btn,
[data-theme="dark"] .btn-submit-minimal,
[data-theme="dark"] .btn-verify-otp,
[data-theme="dark"] .btn-home-minimal {
    background: var(--theme-primary, #ffffff) !important;
    color: #000000 !important;
    border-color: var(--theme-primary, #ffffff) !important;
    box-shadow: 0 4px 18px var(--theme-primary-glow, rgba(255, 255, 255, 0.2)) !important;
}

[data-theme="dark"] .res-topbar,
[data-theme="dark"] .minimal-nav {
    background: var(--theme-bg-dark, #09090b) !important;
    border-bottom: 1px solid var(--theme-border-dark, rgba(255, 255, 255, 0.08)) !important;
}

[data-theme="dark"] .res-nav-btn,
[data-theme="dark"] .nav-btn {
    background: var(--theme-input-dark, #1c1c22) !important;
    border-color: var(--theme-border-dark, rgba(255, 255, 255, 0.1)) !important;
    color: var(--theme-icon-dark, #f8fafc) !important;
}

[data-theme="dark"] .res-card,
[data-theme="dark"] .minimal-card,
[data-theme="dark"] .res-hero-card {
    background: var(--theme-card-dark, #131316) !important;
    border-color: var(--theme-border-dark, rgba(255, 255, 255, 0.09)) !important;
    color: #f8fafc !important;
}

/* ==========================================================================
   💬 THEME-ADAPTIVE COMMENTS MODAL & CARDS (LIGHT & DARK MODE)
   ========================================================================== */
.comment-modal-header {
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}
.comment-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--theme-icon-bg, #f1f5f9);
    color: var(--theme-icon-color, var(--theme-primary, #0f172a));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.comment-modal-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
}
.comment-modal-subtitle {
    font-size: 0.76rem;
    font-weight: 600;
    color: #64748b;
}
.comment-modal-body {
    background: #ffffff;
    min-height: 140px;
    max-height: 380px;
}
.comment-modal-footer {
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
}

/* Individual Comment Card */
.comment-item-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 18px;
    padding: 14px 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.comment-item-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.07);
}
.comment-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.comment-item-author {
    display: flex;
    align-items: center;
    gap: 8px;
}
.comment-author-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--theme-icon-bg, #f1f5f9);
    color: var(--theme-icon-color, var(--theme-primary, #0f172a));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}
.comment-author-name {
    font-weight: 700;
    font-size: 0.88rem;
    color: #0f172a;
}
.comment-item-date {
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    opacity: 0.85;
}
.comment-item-content {
    font-size: 0.88rem;
    font-weight: 500;
    color: #1e293b;
    line-height: 1.45;
    word-break: break-word;
}

/* Comment Inputs & Submit */
.comment-input {
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    color: #0f172a !important;
    border-radius: 14px !important;
    padding: 10px 14px !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
}
.comment-input:focus {
    background: #ffffff !important;
    border-color: var(--theme-primary, #0f172a) !important;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08) !important;
    outline: none !important;
}
.btn-submit-comment {
    background: var(--theme-primary, #0f172a) !important;
    color: var(--theme-primary-contrast, #ffffff) !important;
    border: none !important;
    box-shadow: 0 4px 16px var(--theme-primary-glow, rgba(15, 23, 42, 0.2)) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}
.btn-submit-comment:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--theme-primary-glow, rgba(15, 23, 42, 0.3)) !important;
    filter: brightness(1.08);
}
.btn-submit-comment:active {
    transform: scale(0.98);
}

/* --- Dark Mode for Comments Modal --- */
[data-theme="dark"] .comment-modal-header,
html[data-theme="dark"] .comment-modal-header {
    background: var(--theme-card-dark, #131316) !important;
    border-bottom: 1px solid var(--theme-border-dark, rgba(255, 255, 255, 0.08)) !important;
}
[data-theme="dark"] .comment-modal-body,
html[data-theme="dark"] .comment-modal-body {
    background: var(--theme-card-dark, #131316) !important;
}
[data-theme="dark"] .comment-modal-footer,
html[data-theme="dark"] .comment-modal-footer {
    background: var(--theme-card-dark, #131316) !important;
    border-top: 1px solid var(--theme-border-dark, rgba(255, 255, 255, 0.08)) !important;
}
[data-theme="dark"] .comment-icon-badge,
html[data-theme="dark"] .comment-icon-badge {
    background: var(--theme-input-dark, #1c1c22) !important;
    color: var(--theme-icon-color, var(--theme-primary, #ffffff)) !important;
    border: 1px solid var(--theme-border-dark, rgba(255, 255, 255, 0.1)) !important;
}
[data-theme="dark"] .comment-modal-title,
html[data-theme="dark"] .comment-modal-title {
    color: #ffffff !important;
}
[data-theme="dark"] .comment-modal-subtitle,
html[data-theme="dark"] .comment-modal-subtitle {
    color: #94a3b8 !important;
}
[data-theme="dark"] .comment-item-card,
html[data-theme="dark"] .comment-item-card {
    background: var(--theme-input-dark, #1c1c22) !important;
    border: 1px solid var(--theme-border-dark, rgba(255, 255, 255, 0.1)) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}
[data-theme="dark"] .comment-author-avatar,
html[data-theme="dark"] .comment-author-avatar {
    background: rgba(255, 255, 255, 0.08) !important;
    color: var(--theme-icon-color, var(--theme-primary, #ffffff)) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
[data-theme="dark"] .comment-author-name,
html[data-theme="dark"] .comment-author-name {
    color: #ffffff !important;
}
[data-theme="dark"] .comment-item-date,
html[data-theme="dark"] .comment-item-date {
    color: #94a3b8 !important;
}
[data-theme="dark"] .comment-item-content,
html[data-theme="dark"] .comment-item-content {
    color: #f1f5f9 !important;
}
[data-theme="dark"] .comment-input,
html[data-theme="dark"] .comment-input {
    background: var(--theme-input-dark, #1c1c22) !important;
    border: 1.5px solid var(--theme-border-dark, rgba(255, 255, 255, 0.12)) !important;
    color: #ffffff !important;
}
[data-theme="dark"] .comment-input::placeholder,
html[data-theme="dark"] .comment-input::placeholder {
    color: #64748b !important;
}
[data-theme="dark"] .comment-input:focus,
html[data-theme="dark"] .comment-input:focus {
    background: #131316 !important;
    border-color: var(--theme-primary, #ffffff) !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1) !important;
}
[data-theme="dark"] .btn-submit-comment,
html[data-theme="dark"] .btn-submit-comment {
    background: var(--theme-primary, #ffffff) !important;
    color: #000000 !important;
    box-shadow: 0 4px 18px var(--theme-primary-glow, rgba(255, 255, 255, 0.2)) !important;
}

/* ==========================================================================
   🌾 THEME-ADAPTIVE ALLERGEN MODAL (LIGHT & DARK MODE)
   ========================================================================== */
.allergen-modal-header {
    background: #ffffff;
    border-bottom: 1.5px solid #f1f5f9;
}
.allergen-modal-icon-badge {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #fffbeb;
    color: #f59e0b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border: 1.5px solid #fef3c7;
}
.allergen-modal-title {
    color: #0f172a;
}
.allergen-modal-subtitle {
    color: #64748b;
}
.allergen-modal-body {
    background: #ffffff;
}
.allergen-modal-footer {
    background: #ffffff;
    border-top: 1.5px solid #f1f5f9;
}
.allergen-apply-btn {
    background: var(--theme-primary, #0f172a) !important;
    color: var(--theme-primary-contrast, #ffffff) !important;
}

[data-theme="dark"] .allergen-modal-header,
html[data-theme="dark"] .allergen-modal-header {
    background: var(--theme-card-dark, #131316) !important;
    border-bottom: 1px solid var(--theme-border-dark, rgba(255, 255, 255, 0.08)) !important;
}
[data-theme="dark"] .allergen-modal-icon-badge,
html[data-theme="dark"] .allergen-modal-icon-badge {
    background: rgba(245, 158, 11, 0.15) !important;
    border-color: rgba(245, 158, 11, 0.3) !important;
    color: #fbbf24 !important;
}
[data-theme="dark"] .allergen-modal-title,
html[data-theme="dark"] .allergen-modal-title {
    color: #ffffff !important;
}
[data-theme="dark"] .allergen-modal-subtitle,
html[data-theme="dark"] .allergen-modal-subtitle {
    color: #94a3b8 !important;
}
[data-theme="dark"] .allergen-modal-body,
html[data-theme="dark"] .allergen-modal-body {
    background: var(--theme-card-dark, #131316) !important;
}
[data-theme="dark"] .allergen-notice-box,
html[data-theme="dark"] .allergen-notice-box {
    background: rgba(245, 158, 11, 0.12) !important;
    color: #fde68a !important;
    border: 1px solid rgba(245, 158, 11, 0.25) !important;
}
[data-theme="dark"] .allergen-modal-footer,
html[data-theme="dark"] .allergen-modal-footer {
    background: var(--theme-card-dark, #131316) !important;
    border-top: 1px solid var(--theme-border-dark, rgba(255, 255, 255, 0.08)) !important;
}
[data-theme="dark"] .allergen-clear-btn,
html[data-theme="dark"] .allergen-clear-btn {
    background: var(--theme-input-dark, #1c1c22) !important;
    border-color: var(--theme-border-dark, rgba(255, 255, 255, 0.1)) !important;
    color: #cbd5e1 !important;
}
[data-theme="dark"] .allergen-apply-btn,
html[data-theme="dark"] .allergen-apply-btn {
    background: var(--theme-primary, #ffffff) !important;
    color: #000000 !important;
}

/* ==========================================================================
   🚨 SWEETALERT2 ELEVATION, ANIMATION & THEME ADAPTATION
   ========================================================================== */
.swal2-container,
.swal-high-priority.swal2-container {
    z-index: 100050 !important;
}
.swal2-popup {
    border-radius: 24px !important;
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.25) !important;
    font-family: inherit !important;
}
[data-theme="dark"] .swal2-popup,
html[data-theme="dark"] .swal2-popup {
    background: var(--theme-card-dark, #131316) !important;
    border: 1px solid var(--theme-border-dark, rgba(255, 255, 255, 0.12)) !important;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8) !important;
    color: #f8fafc !important;
}
[data-theme="dark"] .swal2-title,
html[data-theme="dark"] .swal2-title {
    color: #ffffff !important;
}
[data-theme="dark"] .swal2-html-container,
html[data-theme="dark"] .swal2-html-container {
    color: #cbd5e1 !important;
}

/* ==========================================================================
   🏷️ PRODUCT TAGS & BADGES (LIGHT & DARK THEMES)
   ========================================================================== */
.product-tags-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin: 3px 0 5px 0;
    width: 100%;
}
.product-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 6px;
    line-height: 1.25;
    letter-spacing: 0.02em;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.product-tag-pill i {
    font-size: 0.62rem;
}
.product-tag-pill.tag-primary { background: #eff6ff; color: #2563eb; border: 1px solid #dbeafe; }
.product-tag-pill.tag-success { background: #f0fdf4; color: #16a34a; border: 1px solid #dcfce7; }
.product-tag-pill.tag-warning { background: #fffbeb; color: #d97706; border: 1px solid #fef3c7; }
.product-tag-pill.tag-danger { background: #fef2f2; color: #dc2626; border: 1px solid #fee2e2; }
.product-tag-pill.tag-info { background: #ecfeff; color: #0891b2; border: 1px solid #cffafe; }
.product-tag-pill.tag-purple { background: #faf5ff; color: #9333ea; border: 1px solid #f3e8ff; }
.product-tag-pill.tag-secondary { background: #f8fafc; color: #475569; border: 1px solid #e2e8f0; }
.product-tag-pill.tag-dark { background: #0f172a; color: #ffffff; border: 1px solid #1e293b; }

[data-theme="dark"] .product-tag-pill,
html[data-theme="dark"] .product-tag-pill {
    border-color: rgba(255, 255, 255, 0.12) !important;
}
[data-theme="dark"] .product-tag-pill.tag-primary { background: rgba(59, 130, 246, 0.18) !important; color: #60a5fa !important; border-color: rgba(59, 130, 246, 0.35) !important; }
[data-theme="dark"] .product-tag-pill.tag-success { background: rgba(22, 163, 74, 0.18) !important; color: #4ade80 !important; border-color: rgba(22, 163, 74, 0.35) !important; }
[data-theme="dark"] .product-tag-pill.tag-warning { background: rgba(217, 119, 6, 0.18) !important; color: #fbbf24 !important; border-color: rgba(217, 119, 6, 0.35) !important; }
[data-theme="dark"] .product-tag-pill.tag-danger { background: rgba(225, 29, 72, 0.18) !important; color: #fb7185 !important; border-color: rgba(225, 29, 72, 0.35) !important; }
[data-theme="dark"] .product-tag-pill.tag-info { background: rgba(6, 182, 212, 0.18) !important; color: #38bdf8 !important; border-color: rgba(6, 182, 212, 0.35) !important; }
[data-theme="dark"] .product-tag-pill.tag-purple { background: rgba(147, 51, 234, 0.18) !important; color: #c084fc !important; border-color: rgba(147, 51, 234, 0.35) !important; }
[data-theme="dark"] .product-tag-pill.tag-secondary { background: rgba(255, 255, 255, 0.08) !important; color: #cbd5e1 !important; border-color: rgba(255, 255, 255, 0.15) !important; }
[data-theme="dark"] .product-tag-pill.tag-dark { background: rgba(255, 255, 255, 0.15) !important; color: #ffffff !important; border-color: rgba(255, 255, 255, 0.25) !important; }

/* Modal Chip Styles */
.modal-badge-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 8px;
    line-height: 1.3;
}
.modal-badge-chip.chip-spicy { background: #fff1f2; color: #e11d48; border: 1px solid #ffe4e6; }
.modal-badge-chip.chip-veg { background: #f0fdf4; color: #16a34a; border: 1px solid #dcfce7; }
.modal-badge-chip.chip-vegan { background: #ecfdf5; color: #059669; border: 1px solid #d1fae5; }
.modal-badge-chip.chip-gluten { background: #fffbeb; color: #d97706; border: 1px solid #fef3c7; }
.modal-badge-chip.chip-chef { background: #fefce8; color: #ca8a04; border: 1px solid #fef08a; }
.modal-badge-chip.chip-custom { background: #f8fafc; color: #334155; border: 1px solid #e2e8f0; }

.modal-badge-chip.chip-custom.tag-primary { background: #eff6ff; color: #2563eb; border-color: #dbeafe; }
.modal-badge-chip.chip-custom.tag-success { background: #f0fdf4; color: #16a34a; border-color: #dcfce7; }
.modal-badge-chip.chip-custom.tag-warning { background: #fffbeb; color: #d97706; border-color: #fef3c7; }
.modal-badge-chip.chip-custom.tag-danger { background: #fef2f2; color: #dc2626; border-color: #fee2e2; }
.modal-badge-chip.chip-custom.tag-purple { background: #faf5ff; color: #9333ea; border-color: #f3e8ff; }
.modal-badge-chip.chip-custom.tag-info { background: #ecfeff; color: #0891b2; border-color: #cffafe; }









