/* Creatus QR Menu - Temel Mobil UI/UX Stilleri */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --qr-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --qr-font-title: 'Outfit', 'Inter', sans-serif;
    --qr-radius-sm: 8px;
    --qr-radius-md: 14px;
    --qr-radius-lg: 20px;
    --qr-radius-pill: 9999px;
    --qr-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

html, body.creatus-qr-body {
    font-family: var(--qr-font);
    background-color: var(--qr-bg);
    color: var(--qr-text);
    min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    padding-bottom: calc(75px + env(safe-area-inset-bottom, 20px));
    width: 100%;
}

.qr-app-container {
    max-width: 520px;
    margin: 0 auto;
    position: relative;
    min-height: 100vh;
    width: 100%;
}

/* ==========================================================================
   HEADER & BANNER
   ========================================================================== */
.qr-header {
    position: relative;
    padding: 16px 16px 12px;
}

.qr-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.qr-banner-overlay {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, var(--qr-bg) 100%);
}

.qr-header-inner {
    position: relative;
    z-index: 1;
}

.qr-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.qr-table-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--qr-accent);
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: var(--qr-radius-pill);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.qr-brand-pill {
    display: inline-block;
    background: var(--qr-card-bg);
    border: 1px solid var(--qr-card-border);
    color: var(--qr-text-muted);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--qr-radius-pill);
}

.qr-quick-actions {
    display: flex;
    gap: 8px;
}

.qr-action-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--qr-card-border);
    background: var(--qr-card-bg);
    color: var(--qr-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: var(--qr-transition);
}

.qr-action-btn:active {
    transform: scale(0.92);
}

.qr-brand-profile {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.qr-logo-wrap {
    width: 64px;
    height: 64px;
    border-radius: var(--qr-radius-md);
    background: var(--qr-card-bg);
    border: 1.5px solid var(--qr-card-border);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    overflow: hidden;
}

.qr-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}

.qr-restaurant-title {
    font-family: var(--qr-font-title);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.qr-restaurant-slogan {
    font-size: 13px;
    color: var(--qr-text-muted);
    margin-top: 2px;
}

/* Canlı Arama */
.qr-search-bar {
    position: relative;
    margin-top: 8px;
}

.qr-search-bar .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--qr-text-muted);
    pointer-events: none;
}

.qr-search-bar input {
    width: 100%;
    height: 44px;
    background: var(--qr-card-bg);
    border: 1px solid var(--qr-card-border);
    border-radius: var(--qr-radius-pill);
    padding: 0 40px 0 42px;
    font-size: 14px;
    color: var(--qr-text);
    outline: none;
    transition: var(--qr-transition);
}

.qr-search-bar input:focus {
    border-color: var(--qr-accent);
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.15);
}

.qr-search-bar input::placeholder {
    color: var(--qr-text-muted);
    opacity: 0.75;
}

.search-reset-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--qr-text-muted);
    font-size: 14px;
    cursor: pointer;
    padding: 4px;
}

/* ==========================================================================
   VIEW YÖNETİMİ
   ========================================================================== */
.qr-view {
    display: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.qr-view.active {
    display: block;
    opacity: 1;
    transform: none !important;
}

.qr-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px 14px;
}

.qr-section-title h2 {
    font-family: var(--qr-font-title);
    font-size: 18px;
    font-weight: 700;
}

.qr-cat-total {
    font-size: 12px;
    color: var(--qr-text-muted);
    font-weight: 600;
    background: var(--qr-card-bg);
    padding: 3px 8px;
    border-radius: var(--qr-radius-pill);
    border: 1px solid var(--qr-card-border);
}

.qr-clear-btn {
    background: none;
    border: none;
    color: var(--qr-accent);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

/* ==========================================================================
   MOBİLDE 2 SIRALI RESİMLİ KATEGORİ IZGARASI (GRID)
   ========================================================================== */
.qr-categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 16px 24px;
}

.qr-category-card {
    position: relative;
    border-radius: var(--qr-radius-md);
    overflow: hidden;
    background: var(--qr-card-bg);
    border: 1px solid var(--qr-card-border);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.qr-category-card:active {
    transform: scale(0.96);
}

.qr-cat-img-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.qr-cat-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.qr-category-card:hover .qr-cat-img {
    transform: scale(1.05);
}

.qr-cat-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
}

.qr-cat-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.85) 100%);
    z-index: 1;
}

.qr-cat-info {
    position: relative;
    z-index: 2;
    padding: 12px;
}

.qr-cat-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    padding: 2px 8px;
    border-radius: var(--qr-radius-pill);
    margin-bottom: 4px;
}

.qr-cat-title {
    font-family: var(--qr-font-title);
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

.qr-cat-arrow {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    z-index: 2;
}

/* ==========================================================================
   ÜRÜNLER GÖRÜNÜMÜ & STICKY PILLS
   ========================================================================== */
.qr-products-sticky-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    background: var(--qr-bg);
    z-index: 99;
    padding: 10px 16px 8px;
    border-bottom: 1px solid var(--qr-card-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.qr-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: var(--qr-text);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 8px;
}

.qr-category-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.qr-category-pills::-webkit-scrollbar {
    display: none;
}

.qr-pill-btn {
    white-space: nowrap;
    padding: 6px 14px;
    border-radius: var(--qr-radius-pill);
    border: 1px solid var(--qr-card-border);
    background: var(--qr-card-bg);
    color: var(--qr-text-muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--qr-transition);
}

.qr-pill-btn.active {
    background: var(--qr-accent);
    color: #ffffff;
    border-color: var(--qr-accent);
}

.qr-products-container {
    padding: 14px 16px 24px;
    width: 100%;
    box-sizing: border-box;
}

.qr-category-section {
    margin-bottom: 28px;
}

.qr-cat-header-banner {
    margin-bottom: 12px;
}

.cat-section-title {
    font-family: var(--qr-font-title);
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cat-section-desc {
    font-size: 12px;
    color: var(--qr-text-muted);
    margin-top: 2px;
}

/* ==========================================================================
   DİKEY LİSTE (ALT ALTA ÜRÜN KARTLARI)
   ========================================================================== */
.qr-product-vertical-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.qr-product-card {
    display: flex;
    gap: 12px;
    background: var(--qr-card-bg);
    border: 1px solid var(--qr-card-border);
    border-radius: var(--qr-radius-md);
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    align-items: flex-start;
    transition: var(--qr-transition);
    position: relative;
}

.qr-product-card.is-sold-out {
    opacity: 0.65;
}

.qr-product-thumb-wrap {
    width: 80px;
    height: 80px;
    border-radius: var(--qr-radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    background: rgba(0,0,0,0.05);
}

.qr-product-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qr-product-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    background: rgba(255,255,255,0.05);
}

.qr-sold-out-tag {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(239, 68, 68, 0.9);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    padding: 2px 0;
    text-transform: uppercase;
}

.qr-product-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.qr-product-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
}

.qr-product-title-wrap {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.qr-product-name {
    font-family: var(--qr-font-title);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--qr-text);
    margin: 0;
}

.qr-item-badge {
    font-size: 10px;
    font-weight: 700;
    background: rgba(225, 29, 72, 0.15);
    color: var(--qr-accent);
    padding: 2px 6px;
    border-radius: var(--qr-radius-pill);
    white-space: nowrap;
    border: 1px solid rgba(225, 29, 72, 0.3);
}

.qr-product-price {
    font-family: var(--qr-font-title);
    font-size: 14.5px;
    font-weight: 800;
    color: var(--qr-price-color);
    background: var(--qr-price-bg);
    padding: 3px 8px;
    border-radius: var(--qr-radius-sm);
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    display: inline-flex;
    align-items: center;
    line-height: 1.25;
    letter-spacing: -0.2px;
}

.qr-product-desc {
    font-size: 12px;
    color: var(--qr-text-muted);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.qr-product-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}

.qr-product-allergens {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--qr-text-muted);
}

/* ==========================================================================
   ALT SABİT BAR (BOTTOM NAVIGATION)
   ========================================================================== */
.qr-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 520px;
    margin: 0 auto;
    height: calc(56px + env(safe-area-inset-bottom, 15px));
    padding-bottom: env(safe-area-inset-bottom, 15px);
    background: var(--qr-card-bg);
    border-top: 1px solid var(--qr-card-border);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 50;
}

.qr-nav-tab {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: var(--qr-text-muted);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--qr-transition);
}

.qr-nav-tab.active {
    color: var(--qr-accent);
}

.qr-nav-tab svg {
    transition: transform 0.2s ease;
}

.qr-nav-tab:active svg {
    transform: scale(0.85);
}

/* ==========================================================================
   MODALLAR & BOTTOM SHEETS
   ========================================================================== */
.qr-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(4px);
    z-index: 100;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.qr-modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.qr-modal-sheet {
    width: 100%;
    max-width: 520px;
    max-height: 85vh;
    background: var(--qr-card-bg);
    border-radius: var(--qr-radius-lg) var(--qr-radius-lg) 0 0;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-top: 1px solid var(--qr-card-border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
    padding: 0;
}

.qr-modal-overlay.open .qr-modal-sheet {
    transform: translateY(0);
}

.qr-modal-handle {
    width: 36px;
    height: 4px;
    background: var(--qr-card-border);
    border-radius: 2px;
    margin: 10px auto 0;
    flex-shrink: 0;
}

.qr-modal-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px 14px;
    border-bottom: 1px solid var(--qr-card-border);
    background: var(--qr-card-bg);
    position: sticky;
    top: 0;
    z-index: 20;
    flex-shrink: 0;
    margin-bottom: 0;
}

.qr-modal-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(225, 29, 72, 0.15);
    color: var(--qr-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.qr-modal-header h3 {
    font-family: var(--qr-font-title);
    font-size: 17px;
    font-weight: 700;
    margin: 0;
    color: var(--qr-text);
}

.qr-modal-close {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--qr-card-border);
    color: var(--qr-text);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    padding: 0;
}

.qr-modal-close:hover,
.qr-modal-close:active {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(0.95);
}

.qr-modal-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 16px 20px calc(24px + env(safe-area-inset-bottom, 20px));
}

.qr-info-item {
    background: rgba(0,0,0,0.04);
    border: 1px solid var(--qr-card-border);
    border-radius: var(--qr-radius-md);
    padding: 12px;
    margin-bottom: 10px;
}

.qr-info-item .label {
    display: block;
    font-size: 11px;
    color: var(--qr-text-muted);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 4px;
}

.qr-info-item .val {
    font-size: 16px;
    font-weight: 700;
    word-break: break-all;
}

.pw-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.qr-pw-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--qr-accent);
    color: #ffffff;
    border: none;
    padding: 6px 12px;
    border-radius: var(--qr-radius-pill);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.qr-social-links-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.qr-social-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--qr-radius-md);
    background: var(--qr-card-bg);
    border: 1px solid var(--qr-card-border);
    color: var(--qr-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--qr-transition);
}

.qr-social-btn:active {
    transform: scale(0.98);
}

/* Toast Bildirim */
.qr-toast-notice {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-30px);
    background: #0f172a;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--qr-radius-pill);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.qr-toast-notice.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Boş Durum (Empty State) */
.qr-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--qr-text-muted);
}

.qr-empty-state svg {
    margin-bottom: 12px;
    opacity: 0.5;
}

.qr-empty-state h3 {
    font-size: 16px;
    color: var(--qr-text);
    margin-bottom: 4px;
}

/* ==========================================================================
   DİL SEÇİCİ (LANGUAGE SWITCHER: DE / TR)
   ========================================================================== */
.qr-header-right-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qr-lang-switcher {
    display: inline-flex;
    align-items: center;
    background: var(--qr-card-bg);
    border: 1px solid var(--qr-card-border);
    border-radius: var(--qr-radius-pill);
    padding: 3px;
    gap: 2px;
    backdrop-filter: blur(10px);
}

.qr-lang-switcher .lang-btn {
    background: none;
    border: none;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 700;
    color: var(--qr-text-muted);
    border-radius: var(--qr-radius-pill);
    cursor: pointer;
    transition: var(--qr-transition);
}

.qr-lang-switcher .lang-btn.active {
    background: var(--qr-accent);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.qr-wifi-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--qr-card-border);
    color: var(--qr-text);
    padding: 5px 12px;
    border-radius: var(--qr-radius-pill);
    font-size: 12px;
    font-weight: 500;
    margin-top: 6px;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: var(--qr-transition);
}

.qr-wifi-badge-pill svg {
    color: var(--qr-accent);
}

.qr-wifi-badge-pill:active {
    transform: scale(0.94);
    background: var(--qr-accent);
    color: #ffffff;
}

.qr-wifi-badge-pill:active svg {
    color: #ffffff;
}

/* ==========================================================================
   Shisha Tabaksorten 2-Spalten Grid & Alkoholgehalt (Vol. %) Badges
   ========================================================================== */

.qr-product-meta-tags {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 4px;
    width: 100%;
}

.qr-tag-alcohol {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2px;
    background: rgba(225, 29, 72, 0.14);
    color: #fb7185;
    border: 1px solid rgba(225, 29, 72, 0.28);
    line-height: 1.2;
}

.qr-tag-alcohol svg {
    color: #fb7185;
    flex-shrink: 0;
}

.qr-tag-allergen {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    background: rgba(148, 163, 184, 0.12);
    color: var(--qr-text-muted);
    border: 1px solid rgba(148, 163, 184, 0.2);
    line-height: 1.2;
}

/* Diät- & Ernährungs-Badges (Universal) */
.qr-tag-vegan {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.28);
    line-height: 1.2;
}

.qr-tag-veggie {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.28);
    line-height: 1.2;
}

.qr-tag-glutenfree {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.28);
    line-height: 1.2;
}

.qr-tag-spicy {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.28);
    line-height: 1.2;
}

.qr-tag-bestseller {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(168, 85, 247, 0.12);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.28);
    line-height: 1.2;
}

/* Google 5-Sterne Bewertungsbutton */
.qr-google-review-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #fef9c3 0%, #fef08a 100%);
    border: 1px solid #facc15;
    border-radius: 12px;
    padding: 12px 14px;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(234, 179, 8, 0.22);
    margin-bottom: 12px;
    transition: var(--qr-transition);
}

.qr-google-review-btn:active {
    transform: scale(0.98);
    box-shadow: 0 1px 4px rgba(234, 179, 8, 0.3);
}

.qr-google-star-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.qr-google-review-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.qr-google-review-text strong {
    font-size: 13.5px;
    font-weight: 800;
    color: #713f12;
}

.qr-google-review-text small {
    font-size: 11px;
    font-weight: 500;
    color: #854d0e;
    margin-top: 2px;
}

.qr-google-review-btn .qr-arrow-right {
    color: #854d0e;
    flex-shrink: 0;
}

/* Öffnungszeiten Modal Box (Accordion) */
.qr-opening-hours-modal-box {
    margin-top: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--qr-card-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--qr-shadow);
    transition: var(--qr-transition);
}

.qr-hours-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.2s ease;
    border-bottom: none;
    margin-bottom: 0;
}

.qr-hours-header:hover,
.qr-hours-header:active {
    background: rgba(255, 255, 255, 0.05);
}

.qr-hours-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qr-accordion-arrow {
    transition: transform 0.25s ease;
    color: var(--qr-text-muted);
    flex-shrink: 0;
}

.qr-opening-hours-modal-box.active .qr-accordion-arrow {
    transform: rotate(180deg);
}

.qr-accordion-content {
    border-top: 1px solid var(--qr-card-border);
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.12);
}

.qr-hours-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--qr-text);
    font-size: 13.5px;
}

.qr-live-status-pill {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.qr-live-status-pill.is-open {
    background: #dcfce7;
    color: #15803d;
}

.qr-live-status-pill.is-closed {
    background: #fee2e2;
    color: #b91c1c;
}

.qr-live-status-pill .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    display: inline-block;
    animation: qrPulse 2s infinite;
}

@keyframes qrPulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

.qr-hours-table {
    width: 100%;
    font-size: 12.5px;
    border-collapse: collapse;
    color: var(--qr-text-muted);
}

.qr-hours-table td {
    padding: 5px 0;
}

.qr-hours-table td:last-child {
    text-align: right;
}

.qr-hours-table tr.is-today {
    font-weight: 700;
    color: var(--qr-text);
}

/* Header Live-Status Pill */
.qr-header-status-pill {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(6px);
}

.qr-header-status-pill.is-open {
    background: rgba(34, 197, 94, 0.18);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.35);
}

.qr-header-status-pill.is-closed {
    background: rgba(239, 68, 68, 0.18);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.35);
}

.qr-header-status-pill .status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    animation: qrPulse 2s infinite;
}

.qr-shisha-flavours-box {
    margin-top: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 12px 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.qr-shisha-flavours-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.qr-shisha-icon {
    font-size: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 10px;
    color: #f59e0b;
    flex-shrink: 0;
}

.qr-shisha-header-text h4 {
    margin: 0;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--qr-text);
    letter-spacing: -0.2px;
}

.qr-shisha-header-text p {
    margin: 2px 0 0;
    font-size: 11.5px;
    color: var(--qr-text-muted);
}

.qr-shisha-flavours-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    box-sizing: border-box;
}

.qr-flavour-card {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    padding: 8px 10px;
    min-height: 38px;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    transition: var(--qr-transition);
}

.qr-flavour-card:active {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.45);
    transform: scale(0.98);
}

.qr-flavour-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f59e0b;
    flex-shrink: 0;
    box-shadow: 0 0 6px rgba(245, 158, 11, 0.7);
}

.qr-flavour-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--qr-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
    min-width: 0;
    flex: 1;
}

/* ==========================================================================
   Kompaktes Rechtliches & Jugendschutz Banner (Schweiz)
   ========================================================================== */
.qr-legal-banner {
    margin: 0;
    box-sizing: border-box;
    width: 100%;
    padding: 13px 15px;
    background: var(--qr-card-bg);
    border: 1px solid var(--qr-card-border);
    border-radius: var(--qr-radius-md);
    cursor: pointer;
    transition: var(--qr-transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    outline: none;
    user-select: none;
}

.qr-legal-banner:hover,
.qr-legal-banner:focus {
    border-color: rgba(225, 29, 72, 0.35);
    transform: translateY(-1px);
}

.qr-legal-banner-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.qr-legal-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.qr-legal-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 9999px;
    line-height: 1.2;
}

.qr-legal-badge.badge-18 {
    background: rgba(225, 29, 72, 0.15);
    color: #f43f5e;
    border: 1px solid rgba(225, 29, 72, 0.25);
}

.qr-legal-badge.badge-16 {
    background: rgba(234, 179, 8, 0.15);
    color: #eab308;
    border: 1px solid rgba(234, 179, 8, 0.25);
}

.qr-legal-badge.badge-chf {
    background: rgba(148, 163, 184, 0.15);
    color: var(--qr-text-muted);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.qr-legal-hint-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.qr-legal-hint-text {
    font-size: 11.5px;
    color: var(--qr-text-muted);
    margin: 0;
    line-height: 1.45;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.qr-legal-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--qr-accent);
    white-space: nowrap;
    padding-top: 1px;
}

/* ==========================================================================
   Rechtliches & Jugendschutz Modal
   ========================================================================== */
.qr-modal-body.qr-legal-modal-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 8px;
    overflow-y: auto;
    max-height: 68vh;
    -webkit-overflow-scrolling: touch;
}

.qr-legal-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--qr-card-border);
    border-radius: var(--qr-radius-sm);
    padding: 13px 15px;
}

.theme-light .qr-legal-card {
    background: #f8fafc;
}

.qr-legal-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 9px;
}

.qr-legal-card-header h4 {
    margin: 0;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--qr-text);
}

.qr-age-badge {
    background: #e11d48;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 6px;
    letter-spacing: 0.3px;
}

.qr-icon-badge {
    background: rgba(148, 163, 184, 0.18);
    color: var(--qr-text);
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 6px;
}

.qr-icon-badge.info-badge {
    background: rgba(2, 132, 199, 0.2);
    color: #38bdf8;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-style: italic;
    font-family: serif;
}

.qr-legal-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.qr-legal-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    line-height: 1.45;
    color: var(--qr-text-muted);
}

.qr-legal-list li strong {
    color: var(--qr-text);
}

.qr-legal-list .bullet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9.5px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 4px;
    min-width: 24px;
    margin-top: 1px;
    flex-shrink: 0;
}

.qr-legal-list .bullet-red {
    background: rgba(225, 29, 72, 0.2);
    color: #f43f5e;
}

.qr-legal-list .bullet-yellow {
    background: rgba(234, 179, 8, 0.2);
    color: #eab308;
}

.qr-legal-list .bullet-blue {
    background: rgba(2, 132, 199, 0.2);
    color: #38bdf8;
}

.qr-legal-card p {
    font-size: 12px;
    color: var(--qr-text-muted);
    line-height: 1.5;
    margin: 0 0 6px;
}

.qr-legal-card p:last-child {
    margin-bottom: 0;
}

.qr-legal-card p strong {
    color: var(--qr-text);
}

.qr-social-btn.legal {
    background: rgba(225, 29, 72, 0.08);
    border-color: rgba(225, 29, 72, 0.2);
    color: var(--qr-text);
}
.qr-social-btn.legal:hover {
    background: rgba(225, 29, 72, 0.15);
    border-color: #e11d48;
}


/* Öffnungszeiten Strip Banner in Footer */
.qr-hours-strip-banner {
    padding: 12px 16px;
    background: var(--qr-card-bg);
    border: 1px solid var(--qr-card-border);
    border-radius: var(--qr-radius-md);
    cursor: pointer;
    transition: var(--qr-transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    user-select: none;
    outline: none;
    margin-bottom: 10px;
}
.qr-hours-strip-banner:hover {
    border-color: rgba(0, 113, 227, 0.4);
    transform: translateY(-1px);
}
.qr-hours-strip-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.qr-hours-strip-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--qr-text);
}
.qr-hours-strip-title {
    font-weight: 500;
    color: var(--qr-text-muted);
}
.qr-hours-strip-status {
    color: var(--qr-text);
    font-weight: 700;
}
.qr-hours-strip-sep {
    color: var(--qr-card-border);
}
.qr-hours-strip-time {
    color: var(--qr-text-muted);
    font-size: 12.5px;
}
.qr-hours-strip-right {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--qr-accent);
    white-space: nowrap;
}


/* Product Variations / Portionsgrössen */
.qr-product-variations-wrap {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 2px;
    width: 100%;
}
.qr-variant-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--qr-price-bg, rgba(225, 29, 72, 0.08));
    border: 1px solid rgba(225, 29, 72, 0.15);
    border-radius: var(--qr-radius-sm, 8px);
    padding: 3px 8px;
    font-size: 12px;
    line-height: 1.2;
    transition: transform 0.15s ease;
}
.qr-variant-name {
    font-weight: 500;
    color: var(--qr-text-muted, #64748b);
    font-size: 11px;
}
.qr-variant-price {
    font-family: var(--qr-font-title, inherit);
    font-weight: 800;
    color: var(--qr-price-color, var(--qr-accent, #e11d48));
}


/* Social & Messenger Brand Buttons */
.qr-social-btn.whatsapp:hover {
    border-color: #22c55e !important;
    background: rgba(34, 197, 94, 0.08) !important;
}
.qr-social-btn.instagram:hover {
    border-color: #e1306c !important;
    background: rgba(225, 48, 108, 0.08) !important;
}
.qr-social-btn.facebook:hover {
    border-color: #1877f2 !important;
    background: rgba(24, 119, 242, 0.08) !important;
}
.qr-social-btn.tiktok:hover {
    border-color: var(--qr-text) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}


/* Footer Info & Legal Section - Aligned with 16px page gutters */
.qr-footer-info-section {
    padding: 0 16px 26px !important;
    margin: 18px 0 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.qr-hours-strip-banner {
    box-sizing: border-box !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.qr-legal-banner {
    box-sizing: border-box !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
