/* ======================================== */
/* 1. GENEL AYARLAR VE KAPSAYICI STİLLERİ */
/* ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', Arial, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #2c3e50;
    line-height: 1.6;
}

.ys-kapsayici {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    background-color: white;
    min-height: 100vh;
}

/* ======================================== */
/* 2. HEADER VE SIDEBAR STİLLERİ - GÜNCELLENDİ */
/* ======================================== */
.ys-alt-header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 6px;
    background-color: white;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 100;
    gap: 6px;
}

.ys-logo-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
    /* Flexbox overflow için */
}

.ys-logo {
    max-height: 60px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.ys-search-container {
    position: relative;
}

.ys-search-toggle {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 6px;
    transition: 0.2s;
}

.ys-search-toggle:hover {
    background-color: #f8f9fa;
    color: #2c3e50;
}

.ys-search-dropdown {
    display: none;
    position: absolute;
    top: 70%;
    right: 0;
    margin-top: 10px;
    background: white;
    border-radius: 8px;
    min-width: 300px;
    z-index: 200;
    overflow: hidden;
}

.ys-search-input-wrapper {
    display: flex;
    padding: 10px;
    border-bottom: 1px solid #e9ecef;
    gap: 5px;
}

.ys-search-input-wrapper input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.ys-search-btn {
    padding: 10px 20px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

.ys-search-btn:hover {
    background: #5568d3;
}

.ys-search-results {
    max-height: 400px;
    overflow-y: auto;
}

.ys-search-result-item {
    display: flex;
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.2s;
    gap: 12px;
}

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

.ys-search-result-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.ys-search-result-info {
    flex: 1;
}

.ys-search-result-info h4 {
    margin: 0 0 5px 0;
    font-size: 14px;
    color: #333;
}

.ys-search-result-info p {
    margin: 0 0 5px 0;
    font-size: 12px;
    color: #666;
}

.ys-search-price {
    font-size: 16px;
    font-weight: bold;
    color: #e74c3c;
}

.ys-search-no-results {
    padding: 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

.ys-nav-button {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: #000000;
    padding: 6px 8px;
    border-radius: 6px;
    transition: 0.2s;
}

.ys-nav-button:hover {
    background-color: #f8f9fa;
    color: #2c3e50;
}

.ys-sidebar-menu {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 200;
    top: 0;
    left: 0;
    background-color: #ffffff;
    overflow-x: hidden;
    transition: 0.3s;
}

.ys-sidebar-header {
    padding: 18px 15px 12px;
    border-bottom: 1px solid #e9ecef;
    background-color: #ffffff;
}

.ys-menu-baslik {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    letter-spacing: 0.3px;
}

.ys-sidebar-link {
    padding: 12px 15px;
    text-decoration: none;
    font-size: 14px;
    color: #495057;
    display: block;
    transition: 0.2s;
    border-bottom: 1px solid #f1f3f4;
    font-weight: 400;
}

.ys-sidebar-link:hover {
    background-color: #f8f9fa;
    color: #2c3e50;
    padding-left: 18px;
}

.ys-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: #6c757d;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.ys-sidebar-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.ys-sidebar-footer a {
    color: #6c757d;
    text-decoration: none;
    font-size: 14px;
}

/* ======================================== */
/* 3. BANNER ALANI - GÜNCELLENDİ */
/* ======================================== */
.ys-banner-container {
    position: relative;
    height: 250px;
    border-radius: 10px;
    padding: 25px 20px;
    margin: 15px 10px;
    text-align: center;
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.ys-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

.ys-banner-content {
    position: relative;
    z-index: 2;
}


.ys-banner-content h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.ys-banner-content p {
    font-size: 0.9rem;
    color: white;
    font-weight: 400;
}

/* ======================================== */
/* 4. HİKAYE STİLLERİ - GÜNCELLENDİ */
/* ======================================== */
.container {
    max-width: 100%;
    margin: 10px 10px 10px 10px;
}

.stories-container {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 5px 8px;
    margin-bottom: 0px;
    scrollbar-width: thin;
}

.stories-container::-webkit-scrollbar {
    height: 6px;
}

.stories-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.stories-container::-webkit-scrollbar-thumb {
    background: #c8ccd1;
    border-radius: 10px;
}

/* HİKAYE STİLLERİ */

.story {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    min-width: 70px;
}

.story-avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    padding: 2.5px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
    transition: transform 0.3s ease;
}

.story:hover .story-avatar {
    transform: scale(1.08);
}

.story-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
}

.story-username {
    font-size: 11px;
    color: #666;
    text-align: center;
    max-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 400;
}

.story-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    flex-direction: column;
    z-index: 2000;
}

.story-progress {
    display: flex;
    gap: 5px;
    margin: 15px;
}

.progress-bar {
    height: 3px;
    background-color: rgba(255, 255, 255, 0.3);
    flex-grow: 1;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: white;
    width: 0%;
    transition: width 0.1s linear;
}

.story-header {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: white;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
}

.username {
    font-weight: 500;
    font-size: 16px;
}

.time {
    font-size: 12px;
    opacity: 0.8;
    margin-top: 2px;
}

.story-content {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.story-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    display: none;
}

.story-image.active {
    display: block;
}

.story-nav {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    pointer-events: none;
    /* Tıklamaların altındaki elementlere geçmesini sağla */
}

.nav-btn {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    padding: 20px 10px;
    border-radius: 50%;
    pointer-events: auto;
    /* Sadece butonlar tıklanabilir olsun */
}

.nav-btn:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.1);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
    z-index: 2001;
}

.close-btn:hover {
    opacity: 1;
}

/* ======================================== */
/* 5. MENÜ KARTLARI - GÜNCELLENDİ */
/* ======================================== */
.ys-card-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    margin: 20px 10px;
}

.ys-card-link {
    text-decoration: none;
    color: inherit;
}

.ys-menu-card {
    height: 250px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    /* background: #ffffff; BU SATIRI SİLİN */
    border: 1px solid #e9ecef;
}


.ys-menu-card:hover {
    transform: translateY(-5px);
}

.ys-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 50%);
    z-index: 1;
}

.ys-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 18px;
    z-index: 2;
}


.ys-card-content h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    /* Beyaz yapın */
    margin-bottom: 6px;
}

.ys-card-content p {
    font-size: 0.85rem;
    color: #e0e0e0;
    /* Açık gri yapın */
    line-height: 1.4;
}

/* ======================================== */
/* 6. İKİ SÜTUNLU ALT BÖLÜM - GÜNCELLENDİ */
/* ======================================== */
.ys-two-column-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 20px 10px;
    padding: 15px 0;
    border-top: 1px solid #e9ecef;
}

.ys-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ys-feedback-link {
    padding: 12px 15px;
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    text-decoration: none;
    color: #495057;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s;
}

.ys-feedback-link:hover {
    background-color: #f8f9fa;
    border-color: #ced4da;
    color: #2c3e50;
}

.ys-update-label {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 4px;
}

.ys-update-date {
    font-size: 14px;
    color: #2c3e50;
    font-weight: 600;
}

/* ======================================== */
/* 7. DİĞER SAYFALARIN CSS'LERİ - KORUNDU */
/* ======================================== */

/* İÇECEKLER MENÜSÜ SAYFASI STİLLERİ */
.ys-header-sayfa h1 {
    font-size: 1.5rem;
    text-align: center;
    padding: 15px 0;
    margin: 0;
    color: #2c3e50;
    border-bottom: 1px solid #eee;
    background-color: white;
}

.ys-kategori-cards {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0px 10px;
    gap: 10px;
    background-color: white;
    border-bottom: 1px solid #eee;
    scrollbar-width: none;
}

.ys-kategori-cards::-webkit-scrollbar {
    display: none;
}

.ys-urun-card {
    flex-shrink: 0;
    width: 150px;
    background-color: white;
    border-radius: 8px;
    color: inherit;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}



.ys-urun-card-img-wrapper {
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.ys-urun-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ys-urun-card-content {
    padding: 8px 10px;
}

.ys-urun-card-content h3 {
    font-size: 0.95rem;
    margin: 0 0 4px 0;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ys-menu-listeleri {
    padding: 10px;
    background-color: #ffffff;
}

.ys-urun-listesi h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    border-bottom: 1px solid #ccc;
    padding-bottom: 4px;
    margin-top: 0;
    margin-bottom: 12px;
    text-align: center;
}

/* DİNAMİK GÖRSEL AKORDEON STİLLERİ */
.ys-urun-accordion-item {
    margin-bottom: 10px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.ys-urun-item-header {
    display: flex;
    padding: 12px;
    cursor: pointer;
    background-color: #f7f7f7;
    align-items: center;
    gap: 12px;
    transition: padding 0.4s ease;
}

.ys-urun-header-metin {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s ease, opacity 0.3s;
}

.ys-urun-img-container {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.ys-dinamik-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.4s ease;
}

.ys-urun-adi-ve-icon {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.ys-urun-adi {
    font-size: 1rem;
    font-weight: 600;
    color: rgb(17 24 39/var(--tw-text-opacity, 1));
    line-height: 1.2;
}

.ys-dropdown-icon {
    display: inline-flex;
    align-items: center;
    transition: transform 0.2s ease;
    opacity: 0.7;
    cursor: pointer;
}

.ys-dropdown-icon svg {
    width: 40px;
    height: 10px;
}

.ys-dropdown-icon:hover {
    opacity: 0.9;
}

.ys-dropdown-icon.open {
    transform: rotate(180deg);

}

.ys-urun-kisa-aciklama {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin: 4px 0 8px 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ys-urun-fiyat-list {
    font-size: .85rem;
    font-weight: bold;
    color: rgb(31 41 55/var(--tw-text-opacity, 1));
    margin-top: 4px;
}

/* Link alt çizgilerini kaldır - ürün kartlarında */
/* ÖNEMLI: Kartın kendisi bir link olabilir */
a.ys-urun-card,
a.ys-urun-card:hover,
a.ys-urun-card:visited,
a.ys-urun-card:active,
a.ys-urun-card p,
a.ys-urun-card span,
a.ys-urun-card h3 {
    text-decoration: none !important;
    border-bottom: none !important;
}

.ys-urun-card-content a,
.ys-urun-adi a,
.ys-urun-kisa-aciklama a,
.ys-urun-fiyat-list a,
.ys-urun-header-metin a,
.ys-urun-accordion-item a {
    text-decoration: none !important;
    border-bottom: none !important;
    color: inherit;
}

/* Hover durumunda da alt çizgi olmasın */
.ys-urun-card-content a:hover,
.ys-urun-adi a:hover,
.ys-urun-kisa-aciklama a:hover,
.ys-urun-fiyat-list a:hover,
.ys-urun-header-metin a:hover,
.ys-urun-accordion-item a:hover {
    text-decoration: none !important;
    border-bottom: none !important;
}

.ys-urun-accordion-item.active {
    border-bottom: none;
}

.ys-urun-accordion-item.active .ys-urun-item-header {
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
    padding: 0;
}

.ys-urun-accordion-item.active .ys-urun-img-container {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    aspect-ratio: 405 / 310;
    max-height: 310px;
    height: auto;
    border-radius: 10px 10px 0 0;
    z-index: 2;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ys-urun-accordion-item.active .ys-dinamik-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ys-urun-accordion-item.active .ys-urun-header-metin {
    padding: 14px 14px 10px 14px;
    transform: none;
    opacity: 1;
    width: 100%;
}

.ys-urun-alt-bilgi-satiri {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.ys-urun-accordion-item.active .ys-urun-alt-bilgi-satiri {
    width: 100%;
    margin-top: 8px;
}

.ys-urun-fiyat-list {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
    margin-top: 0;
    line-height: 1.2;
}

.ys-urun-mini-etiketler {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* Kurumsal Mini Rozetler (Liste Görünümü - Büyütülmüş SVG, Sola Hizalı, Soldan Sağa) */
.ys-mini-etiket {
    display: inline-flex;
    align-items: center;
    flex-direction: row;
    gap: 6px;
    font-size: 0.76rem;
    font-weight: 600;
    padding: 3.5px 10px;
    border-radius: 20px;
    line-height: 1.2;
    background: #f8fafc;
    color: #334155;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.ys-badge-svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.2;
    flex-shrink: 0;
}

.ys-etiket-kalori {
    background-color: #fff7ed;
    color: #c2410c;
    border-color: #fed7aa;
}
.ys-etiket-kalori .ys-badge-svg {
    stroke: #ea580c;
}

.ys-etiket-gram {
    background-color: #f0fdf4;
    color: #166534;
    border-color: #bbf7d0;
}
.ys-etiket-gram .ys-badge-svg {
    stroke: #16a34a;
}

.ys-etiket-birim {
    background-color: #f0f9ff;
    color: #0369a1;
    border-color: #bae6fd;
}
.ys-etiket-birim .ys-badge-svg {
    stroke: #0284c7;
}

.ys-urun-accordion-item.active .ys-urun-fiyat-list {
    margin-top: 0;
    font-size: 1.05rem;
}

.ys-urun-detay-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background-color: #fcfcfc;
}

.ys-urun-accordion-item.active .ys-urun-detay-content {
    max-height: 1000px;
}

.ys-detay-ek-aciklama-wrapper {
    padding: 12px 14px 16px 14px;
    border-top: 1px solid #f1f5f9;
}

.ys-detay-tam-aciklama {
    font-size: 0.85rem;
    color: #4b5563;
    line-height: 1.5;
    margin-bottom: 10px;
}

/* Ürün İncelendiği Yer - Minimalist ve Yatay Nizam */
.ys-besin-degerleri-paneli {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.ys-besin-karti {
    flex: 1 1 auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    display: inline-flex;
    flex-direction: row; /* İKON SOLDA, YAZILAR SAĞINDA */
    align-items: center;
    gap: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.ys-besin-ikon-kutusu {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ys-ikon-kalori {
    background: #fff7ed;
    color: #ea580c;
}
.ys-ikon-kalori svg {
    stroke: #ea580c;
}

.ys-ikon-gram {
    background: #f0fdf4;
    color: #16a34a;
}
.ys-ikon-gram svg {
    stroke: #16a34a;
}

.ys-ikon-birim {
    background: #f0f9ff;
    color: #0284c7;
}
.ys-ikon-birim svg {
    stroke: #0284c7;
}

/* Büyütülmüş Panel SVG'leri */
.ys-panel-svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.2;
}

/* YAZILAR SOLDAN SAĞA, ÜST ÜSTE DEĞİL! */
.ys-besin-icerik {
    display: inline-flex;
    flex-direction: row; /* YAN YANA / SOLDAN SAĞA */
    align-items: center;
    gap: 6px;
    min-width: 0;
    white-space: nowrap;
}

.ys-besin-baslik {
    font-size: 0.76rem;
    font-weight: 500;
    color: #64748b;
    line-height: 1;
}

.ys-besin-deger {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1;
}

.ys-urun-accordion-item.active .ys-dropdown-icon {
    transform: rotate(180deg);
}

/* ======================================== */
/* ÜRÜN İÇERİĞİ / ALERJENLER (AÇILIR ALAN) */
/* ======================================== */
.ys-urun-icerik-paneli {
    margin-top: 10px;
    padding-top: 10px;
    padding-bottom: 8px;
    border-top: 1px solid #f1f5f9;
}

.ys-icerik-baslik {
    display: block;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin-bottom: 8px;
}

.ys-icerik-etiketleri {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding-bottom: 4px;
}

.ys-icerik-etiket {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* 15 Öğe İçin Belirgin & Canlı Renkler */
.ys-tag-gluten       { background-color: #ef4444; } /* Kırmızı (Gluten) */
.ys-tag-sut,
.ys-tag-dairy        { background-color: #3b82f6; } /* Mavi (Dairy / Süt) */
.ys-tag-yumurta,
.ys-tag-eggs         { background-color: #fbbf24; } /* Hardal/Amber (Eggs / Yumurta) */
.ys-tag-vegan        { background-color: #22c55e; } /* Canlı Yeşil */
.ys-tag-kabuklular   { background-color: #06b6d4; } /* Camgöbeği */
.ys-tag-balik        { background-color: #38bdf8; } /* Açık Deniz Mavisi */
.ys-tag-yerfistigi   { background-color: #f97316; } /* Fıstık / Sıcak Turuncu */
.ys-tag-soya         { background-color: #a3e635; } /* Fıstık Yeşili */
.ys-tag-sertkabuklu  { background-color: #d97706; } /* Kehribar / Taba */
.ys-tag-kereviz      { background-color: #34d399; } /* Zümrüt Yeşili */
.ys-tag-hardal       { background-color: #facc15; } /* Altın Hardal */
.ys-tag-susam        { background-color: #fb923c; } /* Tatlı Turuncu */
.ys-tag-sulfitler    { background-color: #c084fc; } /* Menekşe / Açık Mor */
.ys-tag-acibakla     { background-color: #f472b6; } /* Gül Pembe */
.ys-tag-yumusakcalar { background-color: #2dd4bf; } /* Turkuaz */


/* ======================================== */
/* 8. RESPONSIVE STİLLER */
/* ======================================== */
@media (max-width: 768px) {
    .ys-two-column-section {
        grid-template-columns: 1fr 1fr;
        /* Mobilde de yan yana */
        gap: 15px;
        display: flex;
    }

    .ys-banner-content h1 {
        font-size: 1.4rem;
    }

    .ys-card-section {
        grid-template-columns: 1fr;
    }

    .story-avatar {
        width: 60px;
        height: 60px;
    }

    .ys-menu-card {
        height: 220px;
    }

    .ys-card-content {
        padding: 15px;
    }

    .ys-card-content h2 {
        font-size: 1.1rem;
    }

    .ys-logo {
        max-height: 55px;
        max-width: 90px;
    }

    .ys-search-dropdown {
        min-width: 250px;

    }

    /* Çok küçük ekranlarda üst üste */
    @media (max-width: 480px) {
        .ys-two-column-section {
            grid-template-columns: 1fr;
            gap: 15px;
            display: flex;
        }

        .ys-search-dropdown {
            min-width: 200px;

        }

        .ys-logo {
            max-height: 50px;
            max-width: 70px;
        }
    }
}


/* video banner */
/* Video Banner Container */
.video-banner-container {
    position: relative;
    width: 100%;
    height: 100vh;
    /* Ekran yüksekliği kadar */
    overflow: hidden;
    background-color: #000;
    /* Video yüklenene kadar siyah arkaplan */
}

/* Video elementi */
.video-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ekranı tam kaplamak için */
    object-position: center;
}

/* Mobil cihazlarda ekranı tam kaplaması için */
@media (max-width: 768px) {
    .video-banner-container {
        height: 100vh;
        height: calc(var(--vh, 1vh) * 100);
        /* Mobil tarayıcılar için düzeltme */
    }
}

/* Video kontrollerini gizleme */
.video-banner::-webkit-media-controls {
    display: none !important;
}

.video-banner::-webkit-media-controls-enclosure {
    display: none !important;
}

.video-banner::-webkit-media-controls-panel {
    display: none !important;
}

.video-banner::-webkit-media-controls-play-button {
    display: none !important;
}

/* Menü butonu - sadece bu kaldı */
.menu-button-container {
    position: absolute;
    bottom: 150px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 3;
}

.menu-button {
    display: inline-block;
    padding: 12px 28px;
    background-color: rgba(255, 255, 255, 0.85);
    color: #333;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
}

.menu-button:hover {
    background-color: white;
    transform: translateY(-3px);
}

/* Video oynamazsa gösterilecek yedek görsel */
.video-fallback {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}

/* video banner */


/* banner 8li */
.banner-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 96%;
    max-width: 1200px;
    margin: 0 auto;
}

.banner-row {
    display: flex;
    gap: 12px;
    width: 100%;
}

.banner {
    border-radius: 8px;
    padding: 0;
    /* Padding'i sıfırladım, içerikte vereceğim */
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Üstten hizalama */
    align-items: flex-start;
    /* Soldan hizalama */
    min-height: 200px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.banner:hover {
    transform: translateY(-3px);
}

.banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    padding: 8px;
    /* Sol ve üstten 8px boşluk */
    text-align: left;
    /* Sola hizalı */
    width: 100%;
    /* Tüm genişliği kaplasın */
}

.banner-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    /* Alt yazı ile arasında 4px */
    line-height: 1.2;
}

.banner-subtitle {
    font-size: 11px;
    font-weight: 400;
    opacity: 0.95;
    line-height: 1.3;
    max-width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ÇOK KÜÇÜK EKRANLAR İÇİN */
@media (max-width: 480px) {
    .banner-row {
        gap: 10px;
    }

    .banner {
        min-height: 200px;
    }

    .banner-content {
        padding: 8px;
        /* Küçük ekranda biraz daha az boşluk */
    }

    .banner-title {
        font-size: 13px;
        margin-bottom: 3px;
    }

    .banner-subtitle {
        font-size: 10px;
        -webkit-line-clamp: 1;
    }
}

/* Görselli banner'lar için örnek arkaplanlar */
.banner-image-1 {
    background-image: url('https://pastell.qrmenum.app/img/yuklenen/kucuk-frozen-1525.jpg');
}

.banner-image-2 {
    background-image: url('https://kahvegibikahve.com/wp-content/uploads/2020/11/2-Espresso_nun-Yap%C4%B1s%C4%B1-espresso-ve-filtre-aras%C4%B1ndaki-fark-e1606731934971.jpg');
}

.banner-image-3 {
    background-image: url('https://cdn.shopify.com/s/files/1/0569/3987/2340/files/white_chocolate_mocha_evde_nasil_yapilir.jpg?v=1743595781');
}

.banner-image-4 {
    background-image: url('https://allshecooks.com/wp-content/uploads/2022/03/starbucks-white-chocolate-mocha-b-14-of-14.jpg');
}

.banner-image-5 {
    background-image: url('https://i2.wp.com/bakingmischief.com/wp-content/uploads/2019/05/iced-white-chocolate-mocha-photo-684x1024.jpg');
}

.banner-image-6 {
    background-image: url('https://api.mircate.com/5p1hp1d2t/CALL/PIMAPI/getImage/1j19r3y78mj?filename=1j19r3y78mj-167524fa4573421aab8316fd88a7b865.png');
}

.banner-image-7 {
    background-image: url('https://tutarkibu.com/wp-content/uploads/2016/12/limonlu-cheesecake-nasil-yapilir.jpg');
}

.banner-image-8 {
    background-image: url('https://i.nefisyemektarifleri.com/2023/09/22/starbucks-yiyecek-kalorileri-tatli-tuzlu.jpg');
}

/* banner 8li */

/* ================================================= */
/* ALT KATEGORİ STICKY YATAY TAB & SCROLLSPY STİLLERİ */
/* ================================================= */
.ys-subcat-sticky-wrapper {
    position: -webkit-sticky;
    position: sticky;
    top: var(--header-height, 60px);
    z-index: 95;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    padding: 10px 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    transition: top 0.2s ease;
}

.ys-subcat-scroll-track {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap !important;
    flex-wrap: nowrap !important;
    gap: 8px;
    overflow-x: auto !important;
    overflow-y: hidden;
    padding: 4px 14px;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.ys-subcat-scroll-track::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.ys-subcat-pill {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    display: -webkit-inline-flex !important;
    display: inline-flex !important;
    -webkit-flex-shrink: 0 !important;
    flex-shrink: 0 !important;
    flex: 0 0 auto !important;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #2563eb !important;
    background-color: #eff6ff !important;
    border: 1.5px solid transparent !important;
    border-radius: 7px;
    cursor: pointer;
    white-space: nowrap !important;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
}

.ys-subcat-pill:hover {
    background-color: #e0f2fe !important;
}

.ys-subcat-pill.active {
    background-color: #ffffff !important;
    border-color: #2563eb !important;
    color: #2563eb !important;
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.15) !important;
}

.ys-subcat-section {
    scroll-margin-top: calc(var(--header-height, 60px) + 54px + 10px);
    margin-bottom: 30px;
}

.ys-subcat-heading {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111827;
    margin: 18px 0 14px 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ys-empty-subcat-msg {
    text-align: center;
    padding: 25px 15px;
    color: #94a3b8;
    font-size: 0.9rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px dashed #cbd5e1;
    margin-bottom: 10px;
}