/* Container */
.Extension2 {
    position: relative;
    width: 100%;
}

/* Genel link ayarları */
.Extension2 a {
    text-decoration: none;
    color: #000;
    outline: none;
}

/* Menü ve liste stilleri */
.Extension2 ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Menü elemanları */
.Extension2 li {
    position: relative;
}

/* Link stili ve hover */
.Extension2 li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    color: #000;
    font-weight: 400;
    transition: background-color 0.2s, color 0.2s;
}

.Extension2 li a:hover {
    /* background-color: #000; */
    color: #f87901;
}

/* Submenu stilleri */
.Extension2 .sub-menu {
    max-height: 0;
    overflow: hidden;
    padding-left: 20px;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

/* Açık submenu */
.Extension2 .sub-menu.open {
    max-height: 1000px; /* yeterli büyük değer */
    opacity: 1;
}

/* Çocuk linkleri için ok */
.Extension2 .item-has-children > a::after {
    content: "";
    display: block;
    width: 8px;
    height: 11px;
    transform: rotate(0deg);
    transition: transform 0.2s, background-color 0.2s;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="8" height="11"><path fill="currentColor" d="M8 5.5L1.9 11 .1 9.4l4.3-3.8L.1 1.8 2 .1l6 5.4"/></svg>') no-repeat center;
    -webkit-mask-size: contain;
    background-color: #000;
    flex-shrink: 0;
}

/* Açık submenu ok */
.Extension2 .item-has-children > a.submenu-open::after {
    transform: rotate(90deg);
    background-color: #f87901;
}

/* Aktif link */
.Extension2 a.active {
    color: #f87901;
    font-weight: 600;
    /* background-color: #000; */
}

/* Aktif parent link */
.Extension2 a.active-parent {
    color: #f87901;
    font-weight: 600;
}

/* Responsive için basit çözüm */
@media (max-width: 768px) {
    .Extension2 li a {
        padding: 10px 15px;
    }
    .Extension2 .sub-menu {
        padding-left: 15px;
    }
}
