footer {
    background-color: #343a40;
    color: #ffffff;
    padding: 3rem 0;
}

footer h5 {
    text-transform: uppercase;
}

footer hr {
    border-top: 1px solid #ffffff;
}

footer .list-unstyled a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

footer .list-unstyled a:hover {
    color: #ffffff;
    text-decoration: underline;
}

footer .bg-primary {
    background-color: #0088cc;
    margin-top: 3rem;
}

footer .bg-primary p {
    margin: 0;
}


/* Footer Whatsapp */

.whatsapp-button {
    position: fixed;
    bottom: 120px;
    right: 20px;
    background-color: #25d366;
    color: #fff;
    padding: 12px 16px;
    border-radius: 50px;
    text-decoration: none;
    z-index: 1000;
    font-size: 1.5em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}


/* Topbar */

#top-bar {
    z-index: 1030;
}

#top-bar a {
    text-decoration: none;
}

/* PC ve Tablet Stilleri */
#top-bar .container {
    display: flex;
    justify-content: space-between; /* Sol ve sağ içerikleri yatayda eşit dağıt */
    align-items: center; /* Dikeyde ortala */
}

#top-bar .top-bar-left,
#top-bar .top-bar-right {
    display: flex;
    align-items: center;
}

#top-bar .top-bar-right {
    margin-left: auto; /* Sağa yasla */
}

/* Butonlar arası boşluk eklendi */
#top-bar .top-bar-right > a,
#top-bar .top-bar-right > .btn {
    margin-left: 10px; /* Butonlar arasında boşluk */
}

#top-bar .top-bar-right > a:first-child,
#top-bar .top-bar-right > .btn:first-child {
    margin-left: 0; /* İlk buton için sol boşluk sıfırlanır */
}

/* Turuncu Buton */
#top-bar .top-bar-right > a.btn-custom {
    background-color: #ff5722; /* Turuncu arka plan rengi */
    color: #fff; /* Yazı rengi */
    border: 1px solid #fff; /* Beyaz çerçeve eklendi */
}

#top-bar .top-bar-right > a.btn-custom:hover {
    background-color: #e64a19; /* Hover rengi (daha koyu turuncu) */
}

/* Mobil Stilleri */
@media (max-width: 768px) {
    #top-bar {
        background-color: #f8f9fa; /* Arka plan rengi */
        padding: 10px 0; /* Üst ve alt boşluk */
        position: static; /* Sticky özelliğini kaldır */
    }

    #top-bar .container {
        flex-direction: column;
        align-items: center; /* İçeriği ortala */
    }

    #top-bar .top-bar-left > div,
    #top-bar .top-bar-right > a,
    #top-bar .top-bar-right > .btn {
        display: flex;
        align-items: center;
        justify-content: center; /* İçeriği ortala */
        background-color: #007bff; /* Her bar için arka plan */
        color: #fff; /* Yazı rengi */
        padding: 10px; /* İç boşluk */
        margin: 5px 0; /* Alt ve üst boşluk */
        border-radius: 5px; /* Yuvarlatılmış köşeler */
        text-decoration: none; /* Bağlantı alt çizgisi kaldır */
        font-size: 12px; /* Yazı boyutu */
        width: auto; /* Buton genişliği içeriğe göre ayarlanır */
    }

    /* Butonlar arası boşluk mobil için */
    #top-bar .top-bar-right {
        display: flex;
        flex-direction: row; /* Butonları yan yana yerleştir */
        justify-content: center; /* Butonları ortala */
        width: 100%; /* Genişliği tam yap */
    }

    #top-bar .top-bar-right > a,
    #top-bar .top-bar-right > .btn {
        margin: 5px; /* Butonlar arasına boşluk eklendi */
    }

    #top-bar .top-bar-left > div i,
    #top-bar .top-bar-right > a i {
        margin-right: 8px; /* İkon ve metin arasında boşluk */
    }

    #top-bar .top-bar-right > a.btn,
    #top-bar .top-bar-right > .btn {
        background-color: #28a745; /* Buton için farklı arka plan rengi */
    }

    #top-bar .top-bar-right > a.btn:hover,
    #top-bar .top-bar-right > .btn:hover {
        background-color: #218838; /* Hover rengi */
    }

    /* Turuncu Buton Mobil Stili */
    #top-bar .top-bar-right > a.btn-custom {
        background-color: #ff5722; /* Turuncu arka plan rengi */
        border: 1px solid #fff; /* Beyaz çerçeve eklendi */
    }

    #top-bar .top-bar-right > a.btn-custom:hover {
        background-color: #e64a19; /* Hover rengi (daha koyu turuncu) */
    }
}

/* Sidebar */

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}
.sidebar {
  height: 100vh;
  width: 50px;
  position: fixed;
  top: 0;
  left: 0;
  background: linear-gradient(90deg, #007bff, #0056b3);
  color: #fff;
  overflow-x: hidden;
  transition: all 0.3s ease;
  z-index: 1030;
}
.sidebar:hover {
  width: 250px;
}
.sidebar img.logo-collapsed {
  display: block;
}
.sidebar img.logo-expanded {
  display: none;
}
.sidebar:hover img.logo-collapsed {
  display: none;
}
.sidebar:hover img.logo-expanded {
  display: block;
}
.sidebar a {
  color: #fff;
  text-decoration: none;
  padding: 10px 5px;
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease, transform 0.3s ease; /* background-color geçişini kaldırdık */
}
.sidebar a i {
  margin-left: 10px;
}
.sidebar:hover a span {
  display: inline;
  margin-left: 10px;
}
.sidebar a span {
  display: none;
}
.sidebar a:hover {
  /* background-color: #495057; */ /* Hover arka plan rengini kaldırdık */
  transform: translateX(5px); /* Sadece kayma efektini bıraktık */
}
.sidebar a:active {
  /* background-color: #6c757d; */ /* Active arka plan rengini kaldırdık */
  transform: scale(0.98);
}
.sidebar .search-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.sidebar .search-icon i {
  font-size: 20px;
}
.sidebar:hover .search-icon {
  display: none;
}
.sidebar .search-box {
  padding: 10px 20px;
  display: none;
}
.sidebar:hover .search-box {
  display: block;
}
.sidebar .search-box input {
  width: 100%;
  padding: 5px;
  border-radius: 5px;
  border: none;
  outline: none;
}
.content {
  margin-left: 40px;
  padding: 20px;
  flex: 1;
  transition: margin-left 0.3s ease;
}
.sidebar:hover ~ .content {
  margin-left: 240px;
}
.navbar {
  position: sticky;
  top: 0;
  z-index: 1050;
}
.mobile-menu {
  display: none;
}

@media (max-width: 768px) {
  body {
    flex-direction: column;
  }

  .sidebar {
    display: none;
  }

  .mobile-menu {
    display: block;
    position: sticky;
    top: 0;
    background: linear-gradient(90deg, #007bff, #0056b3);
    color: #fff;
    z-index: 1050;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
  }

  .mobile-menu .dropdown-menu {
    width: 100%;
    background: linear-gradient(90deg, #007bff, #0056b3);
    color: #fff;
    margin: 0;
    padding: 15px;
    border: none;
  }

  .mobile-menu .dropdown-menu a {
    display: block;
    padding: 12px 18px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s ease;
    background-color: transparent; /* Varsayılanı şeffaf */
  }

  .mobile-menu .dropdown-menu a:hover {
    background-color: #495057; /* Hover’da hafif siyah */
  }

  /* Active menüye hover efektiyle aynı rengi verme */
  .mobile-menu .dropdown-menu a:active,
  .mobile-menu .dropdown-menu a:focus,
  .mobile-menu .dropdown-menu a.active {
    background-color: #495057 !important; /* Hover ile aynı hafif siyah */
    color: #fff !important; /* Yazı rengi beyaz kalsın */
  }

  .content {
    margin-left: 0;
    padding: 15px;
  }

  .mobile-menu .dropdown-menu li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 18px;
  }

  .mobile-menu .dropdown-menu li::before {
    content: '';
    width: 5px;
    height: 18px;
    background-color: #ffc107;
    margin-right: 8px;
    border-radius: 3px;
  }

  .mobile-menu .dropdown-menu li:hover::before {
    background-color: #17a2b8;
  }

  #mobileMenuContent {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background: linear-gradient(90deg, #007bff, #0056b3);
    z-index: 1050;
    display: none;
  }

  .close-button {
    position: absolute;
    top: 40px;
    right: 20px;
    color: #ff0000;
    font-size: 40px;
    cursor: pointer;
    z-index: 1060;
  }
}

/* index */                  
                                
.idx_listing-card {
            border: 1px solid #ddd;
            border-radius: 8px;
            overflow: hidden;
            margin-bottom: 20px;
            transition: transform 0.2s;
        }
        .idx_listing-card:hover {
            transform: scale(1.02);
        }
        .idx_listing-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }
        .idx_listing-body {
            padding: 15px;
        }
        .idx_listing-title {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 10px;
        }
        .idx_listing-category {
            font-size: 14px;
            color: #666;
        }
        .idx_listing-price {
            font-size: 16px;
            font-weight: bold;
            color: #28a745;
            margin-top: 10px;
        }
        .idx_add-to-cart-btn {
            width: 100%;
            margin-top: 10px;
        }
        .idx_pagination {
            margin-top: 20px;
        }

/* listing */  

.listing-image {
            width: 100%;
            height: 400px;
            object-fit: cover;
            cursor: pointer;
        }
        .thumbnail {
            width: 100px;
            height: 100px;
            object-fit: cover;
            cursor: pointer;
            border: 2px solid transparent;
            border-radius: 5px;
            transition: border-color 0.3s;
        }
        .thumbnail:hover, .thumbnail.active {
            border-color: #007bff;
        }
        .currency-btn {
            margin-left: 10px;
            cursor: pointer;
        }
        .idx_listing-card {
            border: 1px solid #ddd;
            border-radius: 8px;
            overflow: hidden;
            margin-bottom: 20px;
            transition: transform 0.2s;
        }
        .idx_listing-card:hover {
            transform: scale(1.02);
        }
        .idx_listing-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }
        .idx_listing-body {
            padding: 15px;
        }
        .idx_listing-title {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 10px;
        }
        .idx_listing-category {
            font-size: 14px;
            color: #666;
        }
        .idx_listing-price {
            font-size: 16px;
            font-weight: bold;
            color: #28a745;
            margin-top: 10px;
        }
        .modal-image {
            width: 100%;
            height: auto;
            max-height: 80vh;
            object-fit: contain;
        }

/* gizlilik */ 

body {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        background-color: #f8f9fa;
        margin: 0;
        padding: 0;
    }
    #privacy-container {
        width: 80%;
        margin: 50px auto;
        background: #ffffff;
        padding: 30px;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    #privacy-title {
        color: #28a745;
        text-align: center;
        margin-bottom: 20px;
    }
    .privacy-section-title {
        color: #343a40;
        margin-top: 30px;
    }
    .privacy-section-content {
        line-height: 1.8;
        color: #495057;
    }
    .privacy-bullet-list {
        list-style-type: square;
        padding-left: 20px;
    }

/* kırmızı bildirim */ 
.notif {
    background-color: red; /* Kırmızı arka plan */
    color: white; /* Beyaz yazı */
    border-radius: 50%; /* Yuvarlak şekil */
    padding: 2px 6px; /* İç boşluk */
    font-size: 12px; /* Yazı boyutu */
    line-height: 1; /* Dikey hizalama için */
}

/* hesabım sayfası */ 
.acc_search-form { margin-bottom: 20px; }
        .acc_search-form input { height: 40px; }
        .acc_search-form .btn { height: 40px; }
        .acc_listing-card { border: 1px solid #ddd; border-radius: 8px; overflow: hidden; margin-bottom: 20px; transition: transform 0.2s; }
        .acc_listing-card:hover { transform: scale(1.02); }
        .acc_listing-image { width: 100%; height: 200px; object-fit: cover; }
        .acc_listing-body { padding: 15px; }
        .acc_listing-title { font-size: 18px; font-weight: bold; margin-bottom: 10px; }
        .acc_listing-details { font-size: 14px; color: #666; margin-bottom: 5px; }
        .acc_listing-price { font-size: 16px; font-weight: bold; color: #28a745; margin-top: 10px; }
        .acc_listing-actions { margin-top: 10px; }
        .acc_listing-actions .btn { margin-right: 5px; }

#acc_listingImages .image-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#acc_listingImages .image-container {
    display: inline-block; /* Resmin yatay olarak ortalanmasını sağlar */
    margin-bottom: 5px; /* Resim ile buton arasında boşluk */
}

#acc_listingImages .preview-image {
    width: 100%; /* Resmin container'ı doldurması için */
    height: auto; /* Oranı koruyarak boyutlandırma */
    display: block; /* Boşlukları kaldırmak için */
}