    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background-color: #F5F5F5;
      padding-top: 80px; /* Header yüksekliği kadar boşluk */
      color: #333;
      line-height: 1.5;
    }
    a {
      text-decoration: none;
      color: inherit;
    }

    /* ============================
       Sabit Üst Menü (Header)
    ============================ */
    header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      height: 80px;
      background-color: #fff;
      padding: 0 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      z-index: 1000;
    }
    .logo {
     
      width: 80px;
      height: 70px;
      margin: 0;
    }
    .categories-wrapper {
      flex: 1;
      display: flex;
      justify-content: center;
      overflow: hidden;
    }
    .categories {
      display: flex;
      gap: 16px;
      overflow-x: auto;
      scrollbar-width: none;
    }
    .categories::-webkit-scrollbar {
      display: none;
    }
    .categories a {
      white-space: nowrap;
      padding: 8px 12px;
      color: #1f2937;
      font-size: 14px;
      position: relative;
      transition: color 0.3s;
    }
    .categories a.active {
      color: #ef4444;
    }
    .categories a::after {
      content: '';
      position: absolute;
      left: 50%;
      right: 50%;
      bottom: 0;
      height: 2px;
      background-color: #ef4444;
      transition: all 0.3s ease;
    }
    .categories a:hover::after,
    .categories a.active::after {
      left: 0;
      right: 0;
    }
/* SADECE MOBİL */
@media (max-width: 640px) {
  header {
    display: flex;
    align-items: center;
    justify-content: space-between; /* 1. satırda logo solda, sepet sağda */
    flex-wrap: wrap;                /* 2. satıra inebilmek için */
  }

  /* 1. satır */
  header .logo { order: 0; }
  #header-cart-icon {
    order: 1;
    margin-left: auto;             /* sağa yasla */
  }
  .categories {
    background-color: aqua;
  }
  /* 2. satır: kategoriler tam genişlik */
  .categories-wrapper {
    order: 2;
    flex: 0 0 100%;
    margin-left: 0;               /* tüm satırı kapla */
  }

  /* Kategoriler: taşarsa alt satıra geçsin, ortalansın */
  #categories {
    padding-top: 10px;
    position: relative;
    display: flex;
    flex-wrap: wrap;               /* ALT SATIRA GEÇ */
    gap: 8px 12px;
    justify-content: center;
    background-color: #fff;
    margin: 0;
    z-index: 1;/* kenarlara yapışması için */
  }

  /* (Opsiyonel) mobilde aktif kategori turuncu */
  #categories a.active { color: #f97316; }
}

    .cart-icon {
      font-size: 24px;
      cursor: pointer;
      position: relative;
    }
    .cart-count {
      position: absolute;
      top: -8px;
      right: -8px;
      background-color: #ef4444;
      color: white;
      font-size: 12px;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1;
    }

    /* ============================
       Hero Alanı (Ana Banner)
    ============================ */
    .hero {
      background-image: url('23.jpg');
      background-size: cover;
      background-position: center;
      height: 80vh;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: white;
      position: relative;
    }
    .overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: rgba(0, 0, 0, 0.5);
      z-index: 1;
    }
    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 90%;
    }
    .hero h1 {
      font-size: 48px;
      margin-bottom: 20px;
    }
    .hero p {
      font-size: 20px;
      margin-bottom: 30px;
    }
    .hero a {
      display: inline-block;
      background-color: #ef4444;
      color: white;
      padding: 12px 24px;
      border-radius: 8px;
      font-weight: bold;
      transition: background-color 0.3s;
    }
    .hero a:hover {
      background-color: #dc2626;
    }

    /* ============================
       Ürün Bölümleri
    ============================ */
    .product-section {
      position: relative;
      padding: 0 20px;
      border-radius: 12px;
    
      z-index: 1;
    }
   
    
    .section-title {
      font-size: 2rem;
      font-weight: bold;
      margin-bottom: 16px;
      border-bottom: 3px solid #e74c3c;
      padding-bottom: 6px;
      color: #1f2937;
      padding-top: 10px;
    }
    .product-grid {
  display: grid;
  gap: 20px;
  margin-top: 20px;
  grid-template-columns: 1fr; /* mobil: 1 kolon */
}

@media (min-width : 900px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); } /* tablet: 2 kolon */
}

@media (min-width: 1500px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); } /* masaüstü: 3 kolon */
}
    
    .product-card {
      background: #fff;
      border-radius: 8px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      cursor: pointer;
      display: flex;
      flex-direction: row;
      align-items: center;
      padding: 10px;
      transition: transform 0.2s;
      position: relative;
    }
    .product-card:hover {
      transform: translateY(-3px);
    }
    .product-card img {
      background-color: #ec1717;
      width: 60px;
      height: 60px;
      object-fit: cover;
      border-radius: 6px;
      flex-shrink: 0;
      margin-right: 12px;
    }
    .info {
      display: flex;
      flex-direction: column;
      flex: 1;
      position: relative;
      overflow: hidden;
    }
    .info .name {
      font-size: 1rem;
      font-weight: bold;
      color: #333;
      margin-bottom: 4px;
    }
    .info .ingredients {
      font-size: 0.9rem;
      color: #555;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      margin-bottom: 8px;
      max-width: calc(100% - 80px);
    }
    .info .price {
      font-size: 0.95rem;
      color: #e74c3c;
      font-weight: bold;
      margin-bottom: 4px;
    }
    .detail-btn {
      position: absolute;
      bottom: 0;
      right: 0;
      background-color: #ef4444;
      color: white;
      border: none;
      padding: 6px 10px;
      border-radius: 4px;
      font-size: 0.8rem;
      cursor: pointer;
    }

    /* ============================
       Modal (Ürün Detay)
    ============================ */
    .modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0, 0, 0, 0.5);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 1000;
    }
    .modal-content {
      background-color: #fff;
      width: 100%;
      max-width: 500px;
      border-radius: 8px;
      padding: 20px;
      position: fixed;
      max-height: 90vh;
      overflow-y: auto;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      bottom: 0;
      top: 150px;
    }
    .modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 16px;
    }
    .modal-header h2 {
      font-size: 1.4rem;
      color: #333;
    }
    .close-btn {
      background: transparent;
      border: none;
      font-size: 1.4rem;
      cursor: pointer;
      color: #555;
    }
    .modal-body img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      border-radius: 4px;
      margin-bottom: 12px;
    }
    .modal-body p#modal-product-description {
      font-size: 0.95rem;
      color: #555;
      margin-bottom: 16px;
      line-height: 1.6;
    }
    .modal-body .field-group {
      background-color: #f9f9f9;
      padding: 12px;
      border-radius: 6px;
      margin-bottom: 16px;
    }
    .field-group label {
      display: block;
      font-weight: bold;
      margin-bottom: 8px;
      color: #333;
    }
    .field-group .options {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .field-group .options label {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.95rem;
      color: #333;
    }
    .field-group .options input {
      margin-right: 8px;
      cursor: pointer;
    }
    .quantity-selector {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-top: 8px;
      justify-content: flex-end;
    }
    .quantity-selector button {
      width: 32px;
      height: 32px;
      background-color: #e74c3c;
      color: white;
      font-size: 1.2rem;
      border: none;
      border-radius: 4px;
      cursor: pointer;
    }
    .quantity-selector span {
      width: 32px;
      text-align: center;
      font-size: 1rem;
      color: #333;
    }
    .total-price-modal {
      font-size: 1.2rem;
      text-align: right;
      color: #e74c3c;
      margin-top: 12px;
    }
    .btn-add-cart {
      display: block;
      width: 100%;
      margin-top: 20px;
      background-color: #ef4444;
      color: white;
      padding: 12px;
      font-size: 1rem;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      transition: background-color 0.3s;
    }
    .btn-add-cart:hover {
      background-color: #dc2626;
    }
    .validation-msg {
      color: #e74c3c;
      text-align: right;
      font-size: 0.9rem;
      display: none;
      margin-top: 8px;
    }

    /* ============================
       Sepet Modal
    ============================ */
    .cart-modal .modal-content {
      max-width: 600px;
    }
    .cart-items {
      margin-bottom: 20px;
    }
    .cart-item {
      background: #fff;
      border-radius: 8px;
      padding: 12px;
      margin-bottom: 12px;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
      position: relative;
    }
    .cart-item div {
      margin-bottom: 6px;
      color: #333;
      font-size: 0.95rem;
    }
    .btn-remove-item {
      position: absolute;
      top: 12px;
      right: 12px;
      background-color: #ccc;
      color: #333;
      border: none;
      padding: 6px 10px;
      border-radius: 4px;
      cursor: pointer;
      font-size: 0.8rem;
    }
    .cart-summary {
      font-size: 1.2rem;
      font-weight: bold;
      color: #1f2937;
      margin-bottom: 16px;
      text-align: right;
    }
    .payment-methods {
      margin-bottom: 16px;
      display: flex;
      gap: 20px;
    }
    .payment-methods label {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.95rem;
      color: #333;
    }
    #orderNote {
      width: 100%;
      padding: 8px;
      border: 1px solid #ccc;
      border-radius: 4px;
      font-size: 0.95rem;
      color: #333;
      resize: vertical;
      margin-top: 8px;
    }
    .btn-checkout {
      display: block;
      width: 100%;
      background-color: #f30b0b;
      color: white;
      border: none;
      padding: 12px;
      font-size: 1rem;
      border-radius: 4px;
      cursor: pointer;
      transition: background-color 0.3s;
    }
    .btn-checkout:hover {
      background-color: #f30b0b;
    }

    /* ============================
       Responsive Ayarlar
    ============================ */
    @media (max-width: 600px) {
      .logo {
        font-size: 18px;
      }
      .categories a {
        font-size: 12px;
      }
      .hero h1 {
        font-size: 32px;
      }
      .hero p {
        font-size: 16px;
      }
    }
    footer {
      
      color: #000;
      padding: 60px 20px 100px;
      border-top: 1px solid #ddd;
    }
    .footer-container {
      display: flex;
      flex-wrap: wrap;
      gap: 40px;
      justify-content: space-between;
      max-width: 1200px;
      margin: auto;
     
    }
    .footer-column {
      flex: 1;
      min-width: 300px;
      border-radius: 20px;
     background-color: #fff;
    }
    .footer-column h3 {
      font-size: 1.4rem;
      margin-bottom: 15px;
      color: #f30b0b;
      border-bottom: 2px solid #000;
      padding-bottom: 5px;
      padding-left: 20px;
      padding-top: 10px;
    }
    .footer-column p {
      font-size: 1rem;
      margin-bottom: 10px;
    }
    .footer-column a {
      color: #000;
      text-decoration: none;
    }
    .footer-column iframe {
      border: none;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    .footer-column label {
      display: block;
      font-size: 1rem;
      margin-top: 15px;
      margin-bottom: 5px;
    }
    .footer-column input,
    .footer-column textarea {
      width: 100%;
      padding: 12px;
      background-color: #fff;
      border: 1px solid #ccc;
      border-radius: 6px;
      color: #000;
      font-size: 0.95rem;
      transition: border 0.3s;
    }
    .footer-column input:focus,
    .footer-column textarea:focus {
      border-color: #f30b0b ;
      outline: none;
    }
    .footer-column button {
      margin-top: 20px;
      padding: 12px 25px;
      background-color: #f30b0b;
      color: #000;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      font-size: 1rem;
      transition: background-color 0.3s;
    }
    .footer-column button:hover {
      background-color: #f30b0b;
    }
    .fixed-buttons {
      position: fixed;
      right: 20px;
      bottom: 20px;
      display: flex;
      flex-direction: column;
      gap: 15px;
      z-index: 1000;
    }
    .fixed-buttons a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 55px;
      height: 55px;
      border-radius: 50%;
      background-color: #25D366;
      color: var(--button-text);
      text-decoration: none;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      transition: background-color 0.3s, transform 0.3s;
    }
    .fixed-buttons a:hover {
      background-color: #f30b0b;
      transform: translateY(-3px);
    }
    .fixed-buttons .whatsapp {
      background-color: #25D366;
    }
    .fixed-buttons .whatsapp:hover {
      background-color: #1ebe57;
    }
    .fixed-buttons .phone {
      background-color: #f30b0b;
    }
    @media (max-width: 992px) {
      .footer-container {
        gap: 30px;
      }
      .footer-column {
        min-width: 250px;
      }
    }
    @media (max-width: 768px) {
      .footer-container {
        flex-direction: column;
        gap: 50px;
      }
      footer {
        padding-bottom: 140px;
      }
    }
    .shop-name {
      font-size: 1.2rem;
      font-weight: bold;
      padding: 10px 20px;
      color: #000000;
    }
    .pipe{
  display:inline-block;
  margin: 0 .6rem;
  line-height: 1;
  transform: translateY(1px); /* hizalama için minik dokunuş */
  opacity:.6; 
  margin-bottom: 2px;                 /* istersen yumuşat */
}
.tab-tittle {
 position: relative; z-index: 999; border-radius: 24px 24px 0 0; height: 50px; background-color: #F5F5F5; width: 100%; display: flex; flex-direction: row; justify-content: space-around; align-items: center; padding: 20px; ; 
 
}
@media (max-width: 1200px) { 
  .tab-tittle {
     display: grid; grid-template-columns: 1fr; gap: 0px; 
     position: relative; bottom: 100px; border-radius: 24px 24px 0 0; height: auto; background-color: #F5F5F5; width: 100%;
     bottom: 50px;
    
  }
}

html { scroll-behavior: smooth; }

/* sabit header yüksekliği kadar offset: bölümler header altında görünür */
.product-section { scroll-margin-top: 88px; } /* header 80px + ufak boşluk */

/* MOBİL düzeltmeleri */
@media (max-width: 640px){
  header{ padding:0; }                    /* kenar boşluklarını kaldır */
  .logo{ margin-left:12px; }              /* logoya küçük iç boşluk */
  #header-cart-icon{ margin-right:12px; } /* sepete küçük iç boşluk */

  .categories-wrapper{
    order:2; flex:0 0 100%;
    margin:0; padding:0;                  /* tam genişlik */
  }
  .categories{
    width:100%; padding:0; margin:0;      /* kenarlara yapışık */
    gap:8px; justify-content:space-between;
    overflow-x:auto; height: 60px; overflow-y: auto;
  }
.categories::-webkit-scrollbar{ height:6px; }
.categories::-webkit-scrollbar-thumb{ background:#ddd; border-radius:6px; }


  /* aktif linki belirginleştir */
  #categories a.active{
    color:#f97316;
    font-weight:600;
  }
   #categories{
    flex-wrap: nowrap;
    padding-left: 120px;
   }
}

/* linklerin alt çizgisi aktifken tam genişlik */
.categories a::after{
  content:""; position:absolute; left:50%; right:50%; bottom:0; height:2px; background:#ef4444; transition:all .3s;
}
.categories a.active::after,
.categories a:hover::after{ left:0; right:0; }

/* === Ürün Opsiyonları: Akordeon Görünümü === */
.modal-body .field-group { border:1px solid #e5e7eb; border-radius:8px; padding:0; background:#fff; }
.modal-body .field-group + .field-group { margin-top:12px; }

/* Başlık (label) tıklanabilir; sağda ok */
.modal-body .field-group > label{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 14px; margin:0; cursor:pointer; user-select:none; color:#111827;
}

/* Ok: ikon kütüphanesine bağlı kalmamak için saf CSS ok */
.modal-body .field-group > label::after{
  content:""; width:10px; height:10px; margin-left:10px;
  border-right:2px solid #374151; border-bottom:2px solid #374151;
  transform:rotate(45deg); /* aşağı bakan */
  transition:transform .25s ease;
}

/* Panel (seçenekler) kapalı */
.modal-body .field-group .options{
  max-height:0; overflow:hidden; padding:0 14px; /* iç padding panel açıkken gözükür */
  transition:max-height .35s ease;
  border-top:1px solid transparent;
}

/* Açık durum */
.modal-body .field-group.open > label::after{ transform:rotate(225deg); } /* yukarı bakan */
.modal-body .field-group.open .options{
  max-height:620px; /* yeterli bir değer; içerik kısa ise otomatikte kalır */
  padding:12px 14px;
  border-top:1px solid #f3f4f6;
  background:#fafafa;
}

/* Tek tek seçenek satırları (var olan stilini bozmadan minik iyileştirme) */
.modal-body .field-group .options label{
  padding:8px 10px; border:1px dashed #e5e7eb; border-radius:8px; background:#fff;
}

 .fab-wrap{
    position: fixed;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0));
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji";
  }
  .fab{
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,.18);;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
    position: relative;
    -webkit-tap-highlight-color: transparent;
  }
  .fab:is(:hover, :focus-visible){ transform: translateY(-2px); box-shadow: 0 14px 35px rgba(0,0,0,.24); }
  .fab:active{ transform: translateY(0); filter: brightness(.97); }

  .fab--wa{ border-radius: 36px; border: 0; background: linear-gradient(135deg, #25D366, #1ebe5d); }
  .fab--phone{ border-radius: 36px; border: 0; background: linear-gradient(135deg, #0ea5e9, #088ac4); }
  .fab svg{ width: 28px; height: 28px; fill: #fff; }

  /* küçük başlatıcı + aç/kapa (opsiyonel) */
  .fab-toggle{
    width: 48px; height: 48px; border-radius: 14px;
    background: linear-gradient(135deg, #111827, #1f2937);
    display: grid; place-items: center;
  }
  .fab-toggle svg{ width: 22px; height: 22px; }

  .fab-list{
    display: grid;
    gap: 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
  .fab-wrap[data-open="true"] .fab-list{
    max-height: 200px; /* 2 buton için yeterli */
  }

  /* Tooltip */
  .fab[data-tip]::after{
    content: attr(data-tip);
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(17,24,39,.94);
    color:#fff;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease, transform .15s ease;
  }
  .fab:hover::after, .fab:focus-visible::after{
    opacity: 1; transform: translate(-2px, -50%);
  }

  /* Pulse efekti (sadece WhatsApp butonunda örnek) */
  .fab--wa::before{
    content:""; position:absolute; inset:0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(37,211,102,.45);
    animation: pulse 2.2s ease-out infinite;
  }
  @keyframes pulse{
    0%{ box-shadow: 0 0 0 0 rgba(37,211,102,.45); }
    70%{ box-shadow: 0 0 0 16px rgba(37,211,102,0); }
    100%{ box-shadow: 0 0 0 0 rgba(37,211,102,0); }
  }

  /* Erişilebilirlik: tercihen hareket azaltma */
  @media (prefers-reduced-motion: reduce){
    .fab, .fab-list{ transition: none !important; }
    .fab--wa::before{ animation: none; }
  }