/* Genel yapı */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f9f9f9; /* Bej/Krem arkaplan */
    color: #333333;
}

/* Menü overlay */
.menu-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
    z-index: 1040;
}

/* Side menu */
.side-menu {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1050;
    background-color: #0f0f0f;
    width: 100%;
    max-width: 320px;
}

.side-menu.open {
    transform: translateX(0);
}

.side-menu a {
    color: #fff;
    font-size: 1.2rem;
    padding: 1rem 1.5rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.side-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.menu-icon {
    width: 28px;
    height: 28px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
}

/* Kategori kartı */
.category-card {
    position: relative;
    height: 100px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 5px;
    margin-right: 15px;
    margin-left: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 60%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.category-name {
    position: relative;
    z-index: 2;
}

/* Ürün kartı */
.product-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 5px;
    padding: 12px;
    height: 120px;
    display: flex;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Sol taraf resim */
.product-image {
    background-color: #f0f0f0;
    overflow: hidden;
    border-radius: 6px;
    width: 140px;
    height: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    height: 100%;
    width: auto;
    object-fit: cover;
}

/* Sağ taraf içerik */
.product-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-left: 16px;
    flex-grow: 1;
}

.product-title {
    font-weight: 600;
    font-size: 1rem;
    color: #222;
    margin-bottom: 4px;
}

.product-description {
    font-size: 0.55rem;
    color: #666;
    margin-bottom: 0;
}

/* Fiyat ve etiket */
.product-title-price {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.product-price {
    font-weight: 600;
    color: #000000;
    white-space: nowrap;
    font-size: 1rem;
}

.product-tags {
    font-size: 0.55rem;
    color: #000000;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Alt kategori açılır alan */
.subcategory-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.subcategory-container.open {
    max-height: 5000px;
}

/* Header */
.header {
    background-color: #000000;
}

#sideMenu {
    overflow-y: scroll;
    scrollbar-width: none;       /* Firefox */
    -ms-overflow-style: none;    /* Internet Explorer ve Edge */
}

#sideMenu::-webkit-scrollbar {
    display: none;               /* Chrome, Safari */
}

.menu-icon img {
    filter: brightness(0) invert(1); /* Beyaza çevirir */
}
.menu-icon img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    filter: brightness(0) invert(1); /* Beyaz yapma özelliği korunur */
    display: block;
}
