/* ============================================
   ðŸŽ¨ TEMA RENK DEÄžÄ°ÅžKENLERÄ°
   ============================================ */
:root {
    --cat-color: #1A2739;           /* Ana renk */
    --cat-color-deep: #1A2739;      /* Aynı */
    --cat-color-darker: #1A2739;    /* Aynı */
    --cat-color-lighter: #1A2739;   /* Aynı */
}

/* ============================================
   TEMEL
   ============================================ */
* { box-sizing: border-box; }

body {
    overflow: visible !important;
    overflow-x: clip !important;
    overflow-y: visible !important;
    margin: 0;
    padding: 0;
    background: #000;
    color: #fff;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

html {
    overflow-x: hidden;
    overflow-y: visible;
}

/* GÃ¶rsellerde sÃ¼rÃ¼kleme ve seÃ§imi engelle */
img {
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

/* Dokunma hedeflerinde zoom engelle */
.product-card,
.category-chip,
.lang-tab,
.nav-arrow,
.modal-close-btn {
    touch-action: manipulation;
}

/* Renk geçiş animasyonu */
.app-header,
.category-bar,
.products-container,
.product-card,
.modal-info-container,
.modal-image-container,
.photo-note {
    transition: background-color 0.4s ease;
}

/* ============================================
   HEADER (logo + dil seÃ§enekleri + arama)
   ============================================ */
/* ============================================
   HEADER
   ============================================ */
.app-header {
    background: var(--cat-color-deep);
    padding: 12px 16px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;                /* ← EKLE */
}

/* ⬇️ YENİ: Dil butonları sağ üst köşede */
.header-lang-top {
    position: absolute;
    top: 12px;
    right: 16px;
    z-index: 5;
}

/* ⬇️ Silinecek: .header-top */
/* .header-top { ... } */

/* Dil sekmeleri (küçültüldü) */
.lang-tabs {
    display: inline-flex;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 999px;
    padding: 3px;
    gap: 1px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.lang-tab {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.7rem;                 /* ← küçültüldü */
    font-weight: bold;
    padding: 5px 10px;                 /* ← küçültüldü */
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.5px;
    font-family: inherit;
    min-width: 32px;
    text-align: center;
}

.lang-tab:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.lang-tab.active {
    background: #c9a961;
    color: #000;
    box-shadow: 0 2px 6px rgba(201, 169, 97, 0.4);
}

/* Logo */
.header-title {
    text-align: center;
    margin-top: 4px;
}

.giotto-logo {
    height: 56px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
   /* filter: brightness(0) invert(1);*/
   transform: scaleX(1.15);  
}

.header-title .subtitle {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 6px 0 0;
    font-style: italic;
    letter-spacing: 0.3px;
}

/* ============================================
   ARAMA KUTUSU
   ============================================ */
.search-box {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin-top: 10px;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    pointer-events: none;
}

.search-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    color: #fff;
    font-size: 0.9rem;
    padding: 10px 40px 10px 38px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-input:focus {
    border-color: #c9a961;
    background: rgba(0, 0, 0, 0.45);
}

.search-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    font-size: 0.7rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.search-clear:hover {
    background: rgba(201, 169, 97, 0.7);
}

.search-clear i {
    pointer-events: none;
}

/* ============================================
   KATEGORÄ° ÅžERÄ°DÄ° (SABÄ°T)
   ============================================ */
.category-bar {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--cat-color-deep);
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.category-bar::-webkit-scrollbar {
    display: none;
}

.category-chip {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 10px 22px;        /* 8px 18px → 10px 22px (%20) */
    font-size: 1.02rem;        /* 0.85rem → 1.02rem (%20) */
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    letter-spacing: 0.3px;
    font-family: inherit;
}

.category-chip:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.category-chip.active {
    background: #c9a961;
    color: #000;
    font-weight: bold;
}

/* "TÃ¼mÃ¼" chip */
.category-chip-all {
    background: #c9a961;
    color: #000;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.category-chip-all.active {
    background: #e5c47d;
}

.category-chip-sub {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.75);
    border: 1px dashed rgba(201, 169, 97, 0.35);
    font-size: 0.94rem;       /* 0.78rem → 0.94rem (%20) */
    padding: 8px 17px;        /* 7px 14px → 8px 17px (%20) */
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.category-chip-sub:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: rgba(201, 169, 97, 0.7);
}

.category-chip-sub.active {
    background: #c9a961;
    color: #000;
    border-color: #c9a961;
    border-style: solid;
}

.category-chip-sub .sub-parent {
    opacity: 0.6;
    font-size: 0.84rem; 
}

.category-chip-sub .sub-sep {
    opacity: 0.4;
    font-size: 0.78rem; 
}

.category-chip-sub .sub-name {
    font-weight: bold;
}

.category-chip-sub.active .sub-parent {
    opacity: 0.75;
    color: #000;
}

/* ============================================
   YEMEK LÄ°STESÄ° - RESPONSIVE
   ============================================ */
.products-container {
    padding: 12px;
    background: transparent; 
    min-height: 100vh;
}

/* 1. Telefon: 2 sÃ¼tun */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

/* 2. BÃ¼yÃ¼k telefon: 3 sÃ¼tun */
@media (min-width: 600px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
}

/* 3. Tablet: 3 sÃ¼tun */
@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

/* 4. Tablet yatay / kÃ¼Ã§Ã¼k masaÃ¼stÃ¼: 4 sÃ¼tun */
@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }
}

/* 5. BÃ¼yÃ¼k masaÃ¼stÃ¼: 4 sÃ¼tun ortalanmÄ±ÅŸ */
@media (min-width: 1400px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 22px;
        max-width: 1600px;
        margin: 0 auto;
    }
}

/* ============================================
   YEMEK KARTI
   ============================================ */
.product-card {
    background: var(--cat-color-lighter);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.15s, background-color 0.4s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.product-card:hover {
    transform: translateY(-2px);
}

.product-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    background: rgba(0, 0, 0, 0.3);
}

.product-info {
    padding: 10px 12px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.product-name {
    font-size: 0.9rem;
    font-weight: bold;
    margin: 0 0 6px;
    color: #c9a961;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.3rem;
}

.product-desc {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.3;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.2rem; 
    flex: 1;
}

.product-price {
    font-size: 0.95rem;
    font-weight: bold;
    color: #c9a961;
    margin: 0;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: right;
}

/* ============================================
   YEMEK DETAY MODAL
   ============================================ */
.meal-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.meal-modal .modal-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    background: var(--cat-color-deep);   /* ← BU SATIR EKLENDİ */
}

/* Ãœst bar (sayaÃ§ + kapat) */
.modal-topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 25;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: none;
}

.modal-topbar > * {
    pointer-events: auto;
}

.nav-counter {
    color: #fff;
    font-size: 0.85rem;
    font-weight: bold;
    background: var(--cat-color-darker);
    padding: 8px 16px;
    border-radius: 999px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.modal-close-btn {
    width: 32px;
    height: 32px;
    background: rgba(220, 38, 38, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;                  /* ← 24px → 18px */
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    user-select: none;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
    transition: background 0.2s ease, transform 0.1s ease;
    box-sizing: border-box;
}

.modal-close-btn:hover {
    background: rgba(239, 68, 68, 1);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.6);
}

.modal-close-btn:active {
    transform: scale(0.92);
    background: rgba(185, 28, 28, 1);
}

/* ============================================
   MODAL RESİM ALANI — SABİT ORAN
   ============================================ */
.modal-image-container {
    width: 100%;
    aspect-ratio: 4 / 3;      
    max-height: 55vh;         
    flex-shrink: 0;
    background: var(--cat-color-deep);
    position: relative;
    overflow: hidden;
    margin-top: 60px;          
}

.modal-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;         
    object-position: center;    
    display: block;
}

/* Ok butonlarÄ± */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.25s ease;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    animation: arrowPulse 2.5s ease-in-out infinite;
}

.nav-arrow-left {
    left: 12px;
    animation: arrowLeftPulse 2.5s ease-in-out infinite;
}

.nav-arrow-right {
    right: 12px;
    animation: arrowRightPulse 2.5s ease-in-out infinite;
}

.nav-arrow:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.nav-arrow:active {
    transform: translateY(-50%) scale(0.88);
    background: rgba(201, 169, 97, 0.8);
    border-color: #c9a961;
    animation: none;
}

.nav-arrow:disabled,
.nav-arrow.disabled {
    opacity: 0.15;
    cursor: not-allowed;
    pointer-events: none;
    animation: none;
}

.nav-arrow i {
    pointer-events: none;
    line-height: 1;
}

@keyframes arrowPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3); }
    50%      { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
}

@keyframes arrowLeftPulse {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50%      { transform: translateY(-50%) translateX(-4px); }
}

@keyframes arrowRightPulse {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50%      { transform: translateY(-50%) translateX(4px); }
}

/* FotoÄŸraf notu */
.photo-note {
    background: var(--cat-color-deep);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.72rem;
    font-style: italic;
    text-align: center;
    padding: 6px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

/* Modal bilgi alanÄ± */
.modal-info-container {
    flex: 1;
    background: var(--cat-color-deep);
    color: #fff;
    padding: 24px 20px;
    overflow-y: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#modal-meal-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #c9a961;
    margin: 0 0 12px;
}

#modal-meal-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 18px;
    max-width: 600px;
    line-height: 1.5;
}

#modal-meal-price {
    font-size: 1.4rem;
    font-weight: bold;
    color: #c9a961;
}

/* ============================================
   MOBÄ°L UYUM
   ============================================ */
@media (max-width: 576px) {
    .nav-arrow {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
    .nav-arrow-left  { left: 8px; }
    .nav-arrow-right { right: 8px; }
}

@media (max-width: 400px) {
    .giotto-logo { height: 38px; }
    .header-title .subtitle { font-size: 0.68rem; }
    .category-chip { padding: 8px 17px; font-size: 0.9rem; }
    .category-chip-sub {
        padding: 6px 13px;         /* Mobilde biraz daha küçük */
        font-size: 0.82rem;
    }
     .category-chip-sub .sub-parent {
        font-size: 0.72rem;
    }

    .category-chip-sub .sub-sep {
        font-size: 0.68rem;
    }
    .product-name { font-size: 0.82rem; }
    .product-desc { font-size: 0.68rem; }
    .product-price { font-size: 0.85rem; }
    #modal-meal-name { font-size: 1.3rem; }
    .nav-arrow { width: 34px; height: 34px; font-size: 1rem; }
}



/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    width: 100%;
    background: none;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
    text-align: center;
    padding: 24px 12px 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 600px;
    margin: 0 auto;
}

.footer-line {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    line-height: 1.4;
}

.footer-meta {
    font-size: 0.75rem;
    opacity: 0.85;
}

.footer-sep {
    opacity: 0.4;
    user-select: none;
}

.footer-link {
    color: #c9a961;
    text-decoration: none;
    transition: color 0.2s, opacity 0.2s;
}

.footer-link:hover {
    color: #e5c47d;
    text-decoration: underline;
}

.footer-clickable {
    cursor: pointer;
    transition: color 0.2s;
    user-select: none;
}

.footer-clickable:hover {
    color: #c9a961;
}

.footer-version {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 8px;
    border-radius: 999px;
    opacity: 0.8;
}

.footer-version:hover {
    background: rgba(201, 169, 97, 0.25);
    color: #e5c47d;
}

.footer-app {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
}

.footer-app i {
    font-size: 0.85rem;
}

/* Mobil uyum */
@media (max-width: 400px) {
    .site-footer {
        font-size: 0.75rem;
        padding: 18px 10px 16px;
    }
    .footer-meta {
        font-size: 0.7rem;
    }
    .footer-line {
        gap: 5px;
    }
}

/* ============================================
   MASAÜSTÜ MODAL (Sadece >= 768px)
   ============================================ */
@media (min-width: 768px) {

    /* Modal arka planı: yarı saydam, arkası görünür */
    .meal-modal {
        background: rgba(0, 0, 0, 0.85);
        padding: 30px;
        align-items: center;
        justify-content: center;
    }

    /* Modal içeriği: ortalanmış kart */
    .meal-modal .modal-content {
        width: auto;
        max-width: 900px;
        height: auto;
        max-height: 90vh;
        background: var(--cat-color-deep);
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
        padding-top: 0;
    }

    /* Resim alanı: sabit 4:3, max yükseklik sınırlı */
    .modal-image-container {
        width: 100%;
        aspect-ratio: 16 / 10;
        max-height: 55vh;
        margin-top: 0;
        border-radius: 16px 16px 0 0;
    }

    /* Bilgi alanı: padding artır, ortalama */
    .modal-info-container {
        padding: 32px 40px;
    }

    #modal-meal-name {
        font-size: 1.8rem;
        margin: 0 0 16px;
    }

    #modal-meal-description {
        font-size: 1rem;
        line-height: 1.6;
        max-width: 700px;
        margin: 0 0 22px;
    }

    #modal-meal-price {
        font-size: 1.6rem;
    }

    /* Üst bar: kart içinde konumlanır */
    .modal-topbar {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        padding: 20px 24px;
    }

    /* Sayaç: biraz daha büyük */
    .nav-counter {
        font-size: 0.85rem;
        padding: 8px 16px;
        height: 36px;
        min-height: 36px;
    }

    /* Kapat butonu: biraz daha büyük */
    .modal-close-btn {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

    /* Ok butonları: kenarlardan içeri */
    .nav-arrow-left  { left: 20px; }
    .nav-arrow-right { right: 20px; }

    /* Fotoğraf notu: küçült */
    .photo-note {
        padding: 8px 20px;
        font-size: 0.7rem;
    }
}

/* ============================================
   ÇOK BÜYÜK MASAÜSTÜ (>= 1200px)
   ============================================ */
@media (min-width: 1200px) {
    .meal-modal .modal-content {
        max-width: 1000px;
    }
}

@media (min-width: 1024px) {
    .meal-modal .modal-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        max-width: 1100px;
        height: auto;
        max-height: 80vh;
        flex-direction: row;    /* önemli */
    }

    .modal-image-container {
        aspect-ratio: auto;
        height: 100%;
        max-height: none;
        grid-column: 1;
    }

    .modal-info-container {
        grid-column: 2;
        padding: 40px 30px;
        justify-content: center;
    }

    .photo-note {
        grid-column: 1 / -1;
        order: 99;
    }
}

/* ============================================
   SEPET BUTONU (SAĞ ALT)
   ============================================ */
.cart-btn {
    position: fixed;
    bottom: 24px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #c9a961;
    color: #000;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 9998;
    display: none;                    /* ← BAŞLANGIÇTA GİZLİ */
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.5);
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;

    /* 🎯 Görünme animasyonu */
    opacity: 0;
    transform: scale(0.5) translateY(20px);
}

/* 🎯 Ürün eklendiğinde görünür */
.cart-btn.visible {
    display: flex;
    opacity: 1;
    transform: scale(1) translateY(0);
}

.cart-btn:hover {
    transform: scale(1.08) translateY(0);
    box-shadow: 0 8px 26px rgba(201, 169, 97, 0.7);
}

.cart-btn:active {
    transform: scale(0.95) translateY(0);
}

.cart-btn i {
    pointer-events: none;
    line-height: 1;
}

/* Badge (ürün sayısı) */
.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    font-size: 0.7rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.5);
    border: 2px solid var(--cat-color-deep, #040e1c);
}

/* ============================================
   SEPETE EKLE BUTONU (KART İÇİ)
   ============================================ */
.cart-add-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: #c9a961;
    border: 1.5px solid rgba(201, 169, 97, 0.4);
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    -webkit-tap-highlight-color: transparent;
}

.cart-add-btn:hover {
    background: rgba(201, 169, 97, 0.9);
    color: #000;
    transform: scale(1.1);
    border-color: #c9a961;
}

.cart-add-btn:active {
    transform: scale(0.9);
}

/* Seçildiğinde yeşil */
/* Seçiliyse → yeşil arka plan, dolu yıldız */
.cart-add-btn.in-cart {
    background: rgba(34, 197, 94, 0.95);
    color: #fff;
    border-color: rgba(34, 197, 94, 1);
    box-shadow: 0 2px 10px rgba(34, 197, 94, 0.5);
}

/* Seçiliyken hover → daha belirgin */
.cart-add-btn.in-cart:hover {
    background: rgba(220, 38, 38, 0.9);   /* ← Kırmızı (çıkarma hissi) */
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.6);
}
/* Ürün kartına position: relative ekle */
.product-card {
    position: relative;
}

/* ============================================
   SEPET MODAL
   ============================================ */
.cart-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10001;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.cart-content {
    width: 100%;
    max-width: 550px;
    max-height: 85vh;
    background: var(--cat-color-deep, #040e1c);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

/* Başlık */
.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
}

.cart-header h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: bold;
    color: #c9a961;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-header h3 i {
    font-size: 1.1rem;
}

.cart-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
}

.cart-close:hover {
    background: rgba(220, 38, 38, 0.7);
}

/* Gövde (ürün listesi) */
.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px 16px;
}

.cart-body::-webkit-scrollbar {
    width: 6px;
}

.cart-body::-webkit-scrollbar-thumb {
    background: rgba(201, 169, 97, 0.4);
    border-radius: 3px;
}


.cart-empty small {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Sepet ürünü */
.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-img {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.3);
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-price {
    font-size: 0.8rem;
    color: #c9a961;
    font-weight: bold;
}

/* Adet kontrolleri */
.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 999px;
    padding: 3px;
    flex-shrink: 0;
}

.qty-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    transition: background 0.2s;
}

.qty-btn:hover {
    background: rgba(201, 169, 97, 0.3);
}

.qty-num {
    min-width: 20px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: bold;
    color: #fff;
}

/* Silme butonu */
.cart-item-remove {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.15);
    border: none;
    color: #ef4444;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
    padding: 0;
}

.cart-item-remove:hover {
    background: rgba(220, 38, 38, 0.9);
    color: #fff;
}

/* Footer (toplam + butonlar) */
.cart-footer {
    padding: 16px 22px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
}

.cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 14px;
}

.cart-total strong {
    font-size: 1.3rem;
    color: #c9a961;
    font-weight: bold;
}

.cart-actions {
    display: flex;
    gap: 10px;
}

.cart-btn-clear,
.cart-btn-close {
    flex: 1;
    padding: 12px 16px;
    border-radius: 10px;
    border: none;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
    font-family: inherit;
}

.cart-btn-clear {
    background: rgba(220, 38, 38, 0.15);
    color: #ef4444;
    border: 1px solid rgba(220, 38, 38, 0.4);
    display: flex;
}

.cart-btn-clear:hover {
    background: rgba(220, 38, 38, 0.9);
    color: #fff;
}

.cart-btn-close {
    background: #c9a961;
    color: #000;
}

.cart-btn-close:hover {
    background: #e5c47d;
}

/* ============================================
   TOAST (Ürün eklendi bildirimi)
   ============================================ */
.cart-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(34, 197, 94, 0.95);
    color: #fff;
    padding: 12px 20px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10002;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    max-width: 90vw;
    pointer-events: none;
}

.cart-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.cart-toast i {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.cart-toast span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================
   MOBİL UYUM
   ============================================ */
@media (max-width: 480px) {
    .cart-btn {
        bottom: 18px;
        right: 14px;
        width: 54px;
        height: 54px;
        font-size: 1.35rem;
    }

    .cart-content {
        max-width: 100%;
        max-height: 90vh;
        border-radius: 12px;
    }

    .cart-header {
        padding: 14px 16px;
    }

    .cart-header h3 {
        font-size: 1rem;
    }

    .cart-item-img {
        width: 48px;
        height: 48px;
    }

    .cart-item-name {
        font-size: 0.82rem;
    }

    .cart-footer {
        padding: 12px 16px 16px;
    }

    .cart-total strong {
        font-size: 1.15rem;
    }

    .cart-btn-clear,
    .cart-btn-close {
        padding: 10px 12px;
        font-size: 0.82rem;
    }
}

@keyframes badgePop {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.4); }
    100% { transform: scale(1); }
}

.cart-badge.pop {
    animation: badgePop 0.3s ease;
}

/* ============================================
   MODAL SEPETE EKLE BUTONU
   ============================================ */
.modal-add-to-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
    padding: 14px 32px;
    min-width: 220px;
    background: #c9a961;
    color: #000;
    border: none;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: bold;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(201, 169, 97, 0.4);
    -webkit-tap-highlight-color: transparent;
    letter-spacing: 0.3px;
}

.modal-add-to-cart i {
    font-size: 1.15rem;
    pointer-events: none;
}

.modal-add-to-cart:hover {
    background: #e5c47d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.55);
}

.modal-add-to-cart:active {
    transform: translateY(0) scale(0.97);
    background: #a68a4a;
    box-shadow: 0 2px 8px rgba(201, 169, 97, 0.4);
}

/* Sepette varsa farklı görünüm */
.modal-add-to-cart.in-cart {
    background: rgba(34, 197, 94, 0.9);
    color: #fff;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.4);
}

.modal-add-to-cart.in-cart:hover {
    background: rgba(34, 197, 94, 1);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.55);
}

.modal-add-to-cart strong {
    font-weight: bold;
    color: #fff;
    margin: 0 2px;
}

.modal-add-to-cart.in-cart strong {
    background: rgba(0, 0, 0, 0.25);
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.95rem;
}

/* Modal kapatılınca ID sıfırla */
/* (opsiyonel — JS tarafında closeMealModal'da yapılır) */

/* ============================================
   MOBİL UYUM
   ============================================ */
@media (max-width: 480px) {
    .modal-add-to-cart {
        padding: 12px 24px;
        font-size: 0.92rem;
        min-width: 180px;
        margin-top: 20px;
    }

    .modal-add-to-cart i {
        font-size: 1rem;
    }
}

/* ============================================
   MASAÜSTÜ MODAL (>= 768px) — Buton genişlesin
   ============================================ */
@media (min-width: 768px) {
    .modal-add-to-cart {
        padding: 16px 40px;
        font-size: 1.05rem;
        min-width: 260px;
        margin-top: 28px;
    }
}


/* Sepetteki kart hafif farklı görünsün (opsiyonel) */
.product-card.in-cart {
    /* box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.5); */
}

/* ============================================
   SEPET MODAL BAŞLIK VE BUTONLAR (Rusça)
   ============================================ */
.cart-total span {
    color: rgba(255, 255, 255, 0.7);
}


/* 🎯 Silme toast'ı kırmızı */
.cart-toast-remove {
    background: rgba(220, 38, 38, 0.95);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.4);
}

.cart-toast-remove.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ============================================
   BOŞ SEÇTİKLERİM — DAHA KOMPAKT
   ============================================ */
.cart-empty {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.5);
}

.cart-empty i {
    font-size: 2.5rem;
    color: rgba(201, 169, 97, 0.35);
    display: block;
    margin: 0 auto 20px;
    /* Tek yıldız — boş */
}

.cart-empty p {
    margin: 0 0 10px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

.cart-empty small {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.5;
    display: block;
    max-width: 260px;
    margin: 0 auto;
}

/* Boş listede "Hepsini Sil" butonunu gizle */
.cart-footer.empty .cart-btn-clear {
    display: none;
}

/* ============================================
   QR KOD MODAL
   ============================================ */
.qr-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.qr-modal-content {
    background: #fff;
    color: #000;
    border-radius: 20px;
    padding: 24px 20px;
    text-align: center;
    max-width: 340px;
    width: 100%;
    max-height: 90vh;              /* ← YENİ: ekranın %90'ını geçmesin */
    overflow-y: auto;               /* ← YENİ: içerik kaydırılabilir olsun */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 12px;                      /* ← YENİ: bloklar arası boşluk */
    -webkit-overflow-scrolling: touch;
}

/* Scrollbar ince */
.qr-modal-content::-webkit-scrollbar {
    width: 4px;
}

.qr-modal-content::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 2px;
}

.qr-modal-content h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: bold;
}

.qr-sub {
    font-size: 0.75rem;
    color: #888;
    margin: 0;
    line-height: 1.3;
}

#qr-code-container {
    display: flex;
    justify-content: center;
    padding: 12px;
    background: #f5f5f5;
    border-radius: 12px;
    margin: 0;
}

#qr-code-container img,
#qr-code-container canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

/* QR modal içindeki bilgi kutusu */
.qr-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: #f8f8f8;
    border-radius: 10px;
    margin: 0;
}

.qr-info i {
    color: #c9a961;
    font-size: 1rem;
}

.qr-count {
    font-size: 0.85rem;
    color: #333;
    font-weight: 500;
}

.qr-count strong {
    color: #000;
    font-size: 1.1rem;
    display: inline;
    margin: 0 2px;
}

.qr-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.qr-table {
    font-size: 2.6rem;
    color: #000;
    font-weight: bold;
    line-height: 1;
}


.qr-close-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    font-family: inherit;
    width: 100%;
    transition: background 0.2s;
    margin: 0;
}

.qr-close-btn:hover {
    background: #333;
}

/* Sepet modal'ındaki "Оформить" butonu */
.cart-btn-qr {
    flex: 1;
    padding: 12px 16px;
    border-radius: 10px;
    border: none;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
    font-family: inherit;
    background: #c9a961;
    color: #000;
}

.cart-btn-qr:hover {
    background: #e5c47d;
}

.cart-btn-qr i {
    font-size: 1rem;
}

/* ============================================
   QR MODAL — ÜRÜN ÖNİZLEME LİSTESİ
   ============================================ */
.qr-items-preview {
    padding: 8px 12px;
    background: #f8f8f8;
    border-radius: 10px;
    max-height: 120px;             /* ← 180px → 120px */
    overflow-y: auto;
    text-align: left;
    margin: 0;
}

.qr-items-preview::-webkit-scrollbar {
    width: 4px;
}

.qr-items-preview::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 2px;
}

.qr-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 4px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.82rem;             /* ← 0.9rem → 0.82rem */
}

.qr-item:last-child {
    border-bottom: none;
}

.qr-item-qty {
    min-width: 22px;                /* ← 26px → 22px */
    height: 22px;
    border-radius: 50%;
    background: #c9a961;
    color: #000;
    font-size: 0.72rem;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.qr-item-name {
    color: #333;
    font-weight: 500;
    line-height: 1.2;
    word-break: break-word;
}

.qr-edit-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background: transparent;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    margin: 0;
}

.qr-edit-btn:hover {
    background: #f0f0f0;
    color: #000;
    border-color: #999;
}

/* ============================================
   KART İÇİ ADET KONTROLÜ (SEÇİLİYKEN)
   ============================================ */
.card-qty-control {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 999px;
    padding: 3px;
    z-index: 3;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.card-qty-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.15s ease;
    -webkit-tap-highlight-color: transparent;
    font-family: inherit;
}

.card-qty-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.card-qty-btn:active {
    transform: scale(0.9);
}

/* − butonu kırmızımsı */
.card-qty-minus {
    background: rgba(220, 38, 38, 0.5);
}

.card-qty-minus:hover {
    background: rgba(220, 38, 38, 0.9);
}

/* + butonu yeşilimsi */
.card-qty-plus {
    background: rgba(34, 197, 94, 0.5);
}

.card-qty-plus:hover {
    background: rgba(34, 197, 94, 0.9);
}

/* Adet sayısı */
.card-qty-num {
    color: #fff;
    font-size: 0.95rem;
    font-weight: bold;
    min-width: 22px;
    text-align: center;
    line-height: 1;
    padding: 0 2px;
}

/* Mobil uyum — butonları biraz küçült */
@media (max-width: 480px) {
    .card-qty-btn {
        width: 26px;
        height: 26px;
        font-size: 1rem;
    }

    .card-qty-num {
        font-size: 0.85rem;
        min-width: 18px;
    }

    .card-qty-control {
        padding: 2px;
        gap: 2px;
    }
}

/* ============================================
   MODAL ADET KONTROLÜ
   ============================================ */
.modal-qty-control {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding: 6px 8px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 999px;
    border: 2px solid rgba(201, 169, 97, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.modal-qty-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.15s ease;
    -webkit-tap-highlight-color: transparent;
    font-family: inherit;
    color: #fff;
}

.modal-qty-btn:active {
    transform: scale(0.9);
}

/* − butonu kırmızı */
.modal-qty-minus {
    background: rgba(220, 38, 38, 0.7);
}

.modal-qty-minus:hover {
    background: rgba(220, 38, 38, 1);
    transform: scale(1.05);
}

/* + butonu yeşil */
.modal-qty-plus {
    background: rgba(34, 197, 94, 0.7);
}

.modal-qty-plus:hover {
    background: rgba(34, 197, 94, 1);
    transform: scale(1.05);
}

/* Adet sayısı */
.modal-qty-num {
    color: #fff;
    font-size: 1.4rem;
    font-weight: bold;
    min-width: 40px;
    text-align: center;
    line-height: 1;
}

/* Mobil uyum */
@media (max-width: 480px) {
    .modal-qty-btn {
        width: 42px;
        height: 42px;
        font-size: 1.3rem;
    }

    .modal-qty-num {
        font-size: 1.2rem;
        min-width: 32px;
    }

    .modal-qty-control {
        gap: 8px;
        margin-top: 20px;
    }
}

/* ============================================
   LOGO RESET TOAST
   ============================================ */
.logo-toast {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: rgba(34, 197, 94, 0.95);
    color: #fff;
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 99999;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: none;
    max-width: 90vw;
}

.logo-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.logo-toast i {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.logo-toast span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Logo tıklanabilirlik işareti */
.giotto-logo {
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.giotto-logo:active {
    transform: scale(0.92);
    opacity: 0.85;
}

/* ============================================
   BİLGİ BUTONU (Sol Üst)
   ============================================ */
.header-info-btn {
    position: absolute;
    top: 12px;
    left: 16px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    -webkit-tap-highlight-color: transparent;
    padding: 0;
    font-family: inherit;
}

.header-info-btn:hover {
    color: #000;
    background: #c9a961;
    transform: scale(1.1);
    border-color: #c9a961;
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.5);
}

.header-info-btn:active {
    transform: scale(0.92);
}

.header-info-btn i {
    pointer-events: none;
    line-height: 1;
}

/* ============================================
   İLETİŞİM POPUP
   ============================================ */
.info-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.info-popup.visible {
    display: flex;
}

.info-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.info-popup-content {
    position: relative;
    background: var(--cat-color-deep, #1A2739);
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    animation: popupSlideUp 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

@keyframes popupSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.info-popup-content::-webkit-scrollbar {
    width: 4px;
}

.info-popup-content::-webkit-scrollbar-thumb {
    background: rgba(201, 169, 97, 0.4);
    border-radius: 2px;
}

/* Başlık */
.info-popup-header {
    position: relative;
    padding: 24px 20px 20px;
    text-align: center;
    background: var(--cat-color-deep, #1A2739);   /* ← Tema rengi */
    border-radius: 20px 20px 0 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.info-popup-logo {
    height: 56px;
    width: auto;
    max-width: 240px;
    /*filter: brightness(0) invert(1);*/
    margin: 0 auto;
    display: block;
}

.info-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.85);   /* ← Kırmızı */
    color: #fff;
    border: none;
    font-size: 18px;                        /* ← Küçültüldü */
    font-weight: bold;
    ...
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
}

.info-popup-close:hover {
    background: rgba(239, 68, 68, 1);
    transform: scale(1.1);
}

.info-popup-close:active {
    transform: scale(0.9);
}

/* Gövde */
.info-popup-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Bilgi satırı */
/* Bilgi satırı (basit, tıklanamaz) */
.info-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--cat-color-lighter, #23344C);   /* ← Tema kart rengi */
    border-radius: 12px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.info-item-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #c9a961;  
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.info-item-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.info-item-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.info-item-value {
    font-size: 0.92rem;
    color: #fff;
    font-weight: 500;
    word-break: break-word;
}


/* Alt bilgi */
.info-popup-footer {
    padding: 16px 20px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--cat-color-darker, #141E2C);   /* ← Daha koyu */
}

.info-popup-footer p {
    margin: 0;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
}

/* Mobil uyum */
@media (max-width: 400px) {
    .header-info-btn {
        top: 10px;
        left: 12px;
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .info-popup-content {
        max-width: 100%;
        border-radius: 16px;
    }

    .info-popup-header {
        padding: 20px 16px 16px;
    }

    .info-popup-logo {
        height: 36px;
    }

    .info-popup-body {
        padding: 12px;
    }

    .info-item {
        padding: 12px 14px;
        gap: 12px;
    }

    .info-item-icon {
        width: 38px;
        height: 38px;
        font-size: 1.05rem;
    }

    .info-item-value {
        font-size: 0.85rem;
    }
}

/* ============================================
   REKLAM POPUP — YENİ TASARIM
   ============================================ */
.promo-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99998;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.promo-popup.visible {
    display: flex;
}

.promo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: promoFade 0.3s ease;
}

@keyframes promoFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 🎯 Ana Kart */
.promo-content {
    position: relative;
    background: #1A2739;                   /* Tema rengi */
    border-radius: 20px;
    width: 100%;
    max-width: 380px;
    max-height: 88vh;
    overflow: hidden;
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(201, 169, 97, 0.15);  /* Altın çerçeve */
    animation: promoSlide 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
}

@keyframes promoSlide {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.92);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 🎯 Kapatma Butonu — Sağ üst köşede, resmin üstünde */
.promo-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.9);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 26px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s;
    font-family: inherit;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.promo-close:hover {
    background: rgba(239, 68, 68, 1);
    transform: scale(1.15) rotate(90deg);
}

.promo-close:active {
    transform: scale(0.95) rotate(90deg);
}

/* 🎯 Resim Alanı — TAM OTURUR, beyaz boşluk yok */
.promo-image {
    width: 100%;
    position: relative;
    flex: 1;
    min-height: 0;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;                     /* ← cover: tam doldurur */
    object-position: center;
    display: block;
}

/* Mobil uyum */
@media (max-width: 400px) {
    .promo-content {
        max-width: 100%;
        border-radius: 16px;
        max-height: 92vh;
    }

    .promo-close {
        width: 32px;
        height: 32px;
        font-size: 18px;
        top: 10px;
        right: 10px;
    }
}