.top-item a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.top-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    justify-content: flex-end;
}

.top-bar-sol {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
}

/* Her alan arası çizgi */
.top-item {
    position: relative;
    padding-right: 15px;
}

.top-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 18px;
    background: #ddd;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

/* Menü aşağı doğru açılır */
.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 120px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 5px 0;
    display: none;
    z-index: 1000;
}

.dropdown-menu li {
    padding: 8px 12px;
    cursor: pointer;
}

.dropdown-menu li:hover {
    background: #f5f5f5;
}

/* Hover ile aç */
.dropdown:hover .dropdown-menu {
    display: block;
}

.logo img{
    display: flex;
    align-items: center;
    width: 200px;
}

.ilk-alan-yeri {
    border-bottom: 1px solid #D9D9D9;
}



.ikinci-alan-yeri-otta-alan {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 66.66px;
}
.ikinci-alan {
    border-bottom: 1px solid #D9D9D9;
}
.search-bar {
    display:flex;
    align-items:center;
    border:1px solid #e5e7eb;
    border-radius:5px;
    overflow:hidden;
    background:#fff;
    height: 50px;
    width: 783px;
}


.category-select {
    display:flex;
    align-items:center;
    gap:10px;
    padding:0 18px;
    height:56px;
    border-right:1px solid #e5e7eb;
    font-weight:600;
    color:#111827;
    white-space:nowrap;
    cursor:pointer;
}

.search-input {
    flex:1;
    height:56px;
    border:none;
    padding:0 20px;
    font-size:15px;
    color:#111827;
}


.search-input::placeholder {
    color:#c4c7cf;
}


.search-input:focus {
    outline:none;
}


.search-button {
    background:#4166D0;
    color:#fff;
    border:none;
    height:56px;
    padding:0 42px;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
}




.indirim{
    margin: 0 !important;
}




.top-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Ortak kutu */
.action-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 5px;
    padding: 0 10px;
    font-family: Arial, sans-serif;
}

/* Favori */
.fav-box {
    width: 50px;
    height: 50px;
    border: 1px solid #E2E2E2;
    justify-content: center;
}

/* Sepet */
.cart-box {
    width: 131px;
    height: 50px;
    border: 1px solid #E2E2E2;
}

/* Kullanıcı */
.user-box {
    width: 131px;
    height: 50px;
    background: #4166D0;
    color: #fff;
}

/* Sepet yazıları */
.cart-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    margin-left: 10px;
}

.cart-text small {
    font-size: 9px;
    color: #666;
}

.cart-text strong {
    font-size: 11px;
}

/* Kullanıcı adı */
.username {
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    color: #ffffff;
}
.username a{
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    color: #ffffff;
}

/* Iconlar (SVG veya font icon yerine CSS çizim) */
.icon {
    width: 22px;
    height: 22px;
    display: inline-block;
}

.icon.heart {
    border: 2px solid #333;
    border-radius: 50%;
}

.icon.cart {
    border: 2px solid #333;
    border-radius: 4px;
}

.icon.user {
    border: 2px solid #fff;
    border-radius: 50%;
}

/* Badge */
.badge-1 {
    position: absolute;
    top: 5px;
    right: 0;
    background: #5865d8;
    color: #fff;
    font-size: 11px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-2 {
    position: absolute;
    top: 5px;
    left: 21px;
    background: #5865d8;
    color: #fff;
    font-size: 11px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.reklam-alani-sağ-alan-navbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding:10px 0;
}


.top-nav {
    display: flex;
    align-items: center;
    height: 60px;
    font-family: Arial, sans-serif;
    background: #fff;
}

/* SOL TARAF */
.top-nav .left {
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 15px;
}

/* HAMBURGER */
.menu-icon {
    width: 22px;
    cursor: pointer;
}

.menu-icon span {
    display: block;
    height: 2px;
    background: #000;
    margin: 3px 0;
}

/* YAZI */
.all-categories {
    font-size: 14px;
    font-weight: 500;
}

/* ORTA ÇİZGİ */
.divider {
    width: 1px;
    height: 30px;
    background: #e5e5e5;
    margin: 0 25px;
}

/* SAĞ TARAF */
.top-nav .right {
    display: flex;
    gap: 35px;
}

.top-nav .right a {
    text-decoration: none;
    color: #000;
    font-size: 14px;
    font-weight: 500;
}

.top-nav .right a:hover {
    opacity: 0.7;
}

.üçüncü-alan {
    border-bottom: 1px solid #D9D9D9;
}




/* Sağ panel */
#rightPanel {
    position: fixed;
    top: 0;
    right: -400px; /* kapalıyken dışarda */
    width: 400px;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 15px rgba(0,0,0,0.2);
    transition: right 0.35s ease;
    z-index: 1001;
    display: flex;
    flex-direction: column;
}

/* Açık hali */
#rightPanel.active {
    right: 0;
}

/* Header */
.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
    font-weight: bold;
}

.panel-header button {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

/* İçerik */
.panel-content {
    padding: 15px;
    overflow-y: auto;
}

/* Overlay */
#panelOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 1000;
}

#panelOverlay.active {
    opacity: 1;
    visibility: visible;
}




/* Sağ panel */
.right-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: #fff;
    z-index: 1001;
    transition: right 0.3s ease;
    box-shadow: -4px 0 10px rgba(0,0,0,0.1);
}

/* Açık hali */
.right-drawer.active {
    right: 0;
}

/* Header */
.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

/* İçerik */
.drawer-content {
    padding: 15px;
}

/* Kapat butonu */
.drawer-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

/* Overlay */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 1000;
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}