@media (max-width: 768px){
  .menu-modal-badges{
    justify-content: center;
  }
    #menuGrid{
    grid-template-columns: 1fr!important;
  }
  }
  
  /* Header Navigation Fix */
  header nav a {
    color: var(--text-light) !important;
    text-decoration: none;
  }

  header nav a.community-btn {
    color: #DDB945 !important;
  }

  
  /* Menü sayfası özel stilleri */
  .menu-hero {
    padding: 5rem 0;
    background: var(--menu-hero-bg, linear-gradient(rgba(34, 34, 34, 0.3), rgba(34, 34, 34, 0.5)));
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 0;
    display: flex;
    height: 350px;
    text-align: bottom;
    position: relative;
    overflow: hidden;
    flex-wrap: wrap;
    align-content: flex-end;
  }
  
  .menu-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/pattern.png');
    opacity: 0.05;
    pointer-events: none;
  }
  
  .menu-hero h1 {
    font-size: 3.2rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
  }
  
  .menu-hero p {
     max-width: 800px;
  margin: 0 auto 0;
  font-family: 'Lora', serif;
  font-size: 1.15rem;
  line-height: 1.7;
  font-style: italic;
  font-weight: 600;
  
  }
  
  /* Top Controls Section - Full Width Container */
  .menu-controls {
    background-color: #FAFAFA;
    padding: 1.5rem 0 0;
    
    position: relative;
    z-index: 10;
  }
  
  .menu-controls-inner {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 0rem;
    align-items: center;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 1rem;
  }
  .mobile-subcategory-dropdown{
    display: none!important;
  }

  /* Blog Buttons - Left Column */
  .blog-buttons-container {
    display: flex;
    flex-direction: row;
    gap: 0.6rem;
    justify-self: start;
  }
  
  .blog-btn {
    color: #BFB9B9;
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 2px;
    cursor: pointer;
    background: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;

    font-family: 'League Spartan', sans-serif;
    white-space: nowrap;
    text-align: left;
  }
  
  .blog-btn:hover,
  .blog-btn:focus {
    background: linear-gradient(135deg, #242622 0%, #242622 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px #BFB9B9;
    color: white;
    border: none;
  }
  
  .blog-btn i {
    font-size: 0.8em;
  }
  
  /* Category Filters Container - 4 Items Side by Side */
  .category-filters-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    gap: 1rem;
  }
  
  .category-filters-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 600px;
  }
  
  .category-filters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 600px;
  }
  
  .category-filter {
    background-color: #BFB9B9;
    color: var(--text-dark);
    border: 2px solid #eee;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    font-size: 0.75rem;
    white-space: nowrap;
    justify-content: center;
    text-align: center;
    height: 34px;
    padding: 0.5rem;
    min-width: 100px;
  }
  
  .category-filter i {
    font-size: 1.1em;
    margin-bottom: 0.2rem;
  }
  
  .category-filter > span:first-of-type {
    font-size: 11px;
    line-height: 1;

    text-overflow: ellipsis;
    max-width: 100%;
    display: block;
  }
  
  .category-filter.active {
    background-color: #242622;
    color: white;
    border-color: #242622;
    box-shadow: 0 5px 15px rgba(78, 128, 32, 0.3);
  }
  

  
  .category-count {
    background-color: rgba(0,0,0,0.1);
    color: inherit;
    padding: 0.2rem 0.4rem;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: auto;
    line-height: 1;
  }
  
  .category-filter.active .category-count {
    background-color: rgba(255,255,255,0.2);
  }
  
  /* Category Navigation Arrows */
  .category-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #ddd;
    background: white;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    flex-shrink: 0;
  }
  
  .category-nav-btn:hover:not(:disabled),
  .category-nav-btn:focus:not(:disabled) {
    background: #242622;
    color: white;
    border-color: #242622;
    transform: scale(1.05);

  }
  
  .category-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
  }
  
  .category-nav-btn:disabled:hover {
    background: white;
    color: var(--text-dark);
    border-color: #ddd;
  }
  
  /* Search Box - Right Column */
  .search-box {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 25px;
    padding: 0.5rem 1.2rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border: 2px solid #BFB9B9;
    transition: all 0.3s ease;
    min-width: 280px;
    height: 32px;
    justify-self: end;
  }
  
  .search-box:focus-within {
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    border-color: #242622;
  }
  
  .search-box input {
    border: none;
    background: transparent;
    padding: 0.4rem;
    width: 100%;
    font-family: 'League Spartan', sans-serif;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
  }
  
  .search-box input:focus {
    outline: none;
    box-shadow: none;
  }
  
  .search-box input::placeholder {
    color: var(--neutral-dark);
    opacity: 0.7;
  }
  
  .search-box i {
    color: var(--neutral-dark);
    font-size: 1.1em;
  }
  
  /* Menu Content */
  .menu-content {
    padding: 1rem;
    background-color: var(--bg-light);
  }
  
  /* Menu Grid - 2 Products Per Row */
  .menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
  }
  
  /* Menu Item Card - Clickable Card */
  .menu-item {
    background: white;
    border-radius: 2px;
    border: 0.5px solid #DFDCDC;
    transition: all 0.4s ease;
    display: flex;
    align-items: stretch;
    position: relative;
    overflow: hidden;

    cursor: pointer;
  }
  
  .menu-item:hover {
    transform: translateY(-3px);
  }
  
  /* Health Index Badge */
  .menu-item-health-index {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    font-family: 'League Spartan', sans-serif;

    color: black;
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 300;
    z-index: 2;

    letter-spacing: 0.5px;
  }

  .desktop-line{
    display: block;
  }
  .mobile-line{
    display: none;
  }
  
  /* Item Content */
  .menu-item-content {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    position: relative;
  }
  
  .menu-item-title {
    font-size: 1.2rem;
    color: #000;
    margin-bottom: 0.8rem;
    font-weight:550;
    line-height: 1.3;
    width: 80%;
    padding-right: 4rem;
  }
  
  .menu-item-description {
    color: #000;
    font-size: 14px;
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 0;
  }
  
  /* Remove Button Styles */
  .menu-item-footer,
  .info-btn {
    display: none;
  }
  
  /* Filter Status */
  .filter-status {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var (--neutral-dark);
    font-size: 0.95rem;
  }
  
  .filter-status span {
    font-weight: 600;
    color: var (--dark-green);
  }
/* Welcome Modal Styles - Tasarıma Uygun Güncelleme */
.welcome-modal {
display: none;
position: fixed;
align-items: center;
z-index: 10001;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background: rgba(0,0,0,0.6);
backdrop-filter: blur(4px);
animation: welcomeBackdropFadeIn 0.5s ease-out;
}

@keyframes welcomeBackdropFadeIn {
from { 
  opacity: 0; 
}
to { 
  opacity: 1; 
}
}

.welcome-modal-content {
background: #fff;
margin: 3% auto;
padding: 0;
border-radius: 2px;
width: 600px;
position: relative;
box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
font-family: 'League Spartan', sans-serif;
animation: welcomeModalSlideIn 0.6s ease-out;
height: 500px;
overflow-y: auto;
overflow: hidden;
}
.welcome-content-text h3{
font-weight: 600;
}
.welcome-content-text p{
font-weight: 400;
}
@keyframes welcomeModalSlideIn {
from { 
  transform: translateY(-80px) scale(0.9); 
  opacity: 0; 
}
to { 
  transform: translateY(0) scale(1); 
  opacity: 1; 
}
}

/* Üst Çizgi Resmi */
.welcome-top-decoration {
width: 100%;
height: auto;
display: block;
margin: 0;
padding: 0;
border-radius: 20px 20px 0 0;
}

.welcome-modal-header {
background: transparent;
color: #333;

position: relative;
text-align: center;
}

.welcome-modal-title {
font-size: 2rem;
font-weight: 700;
margin: 0 0 0.5rem 0;
line-height: 1.2;
color: #333;
font-family: 'Lora', serif;
font-style: italic;
}

.welcome-modal-subtitle {
font-size: 1rem;
opacity: 0.7;
margin: 0;
font-weight: 400;
color: #666;
}

.close-welcome-modal {
position: absolute;
right: 1.5rem;
top: 1rem;
font-size: 1.8rem;
cursor: pointer;
color: #666;
transition: all 0.3s ease;
width: 40px;
height: 40px;
display: none;
align-items: center;
justify-content: center;
border-radius: 50%;

z-index: 3;
}



.welcome-modal-body {

line-height: 1.6;
color: #333;
background: #fff;
}

.welcome-main-content {
text-align: center;
  padding: 1rem 0;
  width: 600px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.welcome-main-content svg{
width: 85%;
position: absolute;
bottom: 10px;
}

.welcome-content-header-text{
font-size: 1.5rem;
color: #000000;
line-height: 1.6;
padding: 7rem 2.5rem 0.5rem 2.5rem;

text-align: center;
}

.welcome-content-text {
font-size: 1rem;
color: #000;
line-height: 1.6;
width: 70%;
padding: 4.2rem 2.5rem 4.5rem 2.5rem;
text-align: center;
}

.welcome-action-buttons {
display: flex;
gap: 1rem;
justify-content: center;
margin: 2rem 0 1rem 0;
padding-bottom: 1.5rem;
flex-wrap: wrap;
}

.welcome-btn {
background: none;
color: #BFB9B9;
border: none;
padding: 0.8rem 2rem;
border-radius: 25px;
cursor: pointer;
font-size: 1rem;
font-weight: 600;
transition: all 0.3s ease;
display: flex;
align-items: center;
gap: 0.5rem;
box-shadow: none;
font-family: 'League Spartan', sans-serif;
letter-spacing: 0.5px;
}



/* Alt Çizgi Resmi */
.welcome-bottom-decoration {
width: 100%;
height: auto;
display: block;
margin: 0;
padding: 0;
border-radius: 0 0 20px 20px;
}

.welcome-modal-body{
display: flex;
align-items: center;
}

/* Responsive Welcome Modal */
@media (max-width: 768px) {

.welcome-modal-content{
  height: 550px;
}
.close-welcome-modal {
  display: flex;
}
.menu-hero{
  height: 200px!important;
}
.welcome-modal-content {
  width: 95%;
  margin: 8% auto;
}


.welcome-modal-title {
  font-size: 1.6rem;
}

.welcome-modal-subtitle {
  font-size: 0.9rem;
}

.welcome-modal-body {
  height: 550px;
  padding: 0 1.5rem 1.5rem 1.5rem;

}

.welcome-content-text h3{
  font-size: 1.34rem;
font-weight: 300;
}


.welcome-action-buttons {
  flex-direction: column;
  align-items: center;
}

.welcome-btn {
  width: 100%;
  max-width: 280px;
  justify-content: center;
}

.close-welcome-modal {
  right: 1rem;
  top: 0.5rem;
}
}

@media (max-width: 480px) {
.welcome-modal-title {
  font-size: 1.4rem;
}

.welcome-content-text {
  font-size: 0.85rem;
}
}

   /* Blog Modal Styles */
   .blog-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(3px);
  }
  
  .blog-modal-content {
    background: #fff;
    margin: 3% auto;
    padding: 0;
    border-radius: 2px;
    width: 90%;
    max-width: 800px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    font-family: 'League Spartan', sans-serif;
    animation: blogModalFadeIn 0.4s ease-out;
    max-height: 90vh;
    overflow-y: auto;
  }
  
  @keyframes blogModalFadeIn {
    from { 
      transform: translateY(-50px) scale(0.95); 
      opacity: 0; 
    }
    to { 
      transform: translateY(0) scale(1); 
      opacity: 1; 
    }
  }
  
  .blog-modal-header {
    background: linear-gradient(135deg, #242622 0%,#242622 100%);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 2px;
    position: relative;
  }
  
  .blog-modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
  }
  
  .blog-modal-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0.5rem 0 0 0;
    font-weight: 400;
  }
  
  .close-blog-modal {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 1.8rem;
    cursor: pointer;
    color: #000;
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
  }
  
  .blog-modal-body {
    padding: 2rem;
    line-height: 1.7;
    color: #333;
  }
  
  .blog-modal-body h3 {
    color: var (--dark-green);
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem 0;
    font-weight: 600;
  }
  
  .blog-modal-body p {
    margin-bottom: 1.2rem;
    font-size: 1rem;
    text-align: justify;
  }
  
  .blog-modal-body ul {
    margin: 1rem 0;
    padding-left: 2rem;
  }
  
  .blog-modal-body li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
  }
  
  .blog-highlight {
    background: linear-gradient(120deg, rgba(232, 121, 40, 0.1) 0%, rgba(78, 128, 32, 0.1) 100%);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--gold);
    margin: 1.5rem 0;
    font-style: italic;
  }
  
  /* Responsive Blog Modal */
  @media (max-width: 768px) {
    .close-blog-modal{
      display: flex;
    }
    .blog-modal-content {
      width: 95%;
      margin: 5% auto;
    }
    
    .blog-modal-header {
      padding: 1.2rem 1.5rem;
    }
    
    .blog-modal-title {
      font-size: 1.5rem;
    }
    
    .blog-modal-subtitle {
      font-size: 0.9rem;
    }
    
    .blog-modal-body {
      padding: 1.5rem;
    }
    
    .blog-modal-body h3 {
      font-size: 1.2rem;
    }
    
    .blog-modal-body p,
    .blog-modal-body li {
      font-size: 0.95rem;
    }
    
    .blog-buttons-container {
      gap: 0.5rem;
    }
    
    .blog-btn {
      padding: 0.2rem 1rem;
      font-size: 1rem;
    }
    
    .blog-buttons-container {
      flex-direction: row;
      gap: 0.8rem;
    }

    .blog-btn{
      font-size: 1rem;
    }
    
    .blog-btn {
      
      max-width: 280px;
      justify-content: center;
    }
  }
  
  @media (max-width: 480px) {
    .blog-buttons-container {
      flex-direction: row;
      gap: 0.8rem;
    }

    .blog-btn{
      font-size: 1rem;
    }
    
    .blog-btn {
     
      max-width: 280px;
      justify-content: center;
    }
  }
  
  /* Modal Enhancements */
  .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    align-items: center;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    font-family: 'League Spartan', sans-serif;
  }
  
  .modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border: none;
    border-radius: 2px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 12px 40px rgba(34, 60, 80, 0.18);
    max-height: 80vh;
    overflow-y: auto;
  }
  
  .modal-header {
    background: linear-gradient(135deg, #242622 0%, #242622 100%);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 2px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .modal-title {
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0;
  }
  
  .close-modal {
    background: none;
    border: none;
    color: #000;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 100%;
    height: 30px;
    display: none;
    align-items: center;
    justify-content: end;
    border-radius: 50%;
    transition: all 0.3s ease;
  }


  #pageNumbers{
    display: flex;
  }
  
  .close-modal:hover {
    background: rgba(255,255,255,0.2);
  }
  
  .modal-body {
    padding: 2rem;
  }
  
  /* Pagination Enhancements */
  .pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3rem 0 2rem 0;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  .pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.8rem 1.2rem;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border: 1px solid #eee;
  }
  
  .pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: var(--neutral-dark);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
  }
  
  .pagination-btn:hover:not(:disabled) {
    background: #E87928;
    color: #fff;
    transform: translateY(-2px);
  }
  
  .pagination-btn.active {
    background: #E87928;
    color: white;
    box-shadow: 0 4px 10px rgba(78, 128, 32, 0.2);
  }
  
  .pagination-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
  }
  
  .pagination-nav {
    background: none;
    border: none;
    cursor: pointer;
    color: var (--text-dark);
  }
  
  .pagination-nav:hover:not(:disabled) {
    background: none;
    color: #E87928;
    border-color: none;
  }
  
  .pagination-nav:disabled {
    opacity: 0.3;
    background: none;
    color: var (--text-dark);
    border-color: #ddd;
  }
  
  /* Page Size Selector */
  .page-size-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-dark);
  }
  
  .page-size-selector label {
    font-weight: 500;
  }
  
  .page-size-selector select {
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: white;
    color: var (--text-dark);
    font-family: 'League Spartan', sans-serif;
    cursor: pointer;
  }
  
  .pagination-info {
    font-size: 0.9rem;
    color: var(--neutral-dark);
    font-weight: 500;
  }

  .subcategory-section{
    padding: 0!important;
  }
  
  .pagination-info span {
    color: var (--dark-green);
    font-weight: 700;
  }
  
  /* API Error Alert */
  .api-error {
    background-color: #fff2f2;
    border: 1px solid #ffcaca;
    color: #d93025;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
  }
  
  /* Mobile Category Controls */
  .mobile-category-dropdown,
  .mobile-category-slider {
    display: none;
  }
  
  /* Responsive Styles */
  @media (max-width: 1200px) {
    .menu-hero h1 {
      font-size: 2.8rem;
    }
    
    .menu-hero p {
      font-size: 1.05rem;
      max-width: 90%;
    }
    
    .menu-controls-inner {
      gap: 1.5rem;
      text-align: center;
    }
    
    .blog-buttons-container {
      flex-direction: row;
      justify-content: center;
      flex-wrap: wrap;
      gap: 0.5rem;
    }
    
    .category-filters-container {
      order: 2;
      justify-self: center;
    }
    
    .search-box {
      order: 3;
      justify-self: center;
      min-width: 250px;
    }
    
    .menu-grid {
      grid-template-columns: 1fr;
      gap: 1rem;
    }
    
    .category-filters-wrapper {
      max-width: 400px;
      min-width: 300px;
    }
    
    .category-filters {
      grid-template-columns: repeat(2, 1fr);
      gap: 8px;
    }
    
    .category-filter {
      font-size: 0.7rem;
      padding: 0.6rem 0.4rem;
      height: 31px;
    }
    
    .category-filter > span:first-of-type {
      font-size: 0.7rem;
    }
    
    .category-count {
      font-size: 0.6rem;
      padding: 0.15rem 0.35rem;
    }
  }
  
  @media (max-width: 992px) {
    .menu-hero {
      padding: 2rem 0;
      height: 300px
    }
    
    .menu-hero h1 {
      font-size: 2.2rem;
    }
    .menu-controls-inner{
      grid-template-columns: 1fr;
    }
    
    /* Hide desktop category controls */
    .category-filters-container {
      display: none!important;
    }
    
    /* Show mobile dropdown */
    .mobile-category-dropdown {
      display: block;
      order: 2;
      width: 100%;
    }

    .mobile-subcategory-dropdown{
      display: none!important; /* Subcategory dropdown da gizle */
      order: 3;
      width: 100%;
    }
    /* Subcategory slider kaldırıldı */
    /*
    .subcategory-slider-container{
      display: none!important;
    }
    */

    .menu-controls-inner {
      gap: 1rem;
      padding: 0 1rem;
    }
    
    .blog-btn {
      padding: 0.3rem 0.8rem;
      font-size: 1rem;
    }
    
    .search-box {
      padding: 0.4rem 1rem;
      min-width: auto;
      width: 100%;
    }
    
    .category-filters-wrapper {
      max-width: 350px;
      min-width: 280px;
    }
    
    .category-filters {
      grid-template-columns: repeat(2, 1fr);
      gap: 6px;
    }
    
    .category-filter {
      font-size: 0.65rem;
      padding: 0.5rem 0.3rem;
      height: 45px;
      min-width: 70px;
    }
    
    .category-filter > span:first-of-type {
      font-size: 0.65rem;
    }
    
    .category-count {
      font-size: 0.55rem;
      padding: 0.1rem 0.3rem;
    }
    
    .category-nav-btn {
      width: 32px;
      height: 32px;
      font-size: 0.8rem;
    }
  }
  
  @media (max-width: 768px) {
    .close-modal{
      display: flex;
    }
    .pagination-container{
      flex-direction: column;
    }
    .menu-hero h1 {
      font-size: 1.8rem;
    }
    
    .menu-hero p {
      font-size: 0.95rem;
    }

    /* Subcategory slider kaldırıldı */
    /*
    .subcategory-slider-container {
      max-width: 100%;
      padding: 0 10px;
    }

    .subcategory-filters-wrapper {
      max-width: 100%;
      min-width: 280px;
    }

    .subcategory-slider-btn {
      font-size: 9px;
      padding: 3px 6px;
      min-height: 36px;
    }
    */
    
    
    .blog-buttons-container {
      flex-direction: row;
      width: 100%;
      flex-wrap: nowrap;
      gap: 0.5rem;
    }
    
    .blog-btn {
     
      justify-content: center;
      padding: 0.5rem 1rem;
    }

  }

  /* Mobile Dropdown Styles */
  .mobile-category-dropdown {
    position: relative;
  }
  /* Subcategory dropdown mirrors category dropdown styles */
  .mobile-subcategory-dropdown {
    position: relative;
  }
  
  .mobile-category-btn {
    width: 100%;
    background: white;
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: #242622;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  }
  .mobile-subcategory-btn {
    width: 100%;
    background: white;
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #242622;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  }
  
  .mobile-category-btn:hover {
    border-color: #242622;
    box-shadow: 0 6px 20px rgba(78, 128, 32, 0.15);
  }
  .mobile-subcategory-btn:hover {
    border-color: #242622;
    box-shadow: 0 6px 20px rgba(78, 128, 32, 0.15);
  }
  
  .mobile-category-btn.active {
    background: #242622;
    color: white;
    border-color: #242622;
  }
  .mobile-subcategory-btn.active {
    background: #242622;
    color: white;
    border-color: #242622;
  }
  
  .mobile-category-btn i {
    font-size: 1.2em;
    transition: transform 0.3s ease;
  }
  .mobile-subcategory-btn i {
    font-size: 1.2em;
    transition: transform 0.3s ease;
  }

  
  .mobile-category-text {
    display: flex;
    align-items: center;
    gap: 0.8rem;
  }
  .mobile-subcategory-text {
    display: flex;
    align-items: center;
    gap: 0.8rem;
  }
  
  .mobile-category-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #eee;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.3s ease;
  }
  .mobile-subcategory-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #eee;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.3s ease;
  }
  
  .mobile-category-dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
  }
  .mobile-subcategory-dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
  }
  
  .mobile-category-option {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
  }
  .mobile-subcategory-option {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
  }
  
  .mobile-category-option:last-child {
    border-bottom: none;
  }
  .mobile-subcategory-option:last-child {
    border-bottom: none;
  }
  
  .mobile-category-option:hover {
    background: #f8f9fa;
  }
  .mobile-subcategory-option:hover {
    background: #f8f9fa;
  }
  
  .mobile-category-option.active {
    background: #242622;
    color: white;
  }
  .mobile-subcategory-option.active {
    background: #242622;
    color: white;
  }
  
  .mobile-category-option-text {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
    font-size: 1.1rem;
  }
  .mobile-subcategory-option-text {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
    font-size: 1.1rem;
  }

  /* Mobile Slider Styles */
  .mobile-category-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
  }
  
  .mobile-category-slider-container {
    display: flex;
    gap: 0.8rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .mobile-category-slider-container::-webkit-scrollbar {
    display: none;
  }
  
  .mobile-category-item {
    background: white;
    border: 2px solid #eee;
    border-radius: 25px;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  
  .mobile-category-item.active {
    background: var(--dark-green);
    color: white;
    border-color: var(--dark-green);
    box-shadow: 0 6px 15px rgba(78, 128, 32, 0.2);
  }
  
  .mobile-category-item:hover:not(.active) {
    border-color: var (--gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(232, 121, 40, 0.15);
  }

  /* Modal için özel CSS */
  .menu-modal-main {
    display: flex;

    align-items: center;
    flex-wrap: wrap;
  }
  .menu-modal-image {
    flex: 0 0 140px;
    width: 140px;
    height: 140px;
    background: #f3f3f3;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  }
  .menu-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
  }
  .menu-modal-info {
    flex: 1 1 220px;
    min-width: 200px;
    margin-left: 1rem;
  }
  .menu-modal-title {
    
    font-size: 1.25rem;
    font-weight: 540;
    margin-bottom: 0.5rem;
  }
  .menu-modal-health {
    color: #000;
    font-weight: 300;
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  .menu-modal-desc {
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
  }
  .menu-modal-side {
    color: #444;
    font-size: 0.98rem;
    margin-bottom: 0.5rem;
  }
  .menu-modal-price {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
  }
  .menu-modal-badges {
    display: flex;
    gap: 0.7rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
  }
  .menu-modal-badge {
    background: #F2F1F1;
    color: #242622;
    border-radius: 2px;
    padding: 0.4em 1.2em;
    font-size: 0.95em;
    font-weight: 600;
  }
  .menu-modal-grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 2rem;
    margin-top: 1.5rem;
  }
  .menu-modal-grid2 .menu-modal-grid-item {
    background: none;
    border-radius: 2px;
    padding: 0.6em 1.2em;
    min-width: 120px;
    margin-bottom: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  .menu-modal-grid2 .menu-modal-grid-title {
    font-weight: 600;
    color: #bbb;
    margin-bottom: 0.5em;
    font-size: 0.9em;
    letter-spacing: 0.01em;
  }
  .menu-modal-grid2 .menu-modal-grid-content {
    font-size: 0.9em;
    color: #444;
    font-weight: 300;
    word-break: break-word;
  }
  .menu-modal-grid2 .menu-modal-grid-item.big {
    border: 1px solid #DFDCDC;
    box-shadow: 0 4px 16px rgba(232,121,40,0.07);
  }
  .menu-modal-grid2 .menu-modal-grid-item.small {
    min-height: 60px;
    background: none;
    border: 1px solid #DFDCDC;
  }
  @media (max-width: 600px) {
    .menu-modal-info{
      text-align: center;
      flex: 1 1 0px;
    }
    .menu-modal-main { flex-direction: column; gap: 1rem; }
    .menu-modal-image { margin: 0 auto; }
    .menu-modal-grid2 {
      grid-template-columns: 1fr;
      grid-template-rows: auto;
    }
    .menu-modal-grid2 .menu-modal-grid-item.big,
    .menu-modal-grid2 .menu-modal-grid-item.small {
      grid-column: 1 / -1;
      min-height: unset;
    }
  }
  .menu-modal-bottom {
    border-radius: 12px;

    font-size: 1rem;
    font-weight: 350;
    color: #444;
    line-height: 1.7;
  }
  .menu-modal-bottom svg {
    width: 100%;
  }

  /* API Sync Button Styles */
  .api-sync-container {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    text-align: center;
  }
  

  
  .sync-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
  }
  
  .sync-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(40, 167, 69, 0.4);
  }
  
  .sync-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 6px;
    font-weight: 500;
  }
  
  .sync-message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
  }
  
  .sync-message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
  }

  /* Kategori sliderları kapsayıcı */
  .category-sliders-wrapper {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  /* Ana ve alt kategori sliderları farklı genişlik */
  .category-filters-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 0;
  }

  .subcategory-slider-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    width: 100%;
    max-width: 900px;
    margin: 20px auto;
    padding: 0 20px;
  }

  .category-filters-wrapper {
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    position: relative;
    min-width: 400px;
  }

  .subcategory-filters-wrapper {
    width: 100%;
    max-width: 800px;
    overflow: hidden;
    position: relative;
    min-width: 600px;
  }

  .category-filters,
  .subcategory-slider {
    display: flex;
    gap: 8px;
    transition: transform 0.3s ease;
    will-change: transform;
  }

  .category-filter {
    background-color: #BFB9B9;
    color: var(--text-dark);
    border: 2px solid #eee;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    font-size: 11px;
    white-space: nowrap;
    flex-shrink: 0;
    flex: 1;
    min-height: 34px;
    padding: 6px 12px;
  }

  .subcategory-slider-btn {
    background-color: #BFB9B9;
  color: var(--text-dark);
  border: 2px solid #eee;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  font-size: 11px;
  white-space: nowrap;
  flex-shrink: 0;
  justify-content: center;
  text-align: center;
  height: 34px;
  width: 145px;
  min-width: 145px;
  max-width: 145px;

  }

  .category-filter.active {
    background-color: #242622;
    color: white;
    border-color: #242622;
    box-shadow: 0 5px 15px rgba(78, 128, 32, 0.3);
  }

  .subcategory-slider-btn.active {
    background-color: #242622;
    color: white;
    border-color: #242622;
    box-shadow: 0 5px 15px rgba(78, 128, 32, 0.3);
  }

  .category-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #ddd;
    background: white;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    flex-shrink: 0;
  }

  .category-nav-btn:hover:not(:disabled),
  .category-nav-btn:focus:not(:disabled) {
    background: #242622;
    color: white;
    border-color: #242622;
    transform: scale(1.05);
  }

  .category-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
  }

  .category-nav-btn:disabled:hover {
    background: white;
    color: var(--text-dark);
    border-color: #ddd;
  }

  
@media (max-width: 520px){
   .menu-item-title {
    font-size: 19px;
    color: #000;
    margin-bottom: 0.8rem;
    font-weight:550;
    line-height: 1.3;
    width: 85%;
    padding-right: 4rem;
  }
  
  .menu-item-description {
    color: #000;
    font-size: 18px;
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 0;
  }
.modal-body{
  padding: 0.5rem 2rem 2rem;
}
.desktop-close button{
  color: #BFB9B9;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  position: relative;
  right: -15px;
}
.welcome-modal-content{
  height: 290px;
  width: 85%;
}
.welcome-modal-body{
  height: 300px;
}

.close-welcome-modal{
  right: 0;
  top: 0;
  font-size: 2rem;
  color: #BFB9B9;
}

.welcome-content-text{
  width: 100%;
}

.welcome-content-text h3{
  font-size: 17px;
  font-weight: 600;
}
.welcome-content-text p{
  font-size: 15px;
  font-weight: 400;
}
.desktop-line{
  display: none;
}
.mobile-line{
  display: block;
}

.menu-modal-image{
  flex: none;
  width: 100%;
  margin: 0;
  height: auto;
}
.menu-modal-image img{
  border-radius: 5px;
}
.menu-modal-info{
  margin-left: 0;
  width: 100%;
  margin-top: 3px;
}
.menu-modal-title{
  font-size: 25px;
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
}


.menu-modal-badge{
  font-size: 1.3rem;
  width: 100%;
  justify-content: center;
}

.menu-modal-health{
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 0.8rem;
}
.menu-modal-grid2{
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.menu-modal-grid2 .menu-modal-grid-title{
  font-size: 20px;
  font-weight: 600;
}
.menu-modal-grid2 .menu-modal-grid-content{
  font-size: 18px;
  font-weight: 400;
}
.menu-modal-bottom p{
  font-size: 18px;
}
}