html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}



/*LOGIN PARTIAL*/

/* Navbar Buton Stilleri */
.nav-btn-custom {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid transparent;
}

.nav-btn-custom:hover {
    background-color: rgba(13, 110, 253, 0.05);
    color: #0d6efd !important;
    border-color: rgba(13, 110, 253, 0.2);
}

/* Sepet İkonu ve Badge Animasyonu */
.cart-wrapper {
    position: relative;
    padding-right: 12px;
}

#cart-badge {
    font-size: 0.7rem;
    padding: 0.35em 0.65em;
    transform: translate(-20%, -20%);
    border: 2px solid #fff; /* Badge'i daha belirgin yapar */
}

/* Dropdown Menü İyileştirme */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 10px;
    margin-top: 10px !important;
}

.dropdown-item {
    border-radius: 8px;
    padding: 8px 15px;
    transition: all 0.2s;
}

    .dropdown-item:hover {
        background-color: #f8f9fa;
        color: #0d6efd;
    }

/*LOGIN PARTIAL*/





/* Navbar'ın altındaki gri çizgiyi ve boşlukları düzenle */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.search-group {
    flex-grow: 1;
    max-width: 600px;
    margin: 0 2rem;
}

.top-bar {
    background-color: #0044cc;
    color: white;
    padding: 5px 0;
    font-size: 14px;
}

    .top-bar a {
        color: white;
        text-decoration: none;
    }

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    z-index: 9999;
    animation: slideUp 0.5s ease-out;
}

.cookie-text {
    font-size: 0.95rem;
    color: #444;
}

@@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

/* Kategori Menüsü Linkleri */
/* Kategori Menüsü Linkleri */
.category-nav a {
    color: #6c757d !important; /* Başlangıçta Gri (Bootstrap Secondary Gray) */
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease; /* Renk ve diğer değişimler için yumuşak geçiş */
}

    /* Üzerine gelince (Hover) */
    .category-nav a:hover {
        color: #0d6efd !important; /* Fare üstüne gelince Mavi (Bootstrap Primary Blue) */
        background-color: transparent; /* Eğer arka plan değişsin istemiyorsan */
    }color: #6c757d !important; /* Bootstrap Secondary Gray */
    }

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

/* Masaüstü ekranlar için hover ayarları */
@media (min-width: 992px) {
    /* Menü ile link arasında boşluk kalmaması için menüyü biraz yukarı çekiyoruz */
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        visibility: visible;
        opacity: 1;
    }

    /* Asıl sihir burada: Dropdown-menu'nün üstüne görünmez bir köprü kurar */
    .dropdown-menu::before {
        content: "";
        position: absolute;
        top: -10px; /* Menünün 10px üstüne kadar olan boşluğu doldurur */
        left: 0;
        right: 0;
        height: 10px;
        display: block;
    }
}

/* Ok işaretini (caret) kaldırmak istemiştin, onu da buraya ekleyelim */
.dropdown-toggle::after {
    display: none !important;
}

.custom-menu-title {
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px;
    white-space: nowrap; /* Başlığın tek satırda kalmasını sağlar */
}

.dropdown-item {
    font-size: 0.9rem;
    padding-left: 5px !important;
}

/* Başlıkların altındaki boşluğu ve hizalamayı optimize edelim */
.dropdown-menu .row {
    margin: 0;
    padding: 10px 0;
}