/* Mevcut stilleriniz korunmuş, admin için eklemeler yapıldı */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: #E8E6E3; /* Mobil için */
    color: #1A1A1A;
    line-height: 1.7;
    font-size: 14px;
}

@media (min-width: 768px) {
    body {
        background: #2C2C2C; /* Masaüstü için koyu antrasit */
    }
}

.mobile-wrapper {
    max-width: 375px;
    margin: 0 auto;
    padding: 60px 0 0 0;
    background: #E8E6E3; /* Mobil arka plan */
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 5px;
    margin-bottom: 10px;
}

.logo-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
    max-width: 100%;
}

.menu {
    max-width: 100%;
    margin: 20px auto;
    padding: 15px;
}

.menu h2 {
    text-align: center;
    color: #2D2D2D;
    margin-bottom: 20px;
    font-size: 1.8em;
    font-weight: 300;
    letter-spacing: 1px;
}

.categories {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tab-link {
    text-decoration: none;
    background: #F4F2EF;
    color: #1F1F1F;
    padding: 8px 15px;
    margin: 5px;
    font-size: 0.9em;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    min-height: 40px;
    display: flex;
    align-items: center;
    opacity: 0.8;
}

.tab-link:hover {
    background: #4A4A4A;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    opacity: 1;
}

.category {
    margin-bottom: 40px;
    padding-top: 20px;
}

.category h3 {
    color: #2D2D2D;
    font-size: 1.5em;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 400;
    border-bottom: 2px solid #6B6B6B;
    padding-bottom: 10px;
}

.product-item {
    display: flex !important; /* Zorla flex row */
    justify-content: space-between !important; /* Ad sola, fiyat sağa */
    align-items: center !important; /* Fiyat dikey ortala */
    padding: 0 !important; /* Padding sıfır */
    background: none !important; /* Arka plan yok */
    border: none !important; /* Border yok */
    box-shadow: none !important; /* Gölge yok */
    border-radius: 0 !important; /* Yuvarlak köşe yok */
    margin-bottom: 0 !important; /* Margin yok */
    width: 100% !important; /* Tam genişlik */
}

.product-item .product-info {
    display: flex !important;
    flex-direction: column !important; /* Ad ve açıklama dikey */
    align-items: flex-start !important; /* Sola yaslı */
    flex: 1 !important;
}

.product-item h4 {
    margin: 0 0 3px 0 !important; /* Hafif alt boşluk */
    color: #2B2B2B !important;
    font-size: 1em !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
}

.product-item p {
    margin: 0 !important; /* Boşluk yok */
    line-height: 1.5 !important;
    font-size: 0.85em !important;
    color: #6B6B6B !important;
    font-weight: 300 !important;
}

.price {
    font-weight: 600 !important;
    color: #2B2B2B !important;
    font-size: 1em !important;
    white-space: nowrap !important;
    text-align: right !important; /* Sağ yaslı */
    align-self: center !important; /* Dikey ortala */
}

.product-separator {
    border: none !important;
    border-top: 1px solid #6B6B6B !important;
    margin: 13px 0 !important;
    width: 100% !important;
}

footer {
    background: #2B2B2B;
    color: #E8E6E3;
    padding: 30px 10px;
    margin-top: 20px;
    min-height: 100px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
}

.footer-section {
    width: 100%;
    margin: 15px 0;
    text-align: center;
}

.footer-section p {
    margin: 3px 0;
    font-size: 0.9em;
}

.footer-section i {
    margin-right: 8px;
    color: #E8E6E3;
}

.footer-link {
    color: #E8E6E3;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #6B6B6B;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #6B6B6B;
    padding-top: 15px;
    margin-top: 15px;
    font-size: 0.8em;
}

/* Admin Paneli Stilleri - Güzel ve Modern Kafe Temalı (Masaüstü Odaklı) */
.admin-wrapper {
    max-width: 1200px;
    margin: 30px auto;
    padding: 40px;
    background: linear-gradient(135deg, #F4F2EF 0%, #E8E6E3 50%, #D4CFC8 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(74, 44, 42, 0.3);
    font-family: 'Roboto', sans-serif;
    border: 2px solid #4A2C2A;
}

.admin-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 3px solid #4A2C2A;
    background: linear-gradient(90deg, #4A2C2A 0%, #6B4A3A 100%);
    border-radius: 15px;
    padding: 20px;
    color: #F4F2EF;
}

.admin-header h1 {
    color: #F4F2EF;
    font-size: 3em;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 2px;
}

.admin-header .btn {
    background: linear-gradient(135deg, #D9534F 0%, #C9302C 100%);
    color: #FFFFFF;
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
    box-shadow: 0 4px 10px rgba(217, 83, 79, 0.3);
}

.admin-header .btn:hover {
    background: linear-gradient(135deg, #C9302C 0%, #A94442 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(217, 83, 79, 0.5);
}

.admin-section {
    background: linear-gradient(135deg, #FFFFFF 0%, #F9F7F4 100%);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    transition: all 0.4s ease;
    border: 1px solid #E8E6E3;
}

.admin-section:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(74, 44, 42, 0.4);
}

.admin-section h3 {
    color: #4A2C2A;
    font-size: 2em;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
    border-bottom: 2px solid #4A2C2A;
    padding-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-section h3::before {
    content: "☕ ";
    font-size: 1.3em;
    color: #6B4A3A;
}

.form-group {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #4A2C2A;
    font-weight: 600;
    font-size: 1.1em;
    text-transform: capitalize;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #E8E6E3;
    border-radius: 10px;
    font-size: 1em;
    background: linear-gradient(135deg, #F9F7F4 0%, #E8E6E3 100%);
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: #4A2C2A;
    box-shadow: 0 0 10px rgba(74, 44, 42, 0.5), inset 0 2px 4px rgba(0,0,0,0.1);
    outline: none;
    background: #FFFFFF;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn {
    background: linear-gradient(135deg, #4A2C2A 0%, #6B4A3A 100%);
    color: #F4F2EF;
    padding: 15px 35px;
    border: none;
    border-radius: 30px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    display: inline-block;
    text-align: center;
    box-shadow: 0 4px 10px rgba(74, 44, 42, 0.3);
}

.btn:hover {
    background: linear-gradient(135deg, #6B4A3A 0%, #8B5A4A 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(74, 44, 42, 0.5);
}

.btn:active {
    transform: translateY(0);
}

#categories-list, #products-list {
    margin-top: 25px;
}

.category-item, .product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #F9F7F4 0%, #E8E6E3 100%);
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #D4CFC8;
}

.category-item:hover, .product-item:hover {
    background: linear-gradient(135deg, #E8E6E3 0%, #D4CFC8 100%);
    transform: translateX(5px);
    box-shadow: 0 6px 15px rgba(74, 44, 42, 0.2);
}

.category-item span, .product-item span {
    flex: 1;
    color: #4A2C2A;
    font-weight: 500;
    font-size: 1.1em;
}

.category-item button, .product-item button {
    margin-left: 15px;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.edit-btn, .edit-product-btn {
    background: linear-gradient(135deg, #6B6B6B 0%, #8B8B8B 100%);
    color: #F4F2EF;
}

.edit-btn:hover, .edit-product-btn:hover {
    background: linear-gradient(135deg, #8B8B8B 0%, #A0A0A0 100%);
    transform: scale(1.1);
}

.delete-btn, .delete-product-btn {
    background: linear-gradient(135deg, #D9534F 0%, #C9302C 100%);
    color: #FFFFFF;
}

.delete-btn:hover, .delete-product-btn:hover {
    background: linear-gradient(135deg, #C9302C 0%, #A94442 100%);
    transform: scale(1.1);
}

#products-list h4 {
    color: #4A2C2A;
    font-size: 1.6em;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#products-list h4::before {
    content: "🍰 ";
    font-size: 1.2em;
    color: #6B4A3A;
}