/* =====================================================
   KATEGORİ OVERLAY
===================================================== */

.categories-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.18);
    z-index: 9999;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.categories-overlay.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.3s ease, visibility 0s linear 0s;
}

/* Panelin ekranda duracağı alan */
.categories-panel-wrapper {
    width: 100%;
    padding-top: 110px;
    padding-left: 0;
    display: flex;
    justify-content: center;
}

/* Panel kutusu */
.categories-panel {
    width: 1110px;
    max-width: calc(100vw - 48px);
    min-height: 420px;
    background-color: #fff;
    border-radius: 22px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    display: flex;
}

/* Açılınca animasyon çalışsın */
.categories-overlay.show .categories-panel {
    animation: panelOpen 0.32s ease forwards;
}

@keyframes panelOpen {
    from {
        opacity: 0;
        transform: translateY(-16px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* SOL MENÜ */
.categories-left {
    width: 220px;
    background-color: #fafafa;
    border-right: 1px solid #ececec;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-main {
    width: 100%;
    border: none;
    background: transparent;
    text-align: left;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 16px;
    color: #222;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.category-main:hover {
    background-color: #f0f0f0;
}

.category-main.active {
    background-color: #ededed;
    font-weight: bold;
}

/* SAĞ TARAF */
.categories-right {
    flex: 1;
    padding: 28px 24px;
    background: #fff;
}

.category-content {
    display: none;
    gap: 80px;
    align-items: flex-start;
}

.category-content.active {
    display: flex;
}

.category-column {
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-column h3 {
    font-size: 18px;
    margin-bottom: 6px;
    color: #111;
}

.category-column a {
    font-size: 16px;
    color: #333;
    text-decoration: none;
}

.category-column a:hover {
    text-decoration: underline;
}